|
Re: Autonomous
So, I had an opportunity to work with the practice bot this afternoon, and after taking what I learned here I tried to figure out the problem. Knowing that the light didn't matter I used the code we wrote and deployed it from the development machine and attempted to run while tethered so we could monitor some the code for debugging.. and it worked as expected.
I thought the problem was solved, until we tried it again... and nothing.. the Autonomous program appeared to execute, but a probe on the enum of the state machine read not initiated.
Not sure why it worked the first time, and not the second, I shut everything down and tried again. It did the same thing; worked the first time, but not the second.
I then decided to try building the code, and deploy to run as a start-up item, and it works every time without fail.
Any ideas?
|