Could give someone me please a hand
I use the tools/CAN CANsimple python library. It is very nice thx to towen
But for some reason it does not update the error code
It shows no error even there is an error
Maybe someone can help me
Make sure you check the errors individually i.e. axis.error is different from encoder.error or motor.error
Which error does the odrivetool show?
thx , you are right
For some reason i thought if there is any error also the axis will go to error state
Hi everyone ı cant setup can0 or slcan0 on my computer how you can do that, also ı cant send rtr message for get vbat but ı can send velocity to motor
Hi,
I tested my odrive using odrivetool, I’m able to get information from motors(also voltage) and also I’m able to control motors. I wanted to control my odrive using CANBUS. I followed the instructions in this thread, I’m able to send torque, position, velocity control commands to my odrive and those commands also work, motors are rotating as expected. However I’m not able to retrieve any information from odrive using CANBUS.
In one terminal I’m running candump can0
to see the whole flow(my can interface’s name is can0).
In the other terminal I type cansend can0 02d#00.00.00.44.57.00.00.00
and that command sets a velocity for the odrive which has can_node_id = 1 and motor turns as expected.I have calculated the command in the python as the following → hex(1<<5|0x0d). I’m able to see the velocity command in the first terminal(can dump). Here is my problem, I want to get the voltage from odrive so I calculate the id like this → hex(1<<5|0x017) = 0x37. In the document it says RTR bits should be set so I also set them in the command which is cansend can0 037#R
. I enter the command in the command line at the same time I’m checking the dump in the other terminal however I’m not able to see any messages after my command(it is denoted as remote transmission request in the dump flow). Can you please tell me what am I doing wrong?
Thanks in advance
yes ı have a same problem please help me