Quote:
|
Originally Posted by Ian W.
In user_routines_fast.c, Navigate() is called from Process_Data_From_Local_IO. Navigate however, needs to output it's data somewhere, and from my understanding, you need to excute putdata(&txdata) to output data, but I can't find a putdata(&txdata) after Navigate() is called.
|
The pwmxx variables are global, so they'll be updated the next time putdata() is called in user_routines.c/Process_Data_From_Master_uP().
Quote:
|
Originally Posted by Ian W.
So, does this mean I'm blind and unable to see lines of code, or that it's just not put in the right place?
|
Navigate() will need to be called from User_Autonomous_Code() instead of Process_Data_From_Local_IO() if you want to use it during autonomous period. It was placed where it is now so that we could start the demo by pulling the trigger on the joystick.
-Kevin