ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It should be more or less straightforward:
required_drive_mode
to each motion controller, it takes the number of the mode to be used (http://wiki.ros.org/canopen_402#Drive_operation_modes) The EDS file parser is not really bullet proof (and EDS file format is rather flexibel) and might fail with some error indication.
In addition ros_canopen
enforces strict typing, some EDS files list non-standard types for some objects (e.g. signed instead of unsigned). This must be fixed as well in the EDS.
A basic driver config looks like:
bus:
device: can0
sync:
interval_ms: 10 # 100Hz
overflow: 0
defaults:
eds_pkg: my_package
eds_file: "config/MyDescription.dcf" # the parser reads EDS and DCF
nodes:
my_joint:
id: 1
controller config example: https://github.com/ipa320/canopen_test_utils/blob/indigo-devel/config/rig1_controller.yaml Fairly complex examples: https://github.com/ipa320/schunk_robots/
It would be great if you could turn this into a tutorial on ROS Wiki based on your experiences :)
2 | No.2 Revision |
It should be more or less straightforward:
required_drive_mode
to each motion controller, it takes the number of the mode to be used (http://wiki.ros.org/canopen_402#Drive_operation_modes) The EDS file parser is not really bullet proof (and EDS file format is rather flexibel) and might fail with some error indication.
In addition ros_canopen
enforces strict typing, some EDS files list non-standard types for some objects (e.g. signed instead of unsigned). This must be fixed as well in the EDS.
A basic driver config looks like:
bus:
device: can0
sync:
interval_ms: 10 # 100Hz
overflow: 0
defaults:
eds_pkg: my_package
eds_file: "config/MyDescription.dcf" # the parser reads EDS and DCF
nodes:
my_joint:
id: 1
controller config example: https://github.com/ipa320/canopen_test_utils/blob/indigo-devel/config/rig1_controller.yaml
https://github.com/ipa320/canopen_test_utils/blob/indigo-devel/config/rig1_controller.yaml
Fairly complex examples: https://github.com/ipa320/schunk_robots/
It would be great if you could turn this into a tutorial on ROS Wiki based on your experiences :)