Log in

View Full Version : "waiting for bump switch to be hit"????


Punjabguy87
12-02-2005, 17:25
I am not very good at programming anything, just like everyone else on my team, I have slightly modified the orginal 2005 FRC Code they gave us and when download it to the RC a window pops up on the computer that says "waiting for bump switch to be hit", what is that??

Iain McLeod
12-02-2005, 17:52
At kickoff when the code/robot was demonstrated, Dave told the demo robot to start by kicking a touch sensor of the front of the demo robot. Just remove that code.

Punjabguy87
12-02-2005, 18:10
HAHA thanks, now i just need to find it.

Ryan M.
13-02-2005, 07:57
It'll be in an array in the file commands.h. (I think that's what it's called. We're not using it, so... :D)

caderader
14-02-2005, 18:19
I am having this same problem. I have used the find button to find all instances of it and i have commented those out but i still get the same error. Please help

Tristan Lall
14-02-2005, 18:28
I am having this same problem. I have used the find button to find all instances of it and i have commented those out but i still get the same error. Please helpHave you properly recompiled in MPLAB (Ctrl+F10 should work, if I remember correctly) and reloaded the code with IFI Loader?

caderader
14-02-2005, 18:29
Yes still no change.

Matt Krass
14-02-2005, 18:39
Yes still no change.

No offense to your intelligence intended here, as me and my coprogrammer have made the same mistake...

Are you downloading the recompiled hexfile? There's one provided in each example from kevin, and then one MPLAB makes with a similar name, make sure you're using the right one, we lost two hours trying to figure out why none of our changes would take O_o.

Pixel Monster
15-02-2005, 13:20
Where can I download this code? I've been struggling with the camera for about a week now and I havn't seen where the code from Dave's demonstration at the kick off is located.

Joe Ross
19-02-2005, 11:35
Where can I download this code? I've been struggling with the camera for about a week now and I havn't seen where the code from Dave's demonstration at the kick off is located.

http://kevin.org/frc/

Matt_Kitts
19-02-2005, 12:18
My question doesnt really go with this but can anyone help a first time programmer and tell me how you would program the buttons on the joy sticks?