I purchased the ODrive v3.3 with accompanying N5065 270kv motor and rotary encoder.
I am attempting to deliver it usb velocity setpoint commands through a linux terminal I have set up in a Ubuntu VirtualBox VM. My host computer runs on Windows 7.
I am able to connect to the ODrive using usb. When I run the test_bulk.py script I do get the “ODrive BulkDevice Found!” response and the “Enter ODrive command:” prompt.
However, when I deliver it commands such as “v 0 1000 0”, there is no response from the motor. I have also tried “s 0 4 1000”, which also yields no response from the motor.
I have configured the parameters such as CPR and Pole Pairs in the low_level.c script. I have also changed the .control_mode to CTRL_MODE_VELOCITY_CONTROL. Besides that I have left the low_level.c script unchanged. Additionally, I have flashed the firmware to the ODrive succesfully.
Is there something obvious I am missing here? Should I be flashing the firmware after each time I send it a command such as “v 0 1000 0”? My impression was that I could send it a command like that or " s 0 4 1000" and see a response from the motor in real time. My intent is to deliver it a speed command that results in the motor spinning at the desired counts/s.
Please let me know any solutions