ERROR about the initialization of the ARX-X5 motors
Closed this issue · 11 comments
Question Description
python examples/test_joint_control.py X5 can0
Running the above code results the following error:
All motors are not initialized. Please check the connection or power of the arm.
Error: The initialization function of the Arx5JointController class in src/app/joint_controller.cpp
reports the above error when calling _init_robot().
Wish to get your help. Thanks a lot!
Hi Bohao. This is usually because your robot arm is not properly connected. Please check the CAN bus setup process in README.md and attach a screenshot of your network interfaces (using ip a
) to this issue.
If the setup procedure is done correctly, you will find a can0
interface that is connected to the arm.
Thanks for your information. Have you run the following code every time you plug in the CAN adapter?
sudo udevadm trigger
sudo slcand -o -f -s8 /dev/arxcan0 can0 && sudo ifconfig can0 up
Thanks for your reminding. I run the code every time I plug in the CAN adapter but still failed.
Hmmm this is weird. Maybe try to use a candlelight usb-can adapter?
or check the can bus wire (try swapping the + and - data wire)
or check the can bus wire (try swapping the + and - data wire)
hahaha,already tried that,but still thanks!
Hmmm this is weird. Maybe try to use a candlelight usb-can adapter?
Yeah, I'll try it! Thanks!
Is the candlelight framework working? Btw, I'm writing code for the original EtherCAT-CAN adapter. If you have time you can contact me via yihuai@stanford.edu and we can have a chat.
Is the candlelight framework working? Btw, I'm writing code for the original EtherCAT-CAN adapter. If you have time you can contact me via yihuai@stanford.edu and we can have a chat.
Thanks very much! I just got a candleligtht framework and tried it successfully!!! So nice of you!!