Quote:
|
Originally Posted by Robert Flanagan
This is a theory but should work. Go into main.c. You should see something like this.
if(autonomous_mode)
{
User_Autonomous_Code;
}
It seems that if u delete this if statement to just read out
User_Autonomous_Code;
It should just run Autonomous entirely.
|
This I do know...
Your program won't run at all at first without an OI--that loop doesn't even execute when you power on the RC with no OI--and no outputs are generated even after an OI is connected and then disconnected, even though this loop is running. Follow the instructions of the person who posted earlier on making the RC run without an OI to make it run all the time, and Robert's modification will make the RC run whatever is in your User_Autonomous_Code function.
JBot
EDIT: Just out of curiosity, how did you learn how to do these calculations--the life of the battery? I really don't know any of this. I don't imagine it's that hard, but I just never learned it and I recognize this is some of the stuff I should know being that I'm dealing with electrical this coming season.
Thanks