How to used ROS_CANopen?
Hi. I am quite new to ROS . I want to use ros_canopen package to communicate with the robot in my lab, i.e. build a ros controller for it. However , I cant find a more detail tutorial to use it than the general intro on wiki.org .
HardWare and resources:
- A USB-to-CAN compact is used to communicate between my laptop and the robot . This USB-to-CAN provids a Linux driver called ECI and an EDS file for configuring CANopen devices.
- The robot uses Maxon motors and Copley driver boards(Accelnet Micro Module). Copley provides a Copley Motion Lib(CML).
ros_canopen seems only support socketcan![](http://wiki.ros.org/ros_canopen?
How can I set up my laptop to communicate with CAN bus. I use Ubuntu 14.04 with Indigo installed.
Many thanks.
As JuliusGel pointed out, try to install the ixxat socketcan driver: http://www.ixxat.com/support/file-and... (see the README!). The ros wiki pages on socketcan_interface and canopen_motor_node give some additional hints. Feel free to add what's missing.
Thank you for the repaid replies. The ixxat socketcan driver works. Thx again !
So i'm trying to configure canopen_motor_node. Here I found a repo using ros_canopen [ https://github.com/jlarraez/schunk_lw... ] . I'm trying to write a launch file to start canopen_motor
with a can.yaml and a node.yaml. However it threw out a canopen::ParseException. Are there other projects that use ros_canopen? Maybe I could borrow some of their codes to launch canopen_motor.
Thank you very much.
Hi. I'm in the same situation with you. I use the same hardware and have no idea what to do next. Can we communicate by e-mail? I think that is more efficient and will save lots of time. My e-mail address is xiangpeng@buaa.edu.cn . Look forward to your letter.
Hi @Will... just wanted to let you know that I moved your answer to be a comment. Answers are specifically reserved for answers. Best of luck getting your situation resolved!
The Care-O-bot 4 uses ros_canopen for 27 motors (
cob_hardware_config
). Some examples can be found in https://github.com/ipa320/canopen_tes... Andschunk_robots
works as well.The
ParseException
is triggered from errors in the EDS (or bugs in the parser).