real-stanford/arx5-sdk

about can setup

Closed this issue · 4 comments

hello yihuai,

After connecting the arx arm with my laptop. i follow your CAN setups to find out the correct firmware type. I firstly run ls /dev/ttyACM*, the terminal outputs: "Unknown device "/dev/ttyACM*": No such file or directory", then i try the second option and run ip a and there is no can* interface. All the two options fail, what is the reason? I'm sure the connection is ok.

thank you very much!
20240815-171057

Hi jkzhao01, could you list all the /dev/ files and find whether there are any changes after plugging the adatper (should be ttyACM0,1,2 etc)? You can also take a picture of your CAN adapter and let me check whether there are any connection problems. In the worst case, you can order several other USB-CAN adapters and try them one by one. It is possible that some adapters are just broken (see other issues).

Additionally, I'll release the EtherCAT-CAN interface soon. You can have a try afterwards.

EtherCAT-CAN interface is ready

hi yihuai, thank you for your quick reply! below is my hardware connection, so based on my connection and your updated readme, i should chose to the EtherCAT-CAN interface setup? not the USB-CAN interface, right? According to your latest EtherCAT-CAN setup, I run test scripts python examples/test_joint_control.py X5 enx207bd2ee2ba9but get the new error showing the in the picture.
20240816-113129
20240816-113708
20240816-113759

hi yihuai, the problem has been fixed. I pull the updated codes to local and rebuild it, then the arx robot moves. Thank you!