No version for distro humble showing melodic. Known supported distros are highlighted in the buttons above.

Package Summary

Version 0.8.5
License LGPLv3
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros-industrial/ros_canopen.git
VCS Type git
VCS Version melodic-devel
Last Updated 2026-11-18
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Base implementation for CANopen chains node with support for management services and diagnostics

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Mathias Lüdtke

Overview

This packages contains the ROS interface for socketcan_interface and canopen_master. It can be used as a stand-alone ROS node, but as well as a base class for profile specific ROS interfaces, e.g. canopen_motor_node.

It manages a CANopen bus with one or more nodes, which are configures with CANopen EDS/DCF files. The ROS node runs a control loop with CANopen SYNC interval (or with an alternative update interval if the SYNC protocol is not used).

Configuration

The configuration can be split into different parts. First the bus has to be set-up, these settings are shared for all node. Then all must be configured with their CANopen and ROS interfaces. All parameters must be loaded into the nodes private namespace

CANopen Bus layer

The bus settings consists of a CAN interface (socketcan_interface) and the shared bus settings for canopen_master.

bus:
  device: can0 # socketcan network
  # loopback: false # socket should loop back messages
  # driver_plugin: can::SocketCANInterface
  # master_allocator: canopen::SimpleMaster::Allocator
sync:
  interval_ms: 10 # set to 0 to disable sync
  # update_ms: <interval_ms> #update interval of control loop, must be set explecitly if sync is disabled
  overflow: 0 # overflow sync counter at value or do not set it (0, default)
heartbeat: # simple heartbeat producer, optional!
  rate: 20 # heartbeat rate
  msg: "77f#05" # message to send, cansend format: heartbeat of node 127 with status 5=Started

Node layer

All nodes are listed in the nodes parameter, either as list or a struct, and require a node ID, a name and the path to the EDS/DCF file.

# struct syntax
nodes:
  node1:
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.dcf" # path to EDS/DCF file
  node2:
    id: 85
    name: other_mode # optional name
    eds_file: "/path/to/my_config.eds" # absolute name

# list syntax
nodes:
  - name: node1
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.eds" # path to EDS/DCF file
  - name: node2
    id: 85
    eds_file: "/path/to/my_config.dcf" # absolute name

Additional parameters can set either for each node or in a defaults section:

defaults: # optional, all defaults can be overwritten per node
  eds_pkg: my_config_package # optional package  name for relative path
  eds_file: "my_config.dcf" # path to EDS/DCF file
  dcf_overlay: # "ObjectID": "ParameterValue" (both as strings)
    "1016sub1" : "0x7F0064" # heartbeat timeout of 100 ms for master at 127
    "1017": "100" # heartbeat producer

The dcf_overlay can be used to overwrite specific settings in the EDS/DCF.

ROS layer

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package canopen_chain_node

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • pass settings from ROS node to SocketCANInterface
  • Contributors: Mathias Lüdtke

0.8.3 (2020-05-07)

  • Bump CMake version to avoid CMP0048 warning Signed-off-by: ahcorde <<ahcorde@gmail.com>>
  • Contributors: ahcorde

0.8.2 (2019-11-04)

  • rename to logWarning to fix build on Debian stretch
  • log the result of all services in RosChain
  • enable rosconsole_bridge bindings
  • switch to new logging macros
  • Contributors: Mathias Lüdtke

0.8.1 (2019-07-14)

  • Set C++ standard to c++14
  • implemented create*ListenerM helpers
  • Replacing FastDelegate with std::function and std::bind.
  • Contributors: Alexander Gutenkunst, Harsh Deshpande, Joshua Whitley, Mathias Lüdtke

0.8.0 (2018-07-11)

  • migrated to std::function and std::bind
  • make sync_node return proper error codes
  • refactored PublishFunc
  • migrated to std::atomic
  • migrated to std pointers
  • removed deprecated types
  • Contributors: Mathias Lüdtke

0.7.8 (2018-05-04)

  • Revert "pull make_shared into namespaces" This reverts commit 9b2cd05df76d223647ca81917d289ca6330cdee6.
  • Contributors: Mathias Lüdtke

0.7.7 (2018-05-04)

  • added types for all function objects
  • pull make_shared into namespaces
  • added types for all shared_ptrs
  • migrate to new classloader headers
  • address catkin_lint errors/warnings
  • removed IPC/SHM based sync masters
  • Contributors: Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

  • added reset_errors_before_recover option
  • Contributors: Mathias Lüdtke

0.7.4 (2017-04-25)

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • refactored EMCY handling into separate layer
  • do not reset thread for recover
  • properly stop run thread if init failed
  • deprecation warning for SHM-based master implementations
  • implemented canopen_sync_node
  • wait only if sync is disabled
  • added object access services
  • implement level-based object logging
  • added node name lookup
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • protect MotorChain setup with RosChain lock
  • added include to <boost/scoped_ptr.hpp>; solving #177
  • default to canopen::SimpleMaster::Allocator (#71)
  • exit code for generic error should be 1, not -1
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • moved roslib include into source file

File truncated at 100 lines see the full file

Launch files

Messages

No message files found.

Plugins

No plugins found.

Recent questions tagged canopen_chain_node at Robotics Stack Exchange

No version for distro jazzy showing melodic. Known supported distros are highlighted in the buttons above.

Package Summary

Version 0.8.5
License LGPLv3
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros-industrial/ros_canopen.git
VCS Type git
VCS Version melodic-devel
Last Updated 2026-11-18
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Base implementation for CANopen chains node with support for management services and diagnostics

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Mathias Lüdtke

Overview

This packages contains the ROS interface for socketcan_interface and canopen_master. It can be used as a stand-alone ROS node, but as well as a base class for profile specific ROS interfaces, e.g. canopen_motor_node.

It manages a CANopen bus with one or more nodes, which are configures with CANopen EDS/DCF files. The ROS node runs a control loop with CANopen SYNC interval (or with an alternative update interval if the SYNC protocol is not used).

Configuration

The configuration can be split into different parts. First the bus has to be set-up, these settings are shared for all node. Then all must be configured with their CANopen and ROS interfaces. All parameters must be loaded into the nodes private namespace

CANopen Bus layer

The bus settings consists of a CAN interface (socketcan_interface) and the shared bus settings for canopen_master.

bus:
  device: can0 # socketcan network
  # loopback: false # socket should loop back messages
  # driver_plugin: can::SocketCANInterface
  # master_allocator: canopen::SimpleMaster::Allocator
sync:
  interval_ms: 10 # set to 0 to disable sync
  # update_ms: <interval_ms> #update interval of control loop, must be set explecitly if sync is disabled
  overflow: 0 # overflow sync counter at value or do not set it (0, default)
heartbeat: # simple heartbeat producer, optional!
  rate: 20 # heartbeat rate
  msg: "77f#05" # message to send, cansend format: heartbeat of node 127 with status 5=Started

Node layer

All nodes are listed in the nodes parameter, either as list or a struct, and require a node ID, a name and the path to the EDS/DCF file.

# struct syntax
nodes:
  node1:
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.dcf" # path to EDS/DCF file
  node2:
    id: 85
    name: other_mode # optional name
    eds_file: "/path/to/my_config.eds" # absolute name

# list syntax
nodes:
  - name: node1
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.eds" # path to EDS/DCF file
  - name: node2
    id: 85
    eds_file: "/path/to/my_config.dcf" # absolute name

Additional parameters can set either for each node or in a defaults section:

defaults: # optional, all defaults can be overwritten per node
  eds_pkg: my_config_package # optional package  name for relative path
  eds_file: "my_config.dcf" # path to EDS/DCF file
  dcf_overlay: # "ObjectID": "ParameterValue" (both as strings)
    "1016sub1" : "0x7F0064" # heartbeat timeout of 100 ms for master at 127
    "1017": "100" # heartbeat producer

The dcf_overlay can be used to overwrite specific settings in the EDS/DCF.

ROS layer

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package canopen_chain_node

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • pass settings from ROS node to SocketCANInterface
  • Contributors: Mathias Lüdtke

0.8.3 (2020-05-07)

  • Bump CMake version to avoid CMP0048 warning Signed-off-by: ahcorde <<ahcorde@gmail.com>>
  • Contributors: ahcorde

0.8.2 (2019-11-04)

  • rename to logWarning to fix build on Debian stretch
  • log the result of all services in RosChain
  • enable rosconsole_bridge bindings
  • switch to new logging macros
  • Contributors: Mathias Lüdtke

0.8.1 (2019-07-14)

  • Set C++ standard to c++14
  • implemented create*ListenerM helpers
  • Replacing FastDelegate with std::function and std::bind.
  • Contributors: Alexander Gutenkunst, Harsh Deshpande, Joshua Whitley, Mathias Lüdtke

0.8.0 (2018-07-11)

  • migrated to std::function and std::bind
  • make sync_node return proper error codes
  • refactored PublishFunc
  • migrated to std::atomic
  • migrated to std pointers
  • removed deprecated types
  • Contributors: Mathias Lüdtke

0.7.8 (2018-05-04)

  • Revert "pull make_shared into namespaces" This reverts commit 9b2cd05df76d223647ca81917d289ca6330cdee6.
  • Contributors: Mathias Lüdtke

0.7.7 (2018-05-04)

  • added types for all function objects
  • pull make_shared into namespaces
  • added types for all shared_ptrs
  • migrate to new classloader headers
  • address catkin_lint errors/warnings
  • removed IPC/SHM based sync masters
  • Contributors: Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

  • added reset_errors_before_recover option
  • Contributors: Mathias Lüdtke

0.7.4 (2017-04-25)

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • refactored EMCY handling into separate layer
  • do not reset thread for recover
  • properly stop run thread if init failed
  • deprecation warning for SHM-based master implementations
  • implemented canopen_sync_node
  • wait only if sync is disabled
  • added object access services
  • implement level-based object logging
  • added node name lookup
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • protect MotorChain setup with RosChain lock
  • added include to <boost/scoped_ptr.hpp>; solving #177
  • default to canopen::SimpleMaster::Allocator (#71)
  • exit code for generic error should be 1, not -1
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • moved roslib include into source file

File truncated at 100 lines see the full file

Launch files

Messages

No message files found.

Plugins

No plugins found.

Recent questions tagged canopen_chain_node at Robotics Stack Exchange

No version for distro kilted showing melodic. Known supported distros are highlighted in the buttons above.

Package Summary

Version 0.8.5
License LGPLv3
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros-industrial/ros_canopen.git
VCS Type git
VCS Version melodic-devel
Last Updated 2026-11-18
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Base implementation for CANopen chains node with support for management services and diagnostics

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Mathias Lüdtke

Overview

This packages contains the ROS interface for socketcan_interface and canopen_master. It can be used as a stand-alone ROS node, but as well as a base class for profile specific ROS interfaces, e.g. canopen_motor_node.

It manages a CANopen bus with one or more nodes, which are configures with CANopen EDS/DCF files. The ROS node runs a control loop with CANopen SYNC interval (or with an alternative update interval if the SYNC protocol is not used).

Configuration

The configuration can be split into different parts. First the bus has to be set-up, these settings are shared for all node. Then all must be configured with their CANopen and ROS interfaces. All parameters must be loaded into the nodes private namespace

CANopen Bus layer

The bus settings consists of a CAN interface (socketcan_interface) and the shared bus settings for canopen_master.

bus:
  device: can0 # socketcan network
  # loopback: false # socket should loop back messages
  # driver_plugin: can::SocketCANInterface
  # master_allocator: canopen::SimpleMaster::Allocator
sync:
  interval_ms: 10 # set to 0 to disable sync
  # update_ms: <interval_ms> #update interval of control loop, must be set explecitly if sync is disabled
  overflow: 0 # overflow sync counter at value or do not set it (0, default)
heartbeat: # simple heartbeat producer, optional!
  rate: 20 # heartbeat rate
  msg: "77f#05" # message to send, cansend format: heartbeat of node 127 with status 5=Started

Node layer

All nodes are listed in the nodes parameter, either as list or a struct, and require a node ID, a name and the path to the EDS/DCF file.

# struct syntax
nodes:
  node1:
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.dcf" # path to EDS/DCF file
  node2:
    id: 85
    name: other_mode # optional name
    eds_file: "/path/to/my_config.eds" # absolute name

# list syntax
nodes:
  - name: node1
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.eds" # path to EDS/DCF file
  - name: node2
    id: 85
    eds_file: "/path/to/my_config.dcf" # absolute name

Additional parameters can set either for each node or in a defaults section:

defaults: # optional, all defaults can be overwritten per node
  eds_pkg: my_config_package # optional package  name for relative path
  eds_file: "my_config.dcf" # path to EDS/DCF file
  dcf_overlay: # "ObjectID": "ParameterValue" (both as strings)
    "1016sub1" : "0x7F0064" # heartbeat timeout of 100 ms for master at 127
    "1017": "100" # heartbeat producer

The dcf_overlay can be used to overwrite specific settings in the EDS/DCF.

ROS layer

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package canopen_chain_node

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • pass settings from ROS node to SocketCANInterface
  • Contributors: Mathias Lüdtke

0.8.3 (2020-05-07)

  • Bump CMake version to avoid CMP0048 warning Signed-off-by: ahcorde <<ahcorde@gmail.com>>
  • Contributors: ahcorde

0.8.2 (2019-11-04)

  • rename to logWarning to fix build on Debian stretch
  • log the result of all services in RosChain
  • enable rosconsole_bridge bindings
  • switch to new logging macros
  • Contributors: Mathias Lüdtke

0.8.1 (2019-07-14)

  • Set C++ standard to c++14
  • implemented create*ListenerM helpers
  • Replacing FastDelegate with std::function and std::bind.
  • Contributors: Alexander Gutenkunst, Harsh Deshpande, Joshua Whitley, Mathias Lüdtke

0.8.0 (2018-07-11)

  • migrated to std::function and std::bind
  • make sync_node return proper error codes
  • refactored PublishFunc
  • migrated to std::atomic
  • migrated to std pointers
  • removed deprecated types
  • Contributors: Mathias Lüdtke

0.7.8 (2018-05-04)

  • Revert "pull make_shared into namespaces" This reverts commit 9b2cd05df76d223647ca81917d289ca6330cdee6.
  • Contributors: Mathias Lüdtke

0.7.7 (2018-05-04)

  • added types for all function objects
  • pull make_shared into namespaces
  • added types for all shared_ptrs
  • migrate to new classloader headers
  • address catkin_lint errors/warnings
  • removed IPC/SHM based sync masters
  • Contributors: Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

  • added reset_errors_before_recover option
  • Contributors: Mathias Lüdtke

0.7.4 (2017-04-25)

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • refactored EMCY handling into separate layer
  • do not reset thread for recover
  • properly stop run thread if init failed
  • deprecation warning for SHM-based master implementations
  • implemented canopen_sync_node
  • wait only if sync is disabled
  • added object access services
  • implement level-based object logging
  • added node name lookup
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • protect MotorChain setup with RosChain lock
  • added include to <boost/scoped_ptr.hpp>; solving #177
  • default to canopen::SimpleMaster::Allocator (#71)
  • exit code for generic error should be 1, not -1
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • moved roslib include into source file

File truncated at 100 lines see the full file

Launch files

Messages

No message files found.

Plugins

No plugins found.

Recent questions tagged canopen_chain_node at Robotics Stack Exchange

No version for distro lyrical showing melodic. Known supported distros are highlighted in the buttons above.

Package Summary

Version 0.8.5
License LGPLv3
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros-industrial/ros_canopen.git
VCS Type git
VCS Version melodic-devel
Last Updated 2026-11-18
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Base implementation for CANopen chains node with support for management services and diagnostics

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Mathias Lüdtke

Overview

This packages contains the ROS interface for socketcan_interface and canopen_master. It can be used as a stand-alone ROS node, but as well as a base class for profile specific ROS interfaces, e.g. canopen_motor_node.

It manages a CANopen bus with one or more nodes, which are configures with CANopen EDS/DCF files. The ROS node runs a control loop with CANopen SYNC interval (or with an alternative update interval if the SYNC protocol is not used).

Configuration

The configuration can be split into different parts. First the bus has to be set-up, these settings are shared for all node. Then all must be configured with their CANopen and ROS interfaces. All parameters must be loaded into the nodes private namespace

CANopen Bus layer

The bus settings consists of a CAN interface (socketcan_interface) and the shared bus settings for canopen_master.

bus:
  device: can0 # socketcan network
  # loopback: false # socket should loop back messages
  # driver_plugin: can::SocketCANInterface
  # master_allocator: canopen::SimpleMaster::Allocator
sync:
  interval_ms: 10 # set to 0 to disable sync
  # update_ms: <interval_ms> #update interval of control loop, must be set explecitly if sync is disabled
  overflow: 0 # overflow sync counter at value or do not set it (0, default)
heartbeat: # simple heartbeat producer, optional!
  rate: 20 # heartbeat rate
  msg: "77f#05" # message to send, cansend format: heartbeat of node 127 with status 5=Started

Node layer

All nodes are listed in the nodes parameter, either as list or a struct, and require a node ID, a name and the path to the EDS/DCF file.

# struct syntax
nodes:
  node1:
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.dcf" # path to EDS/DCF file
  node2:
    id: 85
    name: other_mode # optional name
    eds_file: "/path/to/my_config.eds" # absolute name

# list syntax
nodes:
  - name: node1
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.eds" # path to EDS/DCF file
  - name: node2
    id: 85
    eds_file: "/path/to/my_config.dcf" # absolute name

Additional parameters can set either for each node or in a defaults section:

defaults: # optional, all defaults can be overwritten per node
  eds_pkg: my_config_package # optional package  name for relative path
  eds_file: "my_config.dcf" # path to EDS/DCF file
  dcf_overlay: # "ObjectID": "ParameterValue" (both as strings)
    "1016sub1" : "0x7F0064" # heartbeat timeout of 100 ms for master at 127
    "1017": "100" # heartbeat producer

The dcf_overlay can be used to overwrite specific settings in the EDS/DCF.

ROS layer

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package canopen_chain_node

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • pass settings from ROS node to SocketCANInterface
  • Contributors: Mathias Lüdtke

0.8.3 (2020-05-07)

  • Bump CMake version to avoid CMP0048 warning Signed-off-by: ahcorde <<ahcorde@gmail.com>>
  • Contributors: ahcorde

0.8.2 (2019-11-04)

  • rename to logWarning to fix build on Debian stretch
  • log the result of all services in RosChain
  • enable rosconsole_bridge bindings
  • switch to new logging macros
  • Contributors: Mathias Lüdtke

0.8.1 (2019-07-14)

  • Set C++ standard to c++14
  • implemented create*ListenerM helpers
  • Replacing FastDelegate with std::function and std::bind.
  • Contributors: Alexander Gutenkunst, Harsh Deshpande, Joshua Whitley, Mathias Lüdtke

0.8.0 (2018-07-11)

  • migrated to std::function and std::bind
  • make sync_node return proper error codes
  • refactored PublishFunc
  • migrated to std::atomic
  • migrated to std pointers
  • removed deprecated types
  • Contributors: Mathias Lüdtke

0.7.8 (2018-05-04)

  • Revert "pull make_shared into namespaces" This reverts commit 9b2cd05df76d223647ca81917d289ca6330cdee6.
  • Contributors: Mathias Lüdtke

0.7.7 (2018-05-04)

  • added types for all function objects
  • pull make_shared into namespaces
  • added types for all shared_ptrs
  • migrate to new classloader headers
  • address catkin_lint errors/warnings
  • removed IPC/SHM based sync masters
  • Contributors: Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

  • added reset_errors_before_recover option
  • Contributors: Mathias Lüdtke

0.7.4 (2017-04-25)

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • refactored EMCY handling into separate layer
  • do not reset thread for recover
  • properly stop run thread if init failed
  • deprecation warning for SHM-based master implementations
  • implemented canopen_sync_node
  • wait only if sync is disabled
  • added object access services
  • implement level-based object logging
  • added node name lookup
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • protect MotorChain setup with RosChain lock
  • added include to <boost/scoped_ptr.hpp>; solving #177
  • default to canopen::SimpleMaster::Allocator (#71)
  • exit code for generic error should be 1, not -1
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • moved roslib include into source file

File truncated at 100 lines see the full file

Launch files

Messages

No message files found.

Plugins

No plugins found.

Recent questions tagged canopen_chain_node at Robotics Stack Exchange

No version for distro rolling showing melodic. Known supported distros are highlighted in the buttons above.

Package Summary

Version 0.8.5
License LGPLv3
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros-industrial/ros_canopen.git
VCS Type git
VCS Version melodic-devel
Last Updated 2026-11-18
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Base implementation for CANopen chains node with support for management services and diagnostics

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Mathias Lüdtke

Overview

This packages contains the ROS interface for socketcan_interface and canopen_master. It can be used as a stand-alone ROS node, but as well as a base class for profile specific ROS interfaces, e.g. canopen_motor_node.

It manages a CANopen bus with one or more nodes, which are configures with CANopen EDS/DCF files. The ROS node runs a control loop with CANopen SYNC interval (or with an alternative update interval if the SYNC protocol is not used).

Configuration

The configuration can be split into different parts. First the bus has to be set-up, these settings are shared for all node. Then all must be configured with their CANopen and ROS interfaces. All parameters must be loaded into the nodes private namespace

CANopen Bus layer

The bus settings consists of a CAN interface (socketcan_interface) and the shared bus settings for canopen_master.

bus:
  device: can0 # socketcan network
  # loopback: false # socket should loop back messages
  # driver_plugin: can::SocketCANInterface
  # master_allocator: canopen::SimpleMaster::Allocator
sync:
  interval_ms: 10 # set to 0 to disable sync
  # update_ms: <interval_ms> #update interval of control loop, must be set explecitly if sync is disabled
  overflow: 0 # overflow sync counter at value or do not set it (0, default)
heartbeat: # simple heartbeat producer, optional!
  rate: 20 # heartbeat rate
  msg: "77f#05" # message to send, cansend format: heartbeat of node 127 with status 5=Started

Node layer

All nodes are listed in the nodes parameter, either as list or a struct, and require a node ID, a name and the path to the EDS/DCF file.

# struct syntax
nodes:
  node1:
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.dcf" # path to EDS/DCF file
  node2:
    id: 85
    name: other_mode # optional name
    eds_file: "/path/to/my_config.eds" # absolute name

# list syntax
nodes:
  - name: node1
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.eds" # path to EDS/DCF file
  - name: node2
    id: 85
    eds_file: "/path/to/my_config.dcf" # absolute name

Additional parameters can set either for each node or in a defaults section:

defaults: # optional, all defaults can be overwritten per node
  eds_pkg: my_config_package # optional package  name for relative path
  eds_file: "my_config.dcf" # path to EDS/DCF file
  dcf_overlay: # "ObjectID": "ParameterValue" (both as strings)
    "1016sub1" : "0x7F0064" # heartbeat timeout of 100 ms for master at 127
    "1017": "100" # heartbeat producer

The dcf_overlay can be used to overwrite specific settings in the EDS/DCF.

ROS layer

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package canopen_chain_node

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • pass settings from ROS node to SocketCANInterface
  • Contributors: Mathias Lüdtke

0.8.3 (2020-05-07)

  • Bump CMake version to avoid CMP0048 warning Signed-off-by: ahcorde <<ahcorde@gmail.com>>
  • Contributors: ahcorde

0.8.2 (2019-11-04)

  • rename to logWarning to fix build on Debian stretch
  • log the result of all services in RosChain
  • enable rosconsole_bridge bindings
  • switch to new logging macros
  • Contributors: Mathias Lüdtke

0.8.1 (2019-07-14)

  • Set C++ standard to c++14
  • implemented create*ListenerM helpers
  • Replacing FastDelegate with std::function and std::bind.
  • Contributors: Alexander Gutenkunst, Harsh Deshpande, Joshua Whitley, Mathias Lüdtke

0.8.0 (2018-07-11)

  • migrated to std::function and std::bind
  • make sync_node return proper error codes
  • refactored PublishFunc
  • migrated to std::atomic
  • migrated to std pointers
  • removed deprecated types
  • Contributors: Mathias Lüdtke

0.7.8 (2018-05-04)

  • Revert "pull make_shared into namespaces" This reverts commit 9b2cd05df76d223647ca81917d289ca6330cdee6.
  • Contributors: Mathias Lüdtke

0.7.7 (2018-05-04)

  • added types for all function objects
  • pull make_shared into namespaces
  • added types for all shared_ptrs
  • migrate to new classloader headers
  • address catkin_lint errors/warnings
  • removed IPC/SHM based sync masters
  • Contributors: Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

  • added reset_errors_before_recover option
  • Contributors: Mathias Lüdtke

0.7.4 (2017-04-25)

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • refactored EMCY handling into separate layer
  • do not reset thread for recover
  • properly stop run thread if init failed
  • deprecation warning for SHM-based master implementations
  • implemented canopen_sync_node
  • wait only if sync is disabled
  • added object access services
  • implement level-based object logging
  • added node name lookup
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • protect MotorChain setup with RosChain lock
  • added include to <boost/scoped_ptr.hpp>; solving #177
  • default to canopen::SimpleMaster::Allocator (#71)
  • exit code for generic error should be 1, not -1
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • moved roslib include into source file

File truncated at 100 lines see the full file

Launch files

Messages

No message files found.

Plugins

No plugins found.

Recent questions tagged canopen_chain_node at Robotics Stack Exchange

No version for distro github showing melodic. Known supported distros are highlighted in the buttons above.

Package Summary

Version 0.8.5
License LGPLv3
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros-industrial/ros_canopen.git
VCS Type git
VCS Version melodic-devel
Last Updated 2026-11-18
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Base implementation for CANopen chains node with support for management services and diagnostics

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Mathias Lüdtke

Overview

This packages contains the ROS interface for socketcan_interface and canopen_master. It can be used as a stand-alone ROS node, but as well as a base class for profile specific ROS interfaces, e.g. canopen_motor_node.

It manages a CANopen bus with one or more nodes, which are configures with CANopen EDS/DCF files. The ROS node runs a control loop with CANopen SYNC interval (or with an alternative update interval if the SYNC protocol is not used).

Configuration

The configuration can be split into different parts. First the bus has to be set-up, these settings are shared for all node. Then all must be configured with their CANopen and ROS interfaces. All parameters must be loaded into the nodes private namespace

CANopen Bus layer

The bus settings consists of a CAN interface (socketcan_interface) and the shared bus settings for canopen_master.

bus:
  device: can0 # socketcan network
  # loopback: false # socket should loop back messages
  # driver_plugin: can::SocketCANInterface
  # master_allocator: canopen::SimpleMaster::Allocator
sync:
  interval_ms: 10 # set to 0 to disable sync
  # update_ms: <interval_ms> #update interval of control loop, must be set explecitly if sync is disabled
  overflow: 0 # overflow sync counter at value or do not set it (0, default)
heartbeat: # simple heartbeat producer, optional!
  rate: 20 # heartbeat rate
  msg: "77f#05" # message to send, cansend format: heartbeat of node 127 with status 5=Started

Node layer

All nodes are listed in the nodes parameter, either as list or a struct, and require a node ID, a name and the path to the EDS/DCF file.

# struct syntax
nodes:
  node1:
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.dcf" # path to EDS/DCF file
  node2:
    id: 85
    name: other_mode # optional name
    eds_file: "/path/to/my_config.eds" # absolute name

# list syntax
nodes:
  - name: node1
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.eds" # path to EDS/DCF file
  - name: node2
    id: 85
    eds_file: "/path/to/my_config.dcf" # absolute name

Additional parameters can set either for each node or in a defaults section:

defaults: # optional, all defaults can be overwritten per node
  eds_pkg: my_config_package # optional package  name for relative path
  eds_file: "my_config.dcf" # path to EDS/DCF file
  dcf_overlay: # "ObjectID": "ParameterValue" (both as strings)
    "1016sub1" : "0x7F0064" # heartbeat timeout of 100 ms for master at 127
    "1017": "100" # heartbeat producer

The dcf_overlay can be used to overwrite specific settings in the EDS/DCF.

ROS layer

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package canopen_chain_node

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • pass settings from ROS node to SocketCANInterface
  • Contributors: Mathias Lüdtke

0.8.3 (2020-05-07)

  • Bump CMake version to avoid CMP0048 warning Signed-off-by: ahcorde <<ahcorde@gmail.com>>
  • Contributors: ahcorde

0.8.2 (2019-11-04)

  • rename to logWarning to fix build on Debian stretch
  • log the result of all services in RosChain
  • enable rosconsole_bridge bindings
  • switch to new logging macros
  • Contributors: Mathias Lüdtke

0.8.1 (2019-07-14)

  • Set C++ standard to c++14
  • implemented create*ListenerM helpers
  • Replacing FastDelegate with std::function and std::bind.
  • Contributors: Alexander Gutenkunst, Harsh Deshpande, Joshua Whitley, Mathias Lüdtke

0.8.0 (2018-07-11)

  • migrated to std::function and std::bind
  • make sync_node return proper error codes
  • refactored PublishFunc
  • migrated to std::atomic
  • migrated to std pointers
  • removed deprecated types
  • Contributors: Mathias Lüdtke

0.7.8 (2018-05-04)

  • Revert "pull make_shared into namespaces" This reverts commit 9b2cd05df76d223647ca81917d289ca6330cdee6.
  • Contributors: Mathias Lüdtke

0.7.7 (2018-05-04)

  • added types for all function objects
  • pull make_shared into namespaces
  • added types for all shared_ptrs
  • migrate to new classloader headers
  • address catkin_lint errors/warnings
  • removed IPC/SHM based sync masters
  • Contributors: Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

  • added reset_errors_before_recover option
  • Contributors: Mathias Lüdtke

0.7.4 (2017-04-25)

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • refactored EMCY handling into separate layer
  • do not reset thread for recover
  • properly stop run thread if init failed
  • deprecation warning for SHM-based master implementations
  • implemented canopen_sync_node
  • wait only if sync is disabled
  • added object access services
  • implement level-based object logging
  • added node name lookup
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • protect MotorChain setup with RosChain lock
  • added include to <boost/scoped_ptr.hpp>; solving #177
  • default to canopen::SimpleMaster::Allocator (#71)
  • exit code for generic error should be 1, not -1
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • moved roslib include into source file

File truncated at 100 lines see the full file

Launch files

Messages

No message files found.

Plugins

No plugins found.

Recent questions tagged canopen_chain_node at Robotics Stack Exchange

No version for distro galactic showing melodic. Known supported distros are highlighted in the buttons above.

Package Summary

Version 0.8.5
License LGPLv3
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros-industrial/ros_canopen.git
VCS Type git
VCS Version melodic-devel
Last Updated 2026-11-18
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Base implementation for CANopen chains node with support for management services and diagnostics

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Mathias Lüdtke

Overview

This packages contains the ROS interface for socketcan_interface and canopen_master. It can be used as a stand-alone ROS node, but as well as a base class for profile specific ROS interfaces, e.g. canopen_motor_node.

It manages a CANopen bus with one or more nodes, which are configures with CANopen EDS/DCF files. The ROS node runs a control loop with CANopen SYNC interval (or with an alternative update interval if the SYNC protocol is not used).

Configuration

The configuration can be split into different parts. First the bus has to be set-up, these settings are shared for all node. Then all must be configured with their CANopen and ROS interfaces. All parameters must be loaded into the nodes private namespace

CANopen Bus layer

The bus settings consists of a CAN interface (socketcan_interface) and the shared bus settings for canopen_master.

bus:
  device: can0 # socketcan network
  # loopback: false # socket should loop back messages
  # driver_plugin: can::SocketCANInterface
  # master_allocator: canopen::SimpleMaster::Allocator
sync:
  interval_ms: 10 # set to 0 to disable sync
  # update_ms: <interval_ms> #update interval of control loop, must be set explecitly if sync is disabled
  overflow: 0 # overflow sync counter at value or do not set it (0, default)
heartbeat: # simple heartbeat producer, optional!
  rate: 20 # heartbeat rate
  msg: "77f#05" # message to send, cansend format: heartbeat of node 127 with status 5=Started

Node layer

All nodes are listed in the nodes parameter, either as list or a struct, and require a node ID, a name and the path to the EDS/DCF file.

# struct syntax
nodes:
  node1:
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.dcf" # path to EDS/DCF file
  node2:
    id: 85
    name: other_mode # optional name
    eds_file: "/path/to/my_config.eds" # absolute name

# list syntax
nodes:
  - name: node1
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.eds" # path to EDS/DCF file
  - name: node2
    id: 85
    eds_file: "/path/to/my_config.dcf" # absolute name

Additional parameters can set either for each node or in a defaults section:

defaults: # optional, all defaults can be overwritten per node
  eds_pkg: my_config_package # optional package  name for relative path
  eds_file: "my_config.dcf" # path to EDS/DCF file
  dcf_overlay: # "ObjectID": "ParameterValue" (both as strings)
    "1016sub1" : "0x7F0064" # heartbeat timeout of 100 ms for master at 127
    "1017": "100" # heartbeat producer

The dcf_overlay can be used to overwrite specific settings in the EDS/DCF.

ROS layer

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package canopen_chain_node

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • pass settings from ROS node to SocketCANInterface
  • Contributors: Mathias Lüdtke

0.8.3 (2020-05-07)

  • Bump CMake version to avoid CMP0048 warning Signed-off-by: ahcorde <<ahcorde@gmail.com>>
  • Contributors: ahcorde

0.8.2 (2019-11-04)

  • rename to logWarning to fix build on Debian stretch
  • log the result of all services in RosChain
  • enable rosconsole_bridge bindings
  • switch to new logging macros
  • Contributors: Mathias Lüdtke

0.8.1 (2019-07-14)

  • Set C++ standard to c++14
  • implemented create*ListenerM helpers
  • Replacing FastDelegate with std::function and std::bind.
  • Contributors: Alexander Gutenkunst, Harsh Deshpande, Joshua Whitley, Mathias Lüdtke

0.8.0 (2018-07-11)

  • migrated to std::function and std::bind
  • make sync_node return proper error codes
  • refactored PublishFunc
  • migrated to std::atomic
  • migrated to std pointers
  • removed deprecated types
  • Contributors: Mathias Lüdtke

0.7.8 (2018-05-04)

  • Revert "pull make_shared into namespaces" This reverts commit 9b2cd05df76d223647ca81917d289ca6330cdee6.
  • Contributors: Mathias Lüdtke

0.7.7 (2018-05-04)

  • added types for all function objects
  • pull make_shared into namespaces
  • added types for all shared_ptrs
  • migrate to new classloader headers
  • address catkin_lint errors/warnings
  • removed IPC/SHM based sync masters
  • Contributors: Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

  • added reset_errors_before_recover option
  • Contributors: Mathias Lüdtke

0.7.4 (2017-04-25)

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • refactored EMCY handling into separate layer
  • do not reset thread for recover
  • properly stop run thread if init failed
  • deprecation warning for SHM-based master implementations
  • implemented canopen_sync_node
  • wait only if sync is disabled
  • added object access services
  • implement level-based object logging
  • added node name lookup
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • protect MotorChain setup with RosChain lock
  • added include to <boost/scoped_ptr.hpp>; solving #177
  • default to canopen::SimpleMaster::Allocator (#71)
  • exit code for generic error should be 1, not -1
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • moved roslib include into source file

File truncated at 100 lines see the full file

Launch files

Messages

No message files found.

Plugins

No plugins found.

Recent questions tagged canopen_chain_node at Robotics Stack Exchange

No version for distro iron showing melodic. Known supported distros are highlighted in the buttons above.

Package Summary

Version 0.8.5
License LGPLv3
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros-industrial/ros_canopen.git
VCS Type git
VCS Version melodic-devel
Last Updated 2026-11-18
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Base implementation for CANopen chains node with support for management services and diagnostics

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Mathias Lüdtke

Overview

This packages contains the ROS interface for socketcan_interface and canopen_master. It can be used as a stand-alone ROS node, but as well as a base class for profile specific ROS interfaces, e.g. canopen_motor_node.

It manages a CANopen bus with one or more nodes, which are configures with CANopen EDS/DCF files. The ROS node runs a control loop with CANopen SYNC interval (or with an alternative update interval if the SYNC protocol is not used).

Configuration

The configuration can be split into different parts. First the bus has to be set-up, these settings are shared for all node. Then all must be configured with their CANopen and ROS interfaces. All parameters must be loaded into the nodes private namespace

CANopen Bus layer

The bus settings consists of a CAN interface (socketcan_interface) and the shared bus settings for canopen_master.

bus:
  device: can0 # socketcan network
  # loopback: false # socket should loop back messages
  # driver_plugin: can::SocketCANInterface
  # master_allocator: canopen::SimpleMaster::Allocator
sync:
  interval_ms: 10 # set to 0 to disable sync
  # update_ms: <interval_ms> #update interval of control loop, must be set explecitly if sync is disabled
  overflow: 0 # overflow sync counter at value or do not set it (0, default)
heartbeat: # simple heartbeat producer, optional!
  rate: 20 # heartbeat rate
  msg: "77f#05" # message to send, cansend format: heartbeat of node 127 with status 5=Started

Node layer

All nodes are listed in the nodes parameter, either as list or a struct, and require a node ID, a name and the path to the EDS/DCF file.

# struct syntax
nodes:
  node1:
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.dcf" # path to EDS/DCF file
  node2:
    id: 85
    name: other_mode # optional name
    eds_file: "/path/to/my_config.eds" # absolute name

# list syntax
nodes:
  - name: node1
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.eds" # path to EDS/DCF file
  - name: node2
    id: 85
    eds_file: "/path/to/my_config.dcf" # absolute name

Additional parameters can set either for each node or in a defaults section:

defaults: # optional, all defaults can be overwritten per node
  eds_pkg: my_config_package # optional package  name for relative path
  eds_file: "my_config.dcf" # path to EDS/DCF file
  dcf_overlay: # "ObjectID": "ParameterValue" (both as strings)
    "1016sub1" : "0x7F0064" # heartbeat timeout of 100 ms for master at 127
    "1017": "100" # heartbeat producer

The dcf_overlay can be used to overwrite specific settings in the EDS/DCF.

ROS layer

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package canopen_chain_node

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • pass settings from ROS node to SocketCANInterface
  • Contributors: Mathias Lüdtke

0.8.3 (2020-05-07)

  • Bump CMake version to avoid CMP0048 warning Signed-off-by: ahcorde <<ahcorde@gmail.com>>
  • Contributors: ahcorde

0.8.2 (2019-11-04)

  • rename to logWarning to fix build on Debian stretch
  • log the result of all services in RosChain
  • enable rosconsole_bridge bindings
  • switch to new logging macros
  • Contributors: Mathias Lüdtke

0.8.1 (2019-07-14)

  • Set C++ standard to c++14
  • implemented create*ListenerM helpers
  • Replacing FastDelegate with std::function and std::bind.
  • Contributors: Alexander Gutenkunst, Harsh Deshpande, Joshua Whitley, Mathias Lüdtke

0.8.0 (2018-07-11)

  • migrated to std::function and std::bind
  • make sync_node return proper error codes
  • refactored PublishFunc
  • migrated to std::atomic
  • migrated to std pointers
  • removed deprecated types
  • Contributors: Mathias Lüdtke

0.7.8 (2018-05-04)

  • Revert "pull make_shared into namespaces" This reverts commit 9b2cd05df76d223647ca81917d289ca6330cdee6.
  • Contributors: Mathias Lüdtke

0.7.7 (2018-05-04)

  • added types for all function objects
  • pull make_shared into namespaces
  • added types for all shared_ptrs
  • migrate to new classloader headers
  • address catkin_lint errors/warnings
  • removed IPC/SHM based sync masters
  • Contributors: Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

  • added reset_errors_before_recover option
  • Contributors: Mathias Lüdtke

0.7.4 (2017-04-25)

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • refactored EMCY handling into separate layer
  • do not reset thread for recover
  • properly stop run thread if init failed
  • deprecation warning for SHM-based master implementations
  • implemented canopen_sync_node
  • wait only if sync is disabled
  • added object access services
  • implement level-based object logging
  • added node name lookup
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • protect MotorChain setup with RosChain lock
  • added include to <boost/scoped_ptr.hpp>; solving #177
  • default to canopen::SimpleMaster::Allocator (#71)
  • exit code for generic error should be 1, not -1
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • moved roslib include into source file

File truncated at 100 lines see the full file

Launch files

Messages

No message files found.

Plugins

No plugins found.

Recent questions tagged canopen_chain_node at Robotics Stack Exchange

Package Summary

Version 0.8.5
License LGPLv3
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros-industrial/ros_canopen.git
VCS Type git
VCS Version melodic-devel
Last Updated 2026-11-18
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Base implementation for CANopen chains node with support for management services and diagnostics

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Mathias Lüdtke

Overview

This packages contains the ROS interface for socketcan_interface and canopen_master. It can be used as a stand-alone ROS node, but as well as a base class for profile specific ROS interfaces, e.g. canopen_motor_node.

It manages a CANopen bus with one or more nodes, which are configures with CANopen EDS/DCF files. The ROS node runs a control loop with CANopen SYNC interval (or with an alternative update interval if the SYNC protocol is not used).

Configuration

The configuration can be split into different parts. First the bus has to be set-up, these settings are shared for all node. Then all must be configured with their CANopen and ROS interfaces. All parameters must be loaded into the nodes private namespace

CANopen Bus layer

The bus settings consists of a CAN interface (socketcan_interface) and the shared bus settings for canopen_master.

bus:
  device: can0 # socketcan network
  # loopback: false # socket should loop back messages
  # driver_plugin: can::SocketCANInterface
  # master_allocator: canopen::SimpleMaster::Allocator
sync:
  interval_ms: 10 # set to 0 to disable sync
  # update_ms: <interval_ms> #update interval of control loop, must be set explecitly if sync is disabled
  overflow: 0 # overflow sync counter at value or do not set it (0, default)
heartbeat: # simple heartbeat producer, optional!
  rate: 20 # heartbeat rate
  msg: "77f#05" # message to send, cansend format: heartbeat of node 127 with status 5=Started

Node layer

All nodes are listed in the nodes parameter, either as list or a struct, and require a node ID, a name and the path to the EDS/DCF file.

# struct syntax
nodes:
  node1:
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.dcf" # path to EDS/DCF file
  node2:
    id: 85
    name: other_mode # optional name
    eds_file: "/path/to/my_config.eds" # absolute name

# list syntax
nodes:
  - name: node1
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.eds" # path to EDS/DCF file
  - name: node2
    id: 85
    eds_file: "/path/to/my_config.dcf" # absolute name

Additional parameters can set either for each node or in a defaults section:

defaults: # optional, all defaults can be overwritten per node
  eds_pkg: my_config_package # optional package  name for relative path
  eds_file: "my_config.dcf" # path to EDS/DCF file
  dcf_overlay: # "ObjectID": "ParameterValue" (both as strings)
    "1016sub1" : "0x7F0064" # heartbeat timeout of 100 ms for master at 127
    "1017": "100" # heartbeat producer

The dcf_overlay can be used to overwrite specific settings in the EDS/DCF.

ROS layer

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package canopen_chain_node

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • pass settings from ROS node to SocketCANInterface
  • Contributors: Mathias Lüdtke

0.8.3 (2020-05-07)

  • Bump CMake version to avoid CMP0048 warning Signed-off-by: ahcorde <<ahcorde@gmail.com>>
  • Contributors: ahcorde

0.8.2 (2019-11-04)

  • rename to logWarning to fix build on Debian stretch
  • log the result of all services in RosChain
  • enable rosconsole_bridge bindings
  • switch to new logging macros
  • Contributors: Mathias Lüdtke

0.8.1 (2019-07-14)

  • Set C++ standard to c++14
  • implemented create*ListenerM helpers
  • Replacing FastDelegate with std::function and std::bind.
  • Contributors: Alexander Gutenkunst, Harsh Deshpande, Joshua Whitley, Mathias Lüdtke

0.8.0 (2018-07-11)

  • migrated to std::function and std::bind
  • make sync_node return proper error codes
  • refactored PublishFunc
  • migrated to std::atomic
  • migrated to std pointers
  • removed deprecated types
  • Contributors: Mathias Lüdtke

0.7.8 (2018-05-04)

  • Revert "pull make_shared into namespaces" This reverts commit 9b2cd05df76d223647ca81917d289ca6330cdee6.
  • Contributors: Mathias Lüdtke

0.7.7 (2018-05-04)

  • added types for all function objects
  • pull make_shared into namespaces
  • added types for all shared_ptrs
  • migrate to new classloader headers
  • address catkin_lint errors/warnings
  • removed IPC/SHM based sync masters
  • Contributors: Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

  • added reset_errors_before_recover option
  • Contributors: Mathias Lüdtke

0.7.4 (2017-04-25)

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • refactored EMCY handling into separate layer
  • do not reset thread for recover
  • properly stop run thread if init failed
  • deprecation warning for SHM-based master implementations
  • implemented canopen_sync_node
  • wait only if sync is disabled
  • added object access services
  • implement level-based object logging
  • added node name lookup
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • protect MotorChain setup with RosChain lock
  • added include to <boost/scoped_ptr.hpp>; solving #177
  • default to canopen::SimpleMaster::Allocator (#71)
  • exit code for generic error should be 1, not -1
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • moved roslib include into source file

File truncated at 100 lines see the full file

Launch files

Messages

No message files found.

Plugins

No plugins found.

Recent questions tagged canopen_chain_node at Robotics Stack Exchange

Package Summary

Version 0.8.5
License LGPLv3
Build type CATKIN
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/ros-industrial/ros_canopen.git
VCS Type git
VCS Version melodic-devel
Last Updated 2026-11-18
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Base implementation for CANopen chains node with support for management services and diagnostics

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Mathias Lüdtke

Overview

This packages contains the ROS interface for socketcan_interface and canopen_master. It can be used as a stand-alone ROS node, but as well as a base class for profile specific ROS interfaces, e.g. canopen_motor_node.

It manages a CANopen bus with one or more nodes, which are configures with CANopen EDS/DCF files. The ROS node runs a control loop with CANopen SYNC interval (or with an alternative update interval if the SYNC protocol is not used).

Configuration

The configuration can be split into different parts. First the bus has to be set-up, these settings are shared for all node. Then all must be configured with their CANopen and ROS interfaces. All parameters must be loaded into the nodes private namespace

CANopen Bus layer

The bus settings consists of a CAN interface (socketcan_interface) and the shared bus settings for canopen_master.

bus:
  device: can0 # socketcan network
  # loopback: false # socket should loop back messages
  # driver_plugin: can::SocketCANInterface
  # master_allocator: canopen::SimpleMaster::Allocator
sync:
  interval_ms: 10 # set to 0 to disable sync
  # update_ms: <interval_ms> #update interval of control loop, must be set explecitly if sync is disabled
  overflow: 0 # overflow sync counter at value or do not set it (0, default)
heartbeat: # simple heartbeat producer, optional!
  rate: 20 # heartbeat rate
  msg: "77f#05" # message to send, cansend format: heartbeat of node 127 with status 5=Started

Node layer

All nodes are listed in the nodes parameter, either as list or a struct, and require a node ID, a name and the path to the EDS/DCF file.

# struct syntax
nodes:
  node1:
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.dcf" # path to EDS/DCF file
  node2:
    id: 85
    name: other_mode # optional name
    eds_file: "/path/to/my_config.eds" # absolute name

# list syntax
nodes:
  - name: node1
    id: 1
    eds_pkg: my_config_package # optionals package  name for relative path
    eds_file: "my_config.eds" # path to EDS/DCF file
  - name: node2
    id: 85
    eds_file: "/path/to/my_config.dcf" # absolute name

Additional parameters can set either for each node or in a defaults section:

defaults: # optional, all defaults can be overwritten per node
  eds_pkg: my_config_package # optional package  name for relative path
  eds_file: "my_config.dcf" # path to EDS/DCF file
  dcf_overlay: # "ObjectID": "ParameterValue" (both as strings)
    "1016sub1" : "0x7F0064" # heartbeat timeout of 100 ms for master at 127
    "1017": "100" # heartbeat producer

The dcf_overlay can be used to overwrite specific settings in the EDS/DCF.

ROS layer

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package canopen_chain_node

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • pass settings from ROS node to SocketCANInterface
  • Contributors: Mathias Lüdtke

0.8.3 (2020-05-07)

  • Bump CMake version to avoid CMP0048 warning Signed-off-by: ahcorde <<ahcorde@gmail.com>>
  • Contributors: ahcorde

0.8.2 (2019-11-04)

  • rename to logWarning to fix build on Debian stretch
  • log the result of all services in RosChain
  • enable rosconsole_bridge bindings
  • switch to new logging macros
  • Contributors: Mathias Lüdtke

0.8.1 (2019-07-14)

  • Set C++ standard to c++14
  • implemented create*ListenerM helpers
  • Replacing FastDelegate with std::function and std::bind.
  • Contributors: Alexander Gutenkunst, Harsh Deshpande, Joshua Whitley, Mathias Lüdtke

0.8.0 (2018-07-11)

  • migrated to std::function and std::bind
  • make sync_node return proper error codes
  • refactored PublishFunc
  • migrated to std::atomic
  • migrated to std pointers
  • removed deprecated types
  • Contributors: Mathias Lüdtke

0.7.8 (2018-05-04)

  • Revert "pull make_shared into namespaces" This reverts commit 9b2cd05df76d223647ca81917d289ca6330cdee6.
  • Contributors: Mathias Lüdtke

0.7.7 (2018-05-04)

  • added types for all function objects
  • pull make_shared into namespaces
  • added types for all shared_ptrs
  • migrate to new classloader headers
  • address catkin_lint errors/warnings
  • removed IPC/SHM based sync masters
  • Contributors: Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

  • added reset_errors_before_recover option
  • Contributors: Mathias Lüdtke

0.7.4 (2017-04-25)

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • refactored EMCY handling into separate layer
  • do not reset thread for recover
  • properly stop run thread if init failed
  • deprecation warning for SHM-based master implementations
  • implemented canopen_sync_node
  • wait only if sync is disabled
  • added object access services
  • implement level-based object logging
  • added node name lookup
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • protect MotorChain setup with RosChain lock
  • added include to <boost/scoped_ptr.hpp>; solving #177
  • default to canopen::SimpleMaster::Allocator (#71)
  • exit code for generic error should be 1, not -1
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • moved roslib include into source file

File truncated at 100 lines see the full file

Launch files

Messages

No message files found.

Plugins

No plugins found.

Recent questions tagged canopen_chain_node at Robotics Stack Exchange