I was trying to make a two-wheeled platform so I basically followed this tutorial:
only changing some parameters. I’ve got both motors running nice.
Problem is that if I run:
odrv0.axis0.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL
odrv0.axis1.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL
I’m unable to operate axis1 until I reboot and run the command for axis1 only. I’m unable to operate both at the same time and can’t find the solution. Any ideas? If I tried to config both axis state in startup procedure I also get only first axis to operate.
I’m using odrivetool in Anaconda Powershell Promt under windows 8. I have no errors in the console. Simply it does not respond to the second command but it’s still operational. For example I can change the target velocity and it’s responding correctly.
I’m using board 3.4 with preflashed software version 0.3.7 if I remember correctly.