Beginners: please read this post and this post before posting to the forum.
0 Members and 1 Guest are viewing this topic.
The software only has one servo for head rotation, but my robot has both pan and tilt.
When I try to copy the code in the file and make new variables for a tilt head servo the program seems to go mental. It stops responding to hyperterminal and eventually it causes the MCU status light to flash, which I think means its resetting.
it almost feels like the MCU is running out of variables...
Another question about the Engine, why do the leg servos lock when I turn the MCU on but not the arms?
I'm at a loss. Anything I do in any file seems to break the code! It just gets stuck in the reset loop.
I'd really like to say this is a low battery problem . . .
Start back with the basic unmodified Axon code. See if that still works. Better yet, just upload one of the test .hex files.
How many servos is your customer running? Is he running the same biped shown in the tutorial of the Biped Engine?
If anyone gets around to loading up the code I posted earlier on their Axon please let me know. I would love to find out if its a problem with my hardware or a software problem.
// initialize the timer system (comment out ones you don't want) init_timer0(TIMER_CLK_1024); init_timer1(TIMER_CLK_64); init_timer2(TIMER2_CLK_64); init_timer3(TIMER_CLK_64); init_timer4(TIMER_CLK_64);