Quote:
|
Originally Posted by tml240
according to our sources, the user_routines_fast.c would not work for autonomous testing, because we do not have signal from FIRST competition arena to activate the Autonomous part in the user_routines_fast.C. anyone knows how fix the code to test it in user_routines_fast.c?
|
Several methods:
1) Build a competition port dongle as noted above
2) Assign a joystick button or a robot switch to start autonomous, e.g.,
Code:
in main.c after Getdata()
autonomous_mode = !p1_sw_trig;
With a joystick trigger holding the button could keep it in autonomous and releasing it could immediately stop auto. You'll need a way to stop quickly.
3) Hardcode a call to your autonomous routine and pull the OI power to emergency stop.