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

This implements the CANopen device profile for drives and motion control. CiA(r) 402

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Thiago de Freitas
  • Mathias Lüdtke

Overview

This package contains the implementation of the CiA 402 DSP protocol. It just communicates via objects (canopen_master, no direct CAN communication is needed.

It runs the 402 state machine and per-mode state machines, if needed. It does not handle the read of actual positions, velocities, etc..

It recommended to map the control word (object 6040, 0x60400010), the status word (object 6041, 0x60410010) and the operation mode display (object 6061, 0x60610008) to PDOs.

Drive operation modes

All standardized drive modes are implemented, these modes can be substituted in sub classes and others can be added.

The following table lists all supported drive modes and their data objects. The objects used should be mapped to PDOs.


 <tablewidth="100%">**Name**      **ID**      **target object**      **RPDO mapping parameter**      comments         
 Profiled Position                    1           607A                   0x607a0020                                       
 Velocity                             2           6042                   0x60420010                                       
 Profiled Velocity                    3           60FF                   0x60ff0020                                       
 Profiled Torque                      4           6071                   0x60710010                      not yet tested   
 Interpolated Position                7           60C1sub1               0x60c10120                                       
 Cyclic Synchronous Position          8           607A                   0x607a0020                      not yet tested   
 Cyclic Synchronous Velocity          9           60FF                   0x60ff0020                      not yet tested   
 Cyclic Synchronous Torque            10          7071                   0x60710010                      not yet tested      -- --------------------------------- -- -------- -- ------------------- -- ---------------------------- -- ---------------- --

The modes can be switched at run-time, the 402 state might be switched in order to switch the mode, if necessary.

Not all devices support all operation modes. The driver limits the set of available modes based on object 6502.

Homing

Homing is supported, but is not a available as drive mode. Instead it is performed at initialization if homing is supported and the homing method is not zero.

The implemented homing mode just triggers the execution of the selected homing method. Please refer to your device manual to get a list of supported methods. Currently the driver aborts the procedure if the homing was not performed successfully within 60 seconds.

Tested Devices

The driver was tested for the below listed devices. For each of them, the supported modes are checked.

PP: Profiled Position, VL: Velocity, PV: Profiled Velocity, PT: Profiled Torque, HM: Homing, IP: Interpolated Position, CSP: Cyclic Synchronous Position, CSV: Cyclic Synchronous Velocity, CST: Cyclic Synchronous Torque

(./) : works, (X) : does not work, - : unsupported, ? : unknown/not tested

SCHUNK


 <tablewidth="100%">Device Name                                                                                 PP        VL        PV      PT      HM        IP        CSP      CSV      CST   
 [SCHUNK LWA4D](http://mobile.schunk-microsite.com/en/produkte/produkte/dextrous-lightweight-arm-lwa-4d.html)       (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [SCHUNK LWA4P](http://mobile.schunk-microsite.com/en/produkte/produkte/powerball-lightweight-arm-lwa-4p.html)      (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [PG+ 70](http://mobile.schunk-microsite.com/en/produkte/produkte/pg-plus-70-2-finger-parallel-gripper.html)        (./)      (./)      \-      \-      (./)      (./)      \-       \-       \-    
 [PRL](http://www.schunk.com/schunk_files/attachments/OM_AU_PRL__EN.pdf)                                            (./)      (./)      \-      \-      ?         (./)      \-       \-       \-       -- --------------------------------------------------------------------------------------------------------------- -- ------ -- ------ -- ---- -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

ELMO


 <tablewidth="100%">Device Name                                                    PP        VL      PV        PT      HM        IP        CSP      CSV      CST   
 [Elmo Whistle Gold](http://www.elmomc.com/products/whistle-servo-drive-gold.htm)      (./)      \-      (./)      ?       (./)      (./)      ?        ?        ?        -- ---------------------------------------------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

maxon


 <tablewidth="100%">Device Name             PP        VL      PV        PT      HM        IP      CSP       CSV      CST   
 [maxon EPOS4](http://epos.maxongroup.com)      (./)      \-      (./)      \-      (./)      \-      (./)      ?        ?        -- ------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ---- -- ------ -- ----- -- ----- --
CHANGELOG

Changelog for package canopen_402

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • handle illegal states in nextStateForEnabling
  • tranistion -> transition
  • Contributors: Mathias Lüdtke, Mikael Arguedas

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)

  • 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
  • Contributors: Harsh Deshpande

0.8.0 (2018-07-11)

  • handle invalid supported drive modes object
  • made Mode402::registerMode a variadic template
  • use std::isnan
  • migrated to std::atomic
  • migrated to std::unordered_map and std::unordered_set
  • migrated to std pointers
  • fix initialization bug in ProfiledPositionMode
  • 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 state_switch_timeout parameter to motor.
  • 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
  • Contributors: Alexander Gutenkunst, Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

0.7.4 (2017-04-25)

  • use portable boost::math::isnan
  • Contributors: Mathias Lüdtke

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • do quickstop for halt only if operation is enabled
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • stop on internal limit only if limit was not reached before
  • hardened code with the help of cppcheck
  • Do not send control if it was not changed Otherwise invalid state machine transitions might get commanded
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • added option to turn off mode monitor
  • reset Fault_Reset bit in output only
  • enforce rising edge on fault reset bit on init and recover
  • Revert "Enforce rising edge on fault reset bit on init and recover"
  • enforce rising edge on fault reset bit on init and recover
  • Merge pull request #117 from ipa-mdl/condvars Reviewed condition variables
  • use boost::numeric_cast for limit checks since it handles 64bit values right
  • add clamping test
  • enforce target type limits
  • ModeTargetHelper is now template

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged canopen_402 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

This implements the CANopen device profile for drives and motion control. CiA(r) 402

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Thiago de Freitas
  • Mathias Lüdtke

Overview

This package contains the implementation of the CiA 402 DSP protocol. It just communicates via objects (canopen_master, no direct CAN communication is needed.

It runs the 402 state machine and per-mode state machines, if needed. It does not handle the read of actual positions, velocities, etc..

It recommended to map the control word (object 6040, 0x60400010), the status word (object 6041, 0x60410010) and the operation mode display (object 6061, 0x60610008) to PDOs.

Drive operation modes

All standardized drive modes are implemented, these modes can be substituted in sub classes and others can be added.

The following table lists all supported drive modes and their data objects. The objects used should be mapped to PDOs.


 <tablewidth="100%">**Name**      **ID**      **target object**      **RPDO mapping parameter**      comments         
 Profiled Position                    1           607A                   0x607a0020                                       
 Velocity                             2           6042                   0x60420010                                       
 Profiled Velocity                    3           60FF                   0x60ff0020                                       
 Profiled Torque                      4           6071                   0x60710010                      not yet tested   
 Interpolated Position                7           60C1sub1               0x60c10120                                       
 Cyclic Synchronous Position          8           607A                   0x607a0020                      not yet tested   
 Cyclic Synchronous Velocity          9           60FF                   0x60ff0020                      not yet tested   
 Cyclic Synchronous Torque            10          7071                   0x60710010                      not yet tested      -- --------------------------------- -- -------- -- ------------------- -- ---------------------------- -- ---------------- --

The modes can be switched at run-time, the 402 state might be switched in order to switch the mode, if necessary.

Not all devices support all operation modes. The driver limits the set of available modes based on object 6502.

Homing

Homing is supported, but is not a available as drive mode. Instead it is performed at initialization if homing is supported and the homing method is not zero.

The implemented homing mode just triggers the execution of the selected homing method. Please refer to your device manual to get a list of supported methods. Currently the driver aborts the procedure if the homing was not performed successfully within 60 seconds.

Tested Devices

The driver was tested for the below listed devices. For each of them, the supported modes are checked.

PP: Profiled Position, VL: Velocity, PV: Profiled Velocity, PT: Profiled Torque, HM: Homing, IP: Interpolated Position, CSP: Cyclic Synchronous Position, CSV: Cyclic Synchronous Velocity, CST: Cyclic Synchronous Torque

(./) : works, (X) : does not work, - : unsupported, ? : unknown/not tested

SCHUNK


 <tablewidth="100%">Device Name                                                                                 PP        VL        PV      PT      HM        IP        CSP      CSV      CST   
 [SCHUNK LWA4D](http://mobile.schunk-microsite.com/en/produkte/produkte/dextrous-lightweight-arm-lwa-4d.html)       (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [SCHUNK LWA4P](http://mobile.schunk-microsite.com/en/produkte/produkte/powerball-lightweight-arm-lwa-4p.html)      (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [PG+ 70](http://mobile.schunk-microsite.com/en/produkte/produkte/pg-plus-70-2-finger-parallel-gripper.html)        (./)      (./)      \-      \-      (./)      (./)      \-       \-       \-    
 [PRL](http://www.schunk.com/schunk_files/attachments/OM_AU_PRL__EN.pdf)                                            (./)      (./)      \-      \-      ?         (./)      \-       \-       \-       -- --------------------------------------------------------------------------------------------------------------- -- ------ -- ------ -- ---- -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

ELMO


 <tablewidth="100%">Device Name                                                    PP        VL      PV        PT      HM        IP        CSP      CSV      CST   
 [Elmo Whistle Gold](http://www.elmomc.com/products/whistle-servo-drive-gold.htm)      (./)      \-      (./)      ?       (./)      (./)      ?        ?        ?        -- ---------------------------------------------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

maxon


 <tablewidth="100%">Device Name             PP        VL      PV        PT      HM        IP      CSP       CSV      CST   
 [maxon EPOS4](http://epos.maxongroup.com)      (./)      \-      (./)      \-      (./)      \-      (./)      ?        ?        -- ------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ---- -- ------ -- ----- -- ----- --
CHANGELOG

Changelog for package canopen_402

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • handle illegal states in nextStateForEnabling
  • tranistion -> transition
  • Contributors: Mathias Lüdtke, Mikael Arguedas

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)

  • 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
  • Contributors: Harsh Deshpande

0.8.0 (2018-07-11)

  • handle invalid supported drive modes object
  • made Mode402::registerMode a variadic template
  • use std::isnan
  • migrated to std::atomic
  • migrated to std::unordered_map and std::unordered_set
  • migrated to std pointers
  • fix initialization bug in ProfiledPositionMode
  • 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 state_switch_timeout parameter to motor.
  • 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
  • Contributors: Alexander Gutenkunst, Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

0.7.4 (2017-04-25)

  • use portable boost::math::isnan
  • Contributors: Mathias Lüdtke

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • do quickstop for halt only if operation is enabled
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • stop on internal limit only if limit was not reached before
  • hardened code with the help of cppcheck
  • Do not send control if it was not changed Otherwise invalid state machine transitions might get commanded
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • added option to turn off mode monitor
  • reset Fault_Reset bit in output only
  • enforce rising edge on fault reset bit on init and recover
  • Revert "Enforce rising edge on fault reset bit on init and recover"
  • enforce rising edge on fault reset bit on init and recover
  • Merge pull request #117 from ipa-mdl/condvars Reviewed condition variables
  • use boost::numeric_cast for limit checks since it handles 64bit values right
  • add clamping test
  • enforce target type limits
  • ModeTargetHelper is now template

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged canopen_402 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

This implements the CANopen device profile for drives and motion control. CiA(r) 402

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Thiago de Freitas
  • Mathias Lüdtke

Overview

This package contains the implementation of the CiA 402 DSP protocol. It just communicates via objects (canopen_master, no direct CAN communication is needed.

It runs the 402 state machine and per-mode state machines, if needed. It does not handle the read of actual positions, velocities, etc..

It recommended to map the control word (object 6040, 0x60400010), the status word (object 6041, 0x60410010) and the operation mode display (object 6061, 0x60610008) to PDOs.

Drive operation modes

All standardized drive modes are implemented, these modes can be substituted in sub classes and others can be added.

The following table lists all supported drive modes and their data objects. The objects used should be mapped to PDOs.


 <tablewidth="100%">**Name**      **ID**      **target object**      **RPDO mapping parameter**      comments         
 Profiled Position                    1           607A                   0x607a0020                                       
 Velocity                             2           6042                   0x60420010                                       
 Profiled Velocity                    3           60FF                   0x60ff0020                                       
 Profiled Torque                      4           6071                   0x60710010                      not yet tested   
 Interpolated Position                7           60C1sub1               0x60c10120                                       
 Cyclic Synchronous Position          8           607A                   0x607a0020                      not yet tested   
 Cyclic Synchronous Velocity          9           60FF                   0x60ff0020                      not yet tested   
 Cyclic Synchronous Torque            10          7071                   0x60710010                      not yet tested      -- --------------------------------- -- -------- -- ------------------- -- ---------------------------- -- ---------------- --

The modes can be switched at run-time, the 402 state might be switched in order to switch the mode, if necessary.

Not all devices support all operation modes. The driver limits the set of available modes based on object 6502.

Homing

Homing is supported, but is not a available as drive mode. Instead it is performed at initialization if homing is supported and the homing method is not zero.

The implemented homing mode just triggers the execution of the selected homing method. Please refer to your device manual to get a list of supported methods. Currently the driver aborts the procedure if the homing was not performed successfully within 60 seconds.

Tested Devices

The driver was tested for the below listed devices. For each of them, the supported modes are checked.

PP: Profiled Position, VL: Velocity, PV: Profiled Velocity, PT: Profiled Torque, HM: Homing, IP: Interpolated Position, CSP: Cyclic Synchronous Position, CSV: Cyclic Synchronous Velocity, CST: Cyclic Synchronous Torque

(./) : works, (X) : does not work, - : unsupported, ? : unknown/not tested

SCHUNK


 <tablewidth="100%">Device Name                                                                                 PP        VL        PV      PT      HM        IP        CSP      CSV      CST   
 [SCHUNK LWA4D](http://mobile.schunk-microsite.com/en/produkte/produkte/dextrous-lightweight-arm-lwa-4d.html)       (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [SCHUNK LWA4P](http://mobile.schunk-microsite.com/en/produkte/produkte/powerball-lightweight-arm-lwa-4p.html)      (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [PG+ 70](http://mobile.schunk-microsite.com/en/produkte/produkte/pg-plus-70-2-finger-parallel-gripper.html)        (./)      (./)      \-      \-      (./)      (./)      \-       \-       \-    
 [PRL](http://www.schunk.com/schunk_files/attachments/OM_AU_PRL__EN.pdf)                                            (./)      (./)      \-      \-      ?         (./)      \-       \-       \-       -- --------------------------------------------------------------------------------------------------------------- -- ------ -- ------ -- ---- -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

ELMO


 <tablewidth="100%">Device Name                                                    PP        VL      PV        PT      HM        IP        CSP      CSV      CST   
 [Elmo Whistle Gold](http://www.elmomc.com/products/whistle-servo-drive-gold.htm)      (./)      \-      (./)      ?       (./)      (./)      ?        ?        ?        -- ---------------------------------------------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

maxon


 <tablewidth="100%">Device Name             PP        VL      PV        PT      HM        IP      CSP       CSV      CST   
 [maxon EPOS4](http://epos.maxongroup.com)      (./)      \-      (./)      \-      (./)      \-      (./)      ?        ?        -- ------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ---- -- ------ -- ----- -- ----- --
CHANGELOG

Changelog for package canopen_402

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • handle illegal states in nextStateForEnabling
  • tranistion -> transition
  • Contributors: Mathias Lüdtke, Mikael Arguedas

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)

  • 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
  • Contributors: Harsh Deshpande

0.8.0 (2018-07-11)

  • handle invalid supported drive modes object
  • made Mode402::registerMode a variadic template
  • use std::isnan
  • migrated to std::atomic
  • migrated to std::unordered_map and std::unordered_set
  • migrated to std pointers
  • fix initialization bug in ProfiledPositionMode
  • 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 state_switch_timeout parameter to motor.
  • 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
  • Contributors: Alexander Gutenkunst, Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

0.7.4 (2017-04-25)

  • use portable boost::math::isnan
  • Contributors: Mathias Lüdtke

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • do quickstop for halt only if operation is enabled
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • stop on internal limit only if limit was not reached before
  • hardened code with the help of cppcheck
  • Do not send control if it was not changed Otherwise invalid state machine transitions might get commanded
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • added option to turn off mode monitor
  • reset Fault_Reset bit in output only
  • enforce rising edge on fault reset bit on init and recover
  • Revert "Enforce rising edge on fault reset bit on init and recover"
  • enforce rising edge on fault reset bit on init and recover
  • Merge pull request #117 from ipa-mdl/condvars Reviewed condition variables
  • use boost::numeric_cast for limit checks since it handles 64bit values right
  • add clamping test
  • enforce target type limits
  • ModeTargetHelper is now template

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged canopen_402 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

This implements the CANopen device profile for drives and motion control. CiA(r) 402

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Thiago de Freitas
  • Mathias Lüdtke

Overview

This package contains the implementation of the CiA 402 DSP protocol. It just communicates via objects (canopen_master, no direct CAN communication is needed.

It runs the 402 state machine and per-mode state machines, if needed. It does not handle the read of actual positions, velocities, etc..

It recommended to map the control word (object 6040, 0x60400010), the status word (object 6041, 0x60410010) and the operation mode display (object 6061, 0x60610008) to PDOs.

Drive operation modes

All standardized drive modes are implemented, these modes can be substituted in sub classes and others can be added.

The following table lists all supported drive modes and their data objects. The objects used should be mapped to PDOs.


 <tablewidth="100%">**Name**      **ID**      **target object**      **RPDO mapping parameter**      comments         
 Profiled Position                    1           607A                   0x607a0020                                       
 Velocity                             2           6042                   0x60420010                                       
 Profiled Velocity                    3           60FF                   0x60ff0020                                       
 Profiled Torque                      4           6071                   0x60710010                      not yet tested   
 Interpolated Position                7           60C1sub1               0x60c10120                                       
 Cyclic Synchronous Position          8           607A                   0x607a0020                      not yet tested   
 Cyclic Synchronous Velocity          9           60FF                   0x60ff0020                      not yet tested   
 Cyclic Synchronous Torque            10          7071                   0x60710010                      not yet tested      -- --------------------------------- -- -------- -- ------------------- -- ---------------------------- -- ---------------- --

The modes can be switched at run-time, the 402 state might be switched in order to switch the mode, if necessary.

Not all devices support all operation modes. The driver limits the set of available modes based on object 6502.

Homing

Homing is supported, but is not a available as drive mode. Instead it is performed at initialization if homing is supported and the homing method is not zero.

The implemented homing mode just triggers the execution of the selected homing method. Please refer to your device manual to get a list of supported methods. Currently the driver aborts the procedure if the homing was not performed successfully within 60 seconds.

Tested Devices

The driver was tested for the below listed devices. For each of them, the supported modes are checked.

PP: Profiled Position, VL: Velocity, PV: Profiled Velocity, PT: Profiled Torque, HM: Homing, IP: Interpolated Position, CSP: Cyclic Synchronous Position, CSV: Cyclic Synchronous Velocity, CST: Cyclic Synchronous Torque

(./) : works, (X) : does not work, - : unsupported, ? : unknown/not tested

SCHUNK


 <tablewidth="100%">Device Name                                                                                 PP        VL        PV      PT      HM        IP        CSP      CSV      CST   
 [SCHUNK LWA4D](http://mobile.schunk-microsite.com/en/produkte/produkte/dextrous-lightweight-arm-lwa-4d.html)       (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [SCHUNK LWA4P](http://mobile.schunk-microsite.com/en/produkte/produkte/powerball-lightweight-arm-lwa-4p.html)      (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [PG+ 70](http://mobile.schunk-microsite.com/en/produkte/produkte/pg-plus-70-2-finger-parallel-gripper.html)        (./)      (./)      \-      \-      (./)      (./)      \-       \-       \-    
 [PRL](http://www.schunk.com/schunk_files/attachments/OM_AU_PRL__EN.pdf)                                            (./)      (./)      \-      \-      ?         (./)      \-       \-       \-       -- --------------------------------------------------------------------------------------------------------------- -- ------ -- ------ -- ---- -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

ELMO


 <tablewidth="100%">Device Name                                                    PP        VL      PV        PT      HM        IP        CSP      CSV      CST   
 [Elmo Whistle Gold](http://www.elmomc.com/products/whistle-servo-drive-gold.htm)      (./)      \-      (./)      ?       (./)      (./)      ?        ?        ?        -- ---------------------------------------------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

maxon


 <tablewidth="100%">Device Name             PP        VL      PV        PT      HM        IP      CSP       CSV      CST   
 [maxon EPOS4](http://epos.maxongroup.com)      (./)      \-      (./)      \-      (./)      \-      (./)      ?        ?        -- ------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ---- -- ------ -- ----- -- ----- --
CHANGELOG

Changelog for package canopen_402

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • handle illegal states in nextStateForEnabling
  • tranistion -> transition
  • Contributors: Mathias Lüdtke, Mikael Arguedas

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)

  • 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
  • Contributors: Harsh Deshpande

0.8.0 (2018-07-11)

  • handle invalid supported drive modes object
  • made Mode402::registerMode a variadic template
  • use std::isnan
  • migrated to std::atomic
  • migrated to std::unordered_map and std::unordered_set
  • migrated to std pointers
  • fix initialization bug in ProfiledPositionMode
  • 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 state_switch_timeout parameter to motor.
  • 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
  • Contributors: Alexander Gutenkunst, Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

0.7.4 (2017-04-25)

  • use portable boost::math::isnan
  • Contributors: Mathias Lüdtke

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • do quickstop for halt only if operation is enabled
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • stop on internal limit only if limit was not reached before
  • hardened code with the help of cppcheck
  • Do not send control if it was not changed Otherwise invalid state machine transitions might get commanded
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • added option to turn off mode monitor
  • reset Fault_Reset bit in output only
  • enforce rising edge on fault reset bit on init and recover
  • Revert "Enforce rising edge on fault reset bit on init and recover"
  • enforce rising edge on fault reset bit on init and recover
  • Merge pull request #117 from ipa-mdl/condvars Reviewed condition variables
  • use boost::numeric_cast for limit checks since it handles 64bit values right
  • add clamping test
  • enforce target type limits
  • ModeTargetHelper is now template

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged canopen_402 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

This implements the CANopen device profile for drives and motion control. CiA(r) 402

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Thiago de Freitas
  • Mathias Lüdtke

Overview

This package contains the implementation of the CiA 402 DSP protocol. It just communicates via objects (canopen_master, no direct CAN communication is needed.

It runs the 402 state machine and per-mode state machines, if needed. It does not handle the read of actual positions, velocities, etc..

It recommended to map the control word (object 6040, 0x60400010), the status word (object 6041, 0x60410010) and the operation mode display (object 6061, 0x60610008) to PDOs.

Drive operation modes

All standardized drive modes are implemented, these modes can be substituted in sub classes and others can be added.

The following table lists all supported drive modes and their data objects. The objects used should be mapped to PDOs.


 <tablewidth="100%">**Name**      **ID**      **target object**      **RPDO mapping parameter**      comments         
 Profiled Position                    1           607A                   0x607a0020                                       
 Velocity                             2           6042                   0x60420010                                       
 Profiled Velocity                    3           60FF                   0x60ff0020                                       
 Profiled Torque                      4           6071                   0x60710010                      not yet tested   
 Interpolated Position                7           60C1sub1               0x60c10120                                       
 Cyclic Synchronous Position          8           607A                   0x607a0020                      not yet tested   
 Cyclic Synchronous Velocity          9           60FF                   0x60ff0020                      not yet tested   
 Cyclic Synchronous Torque            10          7071                   0x60710010                      not yet tested      -- --------------------------------- -- -------- -- ------------------- -- ---------------------------- -- ---------------- --

The modes can be switched at run-time, the 402 state might be switched in order to switch the mode, if necessary.

Not all devices support all operation modes. The driver limits the set of available modes based on object 6502.

Homing

Homing is supported, but is not a available as drive mode. Instead it is performed at initialization if homing is supported and the homing method is not zero.

The implemented homing mode just triggers the execution of the selected homing method. Please refer to your device manual to get a list of supported methods. Currently the driver aborts the procedure if the homing was not performed successfully within 60 seconds.

Tested Devices

The driver was tested for the below listed devices. For each of them, the supported modes are checked.

PP: Profiled Position, VL: Velocity, PV: Profiled Velocity, PT: Profiled Torque, HM: Homing, IP: Interpolated Position, CSP: Cyclic Synchronous Position, CSV: Cyclic Synchronous Velocity, CST: Cyclic Synchronous Torque

(./) : works, (X) : does not work, - : unsupported, ? : unknown/not tested

SCHUNK


 <tablewidth="100%">Device Name                                                                                 PP        VL        PV      PT      HM        IP        CSP      CSV      CST   
 [SCHUNK LWA4D](http://mobile.schunk-microsite.com/en/produkte/produkte/dextrous-lightweight-arm-lwa-4d.html)       (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [SCHUNK LWA4P](http://mobile.schunk-microsite.com/en/produkte/produkte/powerball-lightweight-arm-lwa-4p.html)      (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [PG+ 70](http://mobile.schunk-microsite.com/en/produkte/produkte/pg-plus-70-2-finger-parallel-gripper.html)        (./)      (./)      \-      \-      (./)      (./)      \-       \-       \-    
 [PRL](http://www.schunk.com/schunk_files/attachments/OM_AU_PRL__EN.pdf)                                            (./)      (./)      \-      \-      ?         (./)      \-       \-       \-       -- --------------------------------------------------------------------------------------------------------------- -- ------ -- ------ -- ---- -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

ELMO


 <tablewidth="100%">Device Name                                                    PP        VL      PV        PT      HM        IP        CSP      CSV      CST   
 [Elmo Whistle Gold](http://www.elmomc.com/products/whistle-servo-drive-gold.htm)      (./)      \-      (./)      ?       (./)      (./)      ?        ?        ?        -- ---------------------------------------------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

maxon


 <tablewidth="100%">Device Name             PP        VL      PV        PT      HM        IP      CSP       CSV      CST   
 [maxon EPOS4](http://epos.maxongroup.com)      (./)      \-      (./)      \-      (./)      \-      (./)      ?        ?        -- ------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ---- -- ------ -- ----- -- ----- --
CHANGELOG

Changelog for package canopen_402

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • handle illegal states in nextStateForEnabling
  • tranistion -> transition
  • Contributors: Mathias Lüdtke, Mikael Arguedas

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)

  • 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
  • Contributors: Harsh Deshpande

0.8.0 (2018-07-11)

  • handle invalid supported drive modes object
  • made Mode402::registerMode a variadic template
  • use std::isnan
  • migrated to std::atomic
  • migrated to std::unordered_map and std::unordered_set
  • migrated to std pointers
  • fix initialization bug in ProfiledPositionMode
  • 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 state_switch_timeout parameter to motor.
  • 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
  • Contributors: Alexander Gutenkunst, Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

0.7.4 (2017-04-25)

  • use portable boost::math::isnan
  • Contributors: Mathias Lüdtke

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • do quickstop for halt only if operation is enabled
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • stop on internal limit only if limit was not reached before
  • hardened code with the help of cppcheck
  • Do not send control if it was not changed Otherwise invalid state machine transitions might get commanded
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • added option to turn off mode monitor
  • reset Fault_Reset bit in output only
  • enforce rising edge on fault reset bit on init and recover
  • Revert "Enforce rising edge on fault reset bit on init and recover"
  • enforce rising edge on fault reset bit on init and recover
  • Merge pull request #117 from ipa-mdl/condvars Reviewed condition variables
  • use boost::numeric_cast for limit checks since it handles 64bit values right
  • add clamping test
  • enforce target type limits
  • ModeTargetHelper is now template

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged canopen_402 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

This implements the CANopen device profile for drives and motion control. CiA(r) 402

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Thiago de Freitas
  • Mathias Lüdtke

Overview

This package contains the implementation of the CiA 402 DSP protocol. It just communicates via objects (canopen_master, no direct CAN communication is needed.

It runs the 402 state machine and per-mode state machines, if needed. It does not handle the read of actual positions, velocities, etc..

It recommended to map the control word (object 6040, 0x60400010), the status word (object 6041, 0x60410010) and the operation mode display (object 6061, 0x60610008) to PDOs.

Drive operation modes

All standardized drive modes are implemented, these modes can be substituted in sub classes and others can be added.

The following table lists all supported drive modes and their data objects. The objects used should be mapped to PDOs.


 <tablewidth="100%">**Name**      **ID**      **target object**      **RPDO mapping parameter**      comments         
 Profiled Position                    1           607A                   0x607a0020                                       
 Velocity                             2           6042                   0x60420010                                       
 Profiled Velocity                    3           60FF                   0x60ff0020                                       
 Profiled Torque                      4           6071                   0x60710010                      not yet tested   
 Interpolated Position                7           60C1sub1               0x60c10120                                       
 Cyclic Synchronous Position          8           607A                   0x607a0020                      not yet tested   
 Cyclic Synchronous Velocity          9           60FF                   0x60ff0020                      not yet tested   
 Cyclic Synchronous Torque            10          7071                   0x60710010                      not yet tested      -- --------------------------------- -- -------- -- ------------------- -- ---------------------------- -- ---------------- --

The modes can be switched at run-time, the 402 state might be switched in order to switch the mode, if necessary.

Not all devices support all operation modes. The driver limits the set of available modes based on object 6502.

Homing

Homing is supported, but is not a available as drive mode. Instead it is performed at initialization if homing is supported and the homing method is not zero.

The implemented homing mode just triggers the execution of the selected homing method. Please refer to your device manual to get a list of supported methods. Currently the driver aborts the procedure if the homing was not performed successfully within 60 seconds.

Tested Devices

The driver was tested for the below listed devices. For each of them, the supported modes are checked.

PP: Profiled Position, VL: Velocity, PV: Profiled Velocity, PT: Profiled Torque, HM: Homing, IP: Interpolated Position, CSP: Cyclic Synchronous Position, CSV: Cyclic Synchronous Velocity, CST: Cyclic Synchronous Torque

(./) : works, (X) : does not work, - : unsupported, ? : unknown/not tested

SCHUNK


 <tablewidth="100%">Device Name                                                                                 PP        VL        PV      PT      HM        IP        CSP      CSV      CST   
 [SCHUNK LWA4D](http://mobile.schunk-microsite.com/en/produkte/produkte/dextrous-lightweight-arm-lwa-4d.html)       (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [SCHUNK LWA4P](http://mobile.schunk-microsite.com/en/produkte/produkte/powerball-lightweight-arm-lwa-4p.html)      (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [PG+ 70](http://mobile.schunk-microsite.com/en/produkte/produkte/pg-plus-70-2-finger-parallel-gripper.html)        (./)      (./)      \-      \-      (./)      (./)      \-       \-       \-    
 [PRL](http://www.schunk.com/schunk_files/attachments/OM_AU_PRL__EN.pdf)                                            (./)      (./)      \-      \-      ?         (./)      \-       \-       \-       -- --------------------------------------------------------------------------------------------------------------- -- ------ -- ------ -- ---- -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

ELMO


 <tablewidth="100%">Device Name                                                    PP        VL      PV        PT      HM        IP        CSP      CSV      CST   
 [Elmo Whistle Gold](http://www.elmomc.com/products/whistle-servo-drive-gold.htm)      (./)      \-      (./)      ?       (./)      (./)      ?        ?        ?        -- ---------------------------------------------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

maxon


 <tablewidth="100%">Device Name             PP        VL      PV        PT      HM        IP      CSP       CSV      CST   
 [maxon EPOS4](http://epos.maxongroup.com)      (./)      \-      (./)      \-      (./)      \-      (./)      ?        ?        -- ------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ---- -- ------ -- ----- -- ----- --
CHANGELOG

Changelog for package canopen_402

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • handle illegal states in nextStateForEnabling
  • tranistion -> transition
  • Contributors: Mathias Lüdtke, Mikael Arguedas

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)

  • 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
  • Contributors: Harsh Deshpande

0.8.0 (2018-07-11)

  • handle invalid supported drive modes object
  • made Mode402::registerMode a variadic template
  • use std::isnan
  • migrated to std::atomic
  • migrated to std::unordered_map and std::unordered_set
  • migrated to std pointers
  • fix initialization bug in ProfiledPositionMode
  • 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 state_switch_timeout parameter to motor.
  • 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
  • Contributors: Alexander Gutenkunst, Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

0.7.4 (2017-04-25)

  • use portable boost::math::isnan
  • Contributors: Mathias Lüdtke

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • do quickstop for halt only if operation is enabled
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • stop on internal limit only if limit was not reached before
  • hardened code with the help of cppcheck
  • Do not send control if it was not changed Otherwise invalid state machine transitions might get commanded
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • added option to turn off mode monitor
  • reset Fault_Reset bit in output only
  • enforce rising edge on fault reset bit on init and recover
  • Revert "Enforce rising edge on fault reset bit on init and recover"
  • enforce rising edge on fault reset bit on init and recover
  • Merge pull request #117 from ipa-mdl/condvars Reviewed condition variables
  • use boost::numeric_cast for limit checks since it handles 64bit values right
  • add clamping test
  • enforce target type limits
  • ModeTargetHelper is now template

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged canopen_402 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

This implements the CANopen device profile for drives and motion control. CiA(r) 402

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Thiago de Freitas
  • Mathias Lüdtke

Overview

This package contains the implementation of the CiA 402 DSP protocol. It just communicates via objects (canopen_master, no direct CAN communication is needed.

It runs the 402 state machine and per-mode state machines, if needed. It does not handle the read of actual positions, velocities, etc..

It recommended to map the control word (object 6040, 0x60400010), the status word (object 6041, 0x60410010) and the operation mode display (object 6061, 0x60610008) to PDOs.

Drive operation modes

All standardized drive modes are implemented, these modes can be substituted in sub classes and others can be added.

The following table lists all supported drive modes and their data objects. The objects used should be mapped to PDOs.


 <tablewidth="100%">**Name**      **ID**      **target object**      **RPDO mapping parameter**      comments         
 Profiled Position                    1           607A                   0x607a0020                                       
 Velocity                             2           6042                   0x60420010                                       
 Profiled Velocity                    3           60FF                   0x60ff0020                                       
 Profiled Torque                      4           6071                   0x60710010                      not yet tested   
 Interpolated Position                7           60C1sub1               0x60c10120                                       
 Cyclic Synchronous Position          8           607A                   0x607a0020                      not yet tested   
 Cyclic Synchronous Velocity          9           60FF                   0x60ff0020                      not yet tested   
 Cyclic Synchronous Torque            10          7071                   0x60710010                      not yet tested      -- --------------------------------- -- -------- -- ------------------- -- ---------------------------- -- ---------------- --

The modes can be switched at run-time, the 402 state might be switched in order to switch the mode, if necessary.

Not all devices support all operation modes. The driver limits the set of available modes based on object 6502.

Homing

Homing is supported, but is not a available as drive mode. Instead it is performed at initialization if homing is supported and the homing method is not zero.

The implemented homing mode just triggers the execution of the selected homing method. Please refer to your device manual to get a list of supported methods. Currently the driver aborts the procedure if the homing was not performed successfully within 60 seconds.

Tested Devices

The driver was tested for the below listed devices. For each of them, the supported modes are checked.

PP: Profiled Position, VL: Velocity, PV: Profiled Velocity, PT: Profiled Torque, HM: Homing, IP: Interpolated Position, CSP: Cyclic Synchronous Position, CSV: Cyclic Synchronous Velocity, CST: Cyclic Synchronous Torque

(./) : works, (X) : does not work, - : unsupported, ? : unknown/not tested

SCHUNK


 <tablewidth="100%">Device Name                                                                                 PP        VL        PV      PT      HM        IP        CSP      CSV      CST   
 [SCHUNK LWA4D](http://mobile.schunk-microsite.com/en/produkte/produkte/dextrous-lightweight-arm-lwa-4d.html)       (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [SCHUNK LWA4P](http://mobile.schunk-microsite.com/en/produkte/produkte/powerball-lightweight-arm-lwa-4p.html)      (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [PG+ 70](http://mobile.schunk-microsite.com/en/produkte/produkte/pg-plus-70-2-finger-parallel-gripper.html)        (./)      (./)      \-      \-      (./)      (./)      \-       \-       \-    
 [PRL](http://www.schunk.com/schunk_files/attachments/OM_AU_PRL__EN.pdf)                                            (./)      (./)      \-      \-      ?         (./)      \-       \-       \-       -- --------------------------------------------------------------------------------------------------------------- -- ------ -- ------ -- ---- -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

ELMO


 <tablewidth="100%">Device Name                                                    PP        VL      PV        PT      HM        IP        CSP      CSV      CST   
 [Elmo Whistle Gold](http://www.elmomc.com/products/whistle-servo-drive-gold.htm)      (./)      \-      (./)      ?       (./)      (./)      ?        ?        ?        -- ---------------------------------------------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

maxon


 <tablewidth="100%">Device Name             PP        VL      PV        PT      HM        IP      CSP       CSV      CST   
 [maxon EPOS4](http://epos.maxongroup.com)      (./)      \-      (./)      \-      (./)      \-      (./)      ?        ?        -- ------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ---- -- ------ -- ----- -- ----- --
CHANGELOG

Changelog for package canopen_402

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • handle illegal states in nextStateForEnabling
  • tranistion -> transition
  • Contributors: Mathias Lüdtke, Mikael Arguedas

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)

  • 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
  • Contributors: Harsh Deshpande

0.8.0 (2018-07-11)

  • handle invalid supported drive modes object
  • made Mode402::registerMode a variadic template
  • use std::isnan
  • migrated to std::atomic
  • migrated to std::unordered_map and std::unordered_set
  • migrated to std pointers
  • fix initialization bug in ProfiledPositionMode
  • 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 state_switch_timeout parameter to motor.
  • 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
  • Contributors: Alexander Gutenkunst, Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

0.7.4 (2017-04-25)

  • use portable boost::math::isnan
  • Contributors: Mathias Lüdtke

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • do quickstop for halt only if operation is enabled
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • stop on internal limit only if limit was not reached before
  • hardened code with the help of cppcheck
  • Do not send control if it was not changed Otherwise invalid state machine transitions might get commanded
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • added option to turn off mode monitor
  • reset Fault_Reset bit in output only
  • enforce rising edge on fault reset bit on init and recover
  • Revert "Enforce rising edge on fault reset bit on init and recover"
  • enforce rising edge on fault reset bit on init and recover
  • Merge pull request #117 from ipa-mdl/condvars Reviewed condition variables
  • use boost::numeric_cast for limit checks since it handles 64bit values right
  • add clamping test
  • enforce target type limits
  • ModeTargetHelper is now template

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged canopen_402 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

This implements the CANopen device profile for drives and motion control. CiA(r) 402

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Thiago de Freitas
  • Mathias Lüdtke

Overview

This package contains the implementation of the CiA 402 DSP protocol. It just communicates via objects (canopen_master, no direct CAN communication is needed.

It runs the 402 state machine and per-mode state machines, if needed. It does not handle the read of actual positions, velocities, etc..

It recommended to map the control word (object 6040, 0x60400010), the status word (object 6041, 0x60410010) and the operation mode display (object 6061, 0x60610008) to PDOs.

Drive operation modes

All standardized drive modes are implemented, these modes can be substituted in sub classes and others can be added.

The following table lists all supported drive modes and their data objects. The objects used should be mapped to PDOs.


 <tablewidth="100%">**Name**      **ID**      **target object**      **RPDO mapping parameter**      comments         
 Profiled Position                    1           607A                   0x607a0020                                       
 Velocity                             2           6042                   0x60420010                                       
 Profiled Velocity                    3           60FF                   0x60ff0020                                       
 Profiled Torque                      4           6071                   0x60710010                      not yet tested   
 Interpolated Position                7           60C1sub1               0x60c10120                                       
 Cyclic Synchronous Position          8           607A                   0x607a0020                      not yet tested   
 Cyclic Synchronous Velocity          9           60FF                   0x60ff0020                      not yet tested   
 Cyclic Synchronous Torque            10          7071                   0x60710010                      not yet tested      -- --------------------------------- -- -------- -- ------------------- -- ---------------------------- -- ---------------- --

The modes can be switched at run-time, the 402 state might be switched in order to switch the mode, if necessary.

Not all devices support all operation modes. The driver limits the set of available modes based on object 6502.

Homing

Homing is supported, but is not a available as drive mode. Instead it is performed at initialization if homing is supported and the homing method is not zero.

The implemented homing mode just triggers the execution of the selected homing method. Please refer to your device manual to get a list of supported methods. Currently the driver aborts the procedure if the homing was not performed successfully within 60 seconds.

Tested Devices

The driver was tested for the below listed devices. For each of them, the supported modes are checked.

PP: Profiled Position, VL: Velocity, PV: Profiled Velocity, PT: Profiled Torque, HM: Homing, IP: Interpolated Position, CSP: Cyclic Synchronous Position, CSV: Cyclic Synchronous Velocity, CST: Cyclic Synchronous Torque

(./) : works, (X) : does not work, - : unsupported, ? : unknown/not tested

SCHUNK


 <tablewidth="100%">Device Name                                                                                 PP        VL        PV      PT      HM        IP        CSP      CSV      CST   
 [SCHUNK LWA4D](http://mobile.schunk-microsite.com/en/produkte/produkte/dextrous-lightweight-arm-lwa-4d.html)       (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [SCHUNK LWA4P](http://mobile.schunk-microsite.com/en/produkte/produkte/powerball-lightweight-arm-lwa-4p.html)      (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [PG+ 70](http://mobile.schunk-microsite.com/en/produkte/produkte/pg-plus-70-2-finger-parallel-gripper.html)        (./)      (./)      \-      \-      (./)      (./)      \-       \-       \-    
 [PRL](http://www.schunk.com/schunk_files/attachments/OM_AU_PRL__EN.pdf)                                            (./)      (./)      \-      \-      ?         (./)      \-       \-       \-       -- --------------------------------------------------------------------------------------------------------------- -- ------ -- ------ -- ---- -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

ELMO


 <tablewidth="100%">Device Name                                                    PP        VL      PV        PT      HM        IP        CSP      CSV      CST   
 [Elmo Whistle Gold](http://www.elmomc.com/products/whistle-servo-drive-gold.htm)      (./)      \-      (./)      ?       (./)      (./)      ?        ?        ?        -- ---------------------------------------------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

maxon


 <tablewidth="100%">Device Name             PP        VL      PV        PT      HM        IP      CSP       CSV      CST   
 [maxon EPOS4](http://epos.maxongroup.com)      (./)      \-      (./)      \-      (./)      \-      (./)      ?        ?        -- ------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ---- -- ------ -- ----- -- ----- --
CHANGELOG

Changelog for package canopen_402

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • handle illegal states in nextStateForEnabling
  • tranistion -> transition
  • Contributors: Mathias Lüdtke, Mikael Arguedas

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)

  • 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
  • Contributors: Harsh Deshpande

0.8.0 (2018-07-11)

  • handle invalid supported drive modes object
  • made Mode402::registerMode a variadic template
  • use std::isnan
  • migrated to std::atomic
  • migrated to std::unordered_map and std::unordered_set
  • migrated to std pointers
  • fix initialization bug in ProfiledPositionMode
  • 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 state_switch_timeout parameter to motor.
  • 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
  • Contributors: Alexander Gutenkunst, Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

0.7.4 (2017-04-25)

  • use portable boost::math::isnan
  • Contributors: Mathias Lüdtke

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • do quickstop for halt only if operation is enabled
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • stop on internal limit only if limit was not reached before
  • hardened code with the help of cppcheck
  • Do not send control if it was not changed Otherwise invalid state machine transitions might get commanded
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • added option to turn off mode monitor
  • reset Fault_Reset bit in output only
  • enforce rising edge on fault reset bit on init and recover
  • Revert "Enforce rising edge on fault reset bit on init and recover"
  • enforce rising edge on fault reset bit on init and recover
  • Merge pull request #117 from ipa-mdl/condvars Reviewed condition variables
  • use boost::numeric_cast for limit checks since it handles 64bit values right
  • add clamping test
  • enforce target type limits
  • ModeTargetHelper is now template

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged canopen_402 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

This implements the CANopen device profile for drives and motion control. CiA(r) 402

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Thiago de Freitas
  • Mathias Lüdtke

Overview

This package contains the implementation of the CiA 402 DSP protocol. It just communicates via objects (canopen_master, no direct CAN communication is needed.

It runs the 402 state machine and per-mode state machines, if needed. It does not handle the read of actual positions, velocities, etc..

It recommended to map the control word (object 6040, 0x60400010), the status word (object 6041, 0x60410010) and the operation mode display (object 6061, 0x60610008) to PDOs.

Drive operation modes

All standardized drive modes are implemented, these modes can be substituted in sub classes and others can be added.

The following table lists all supported drive modes and their data objects. The objects used should be mapped to PDOs.


 <tablewidth="100%">**Name**      **ID**      **target object**      **RPDO mapping parameter**      comments         
 Profiled Position                    1           607A                   0x607a0020                                       
 Velocity                             2           6042                   0x60420010                                       
 Profiled Velocity                    3           60FF                   0x60ff0020                                       
 Profiled Torque                      4           6071                   0x60710010                      not yet tested   
 Interpolated Position                7           60C1sub1               0x60c10120                                       
 Cyclic Synchronous Position          8           607A                   0x607a0020                      not yet tested   
 Cyclic Synchronous Velocity          9           60FF                   0x60ff0020                      not yet tested   
 Cyclic Synchronous Torque            10          7071                   0x60710010                      not yet tested      -- --------------------------------- -- -------- -- ------------------- -- ---------------------------- -- ---------------- --

The modes can be switched at run-time, the 402 state might be switched in order to switch the mode, if necessary.

Not all devices support all operation modes. The driver limits the set of available modes based on object 6502.

Homing

Homing is supported, but is not a available as drive mode. Instead it is performed at initialization if homing is supported and the homing method is not zero.

The implemented homing mode just triggers the execution of the selected homing method. Please refer to your device manual to get a list of supported methods. Currently the driver aborts the procedure if the homing was not performed successfully within 60 seconds.

Tested Devices

The driver was tested for the below listed devices. For each of them, the supported modes are checked.

PP: Profiled Position, VL: Velocity, PV: Profiled Velocity, PT: Profiled Torque, HM: Homing, IP: Interpolated Position, CSP: Cyclic Synchronous Position, CSV: Cyclic Synchronous Velocity, CST: Cyclic Synchronous Torque

(./) : works, (X) : does not work, - : unsupported, ? : unknown/not tested

SCHUNK


 <tablewidth="100%">Device Name                                                                                 PP        VL        PV      PT      HM        IP        CSP      CSV      CST   
 [SCHUNK LWA4D](http://mobile.schunk-microsite.com/en/produkte/produkte/dextrous-lightweight-arm-lwa-4d.html)       (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [SCHUNK LWA4P](http://mobile.schunk-microsite.com/en/produkte/produkte/powerball-lightweight-arm-lwa-4p.html)      (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [PG+ 70](http://mobile.schunk-microsite.com/en/produkte/produkte/pg-plus-70-2-finger-parallel-gripper.html)        (./)      (./)      \-      \-      (./)      (./)      \-       \-       \-    
 [PRL](http://www.schunk.com/schunk_files/attachments/OM_AU_PRL__EN.pdf)                                            (./)      (./)      \-      \-      ?         (./)      \-       \-       \-       -- --------------------------------------------------------------------------------------------------------------- -- ------ -- ------ -- ---- -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

ELMO


 <tablewidth="100%">Device Name                                                    PP        VL      PV        PT      HM        IP        CSP      CSV      CST   
 [Elmo Whistle Gold](http://www.elmomc.com/products/whistle-servo-drive-gold.htm)      (./)      \-      (./)      ?       (./)      (./)      ?        ?        ?        -- ---------------------------------------------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

maxon


 <tablewidth="100%">Device Name             PP        VL      PV        PT      HM        IP      CSP       CSV      CST   
 [maxon EPOS4](http://epos.maxongroup.com)      (./)      \-      (./)      \-      (./)      \-      (./)      ?        ?        -- ------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ---- -- ------ -- ----- -- ----- --
CHANGELOG

Changelog for package canopen_402

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • handle illegal states in nextStateForEnabling
  • tranistion -> transition
  • Contributors: Mathias Lüdtke, Mikael Arguedas

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)

  • 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
  • Contributors: Harsh Deshpande

0.8.0 (2018-07-11)

  • handle invalid supported drive modes object
  • made Mode402::registerMode a variadic template
  • use std::isnan
  • migrated to std::atomic
  • migrated to std::unordered_map and std::unordered_set
  • migrated to std pointers
  • fix initialization bug in ProfiledPositionMode
  • 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 state_switch_timeout parameter to motor.
  • 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
  • Contributors: Alexander Gutenkunst, Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

0.7.4 (2017-04-25)

  • use portable boost::math::isnan
  • Contributors: Mathias Lüdtke

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • do quickstop for halt only if operation is enabled
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • stop on internal limit only if limit was not reached before
  • hardened code with the help of cppcheck
  • Do not send control if it was not changed Otherwise invalid state machine transitions might get commanded
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • added option to turn off mode monitor
  • reset Fault_Reset bit in output only
  • enforce rising edge on fault reset bit on init and recover
  • Revert "Enforce rising edge on fault reset bit on init and recover"
  • enforce rising edge on fault reset bit on init and recover
  • Merge pull request #117 from ipa-mdl/condvars Reviewed condition variables
  • use boost::numeric_cast for limit checks since it handles 64bit values right
  • add clamping test
  • enforce target type limits
  • ModeTargetHelper is now template

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged canopen_402 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

This implements the CANopen device profile for drives and motion control. CiA(r) 402

Additional Links

Maintainers

  • Mathias Lüdtke

Authors

  • Thiago de Freitas
  • Mathias Lüdtke

Overview

This package contains the implementation of the CiA 402 DSP protocol. It just communicates via objects (canopen_master, no direct CAN communication is needed.

It runs the 402 state machine and per-mode state machines, if needed. It does not handle the read of actual positions, velocities, etc..

It recommended to map the control word (object 6040, 0x60400010), the status word (object 6041, 0x60410010) and the operation mode display (object 6061, 0x60610008) to PDOs.

Drive operation modes

All standardized drive modes are implemented, these modes can be substituted in sub classes and others can be added.

The following table lists all supported drive modes and their data objects. The objects used should be mapped to PDOs.


 <tablewidth="100%">**Name**      **ID**      **target object**      **RPDO mapping parameter**      comments         
 Profiled Position                    1           607A                   0x607a0020                                       
 Velocity                             2           6042                   0x60420010                                       
 Profiled Velocity                    3           60FF                   0x60ff0020                                       
 Profiled Torque                      4           6071                   0x60710010                      not yet tested   
 Interpolated Position                7           60C1sub1               0x60c10120                                       
 Cyclic Synchronous Position          8           607A                   0x607a0020                      not yet tested   
 Cyclic Synchronous Velocity          9           60FF                   0x60ff0020                      not yet tested   
 Cyclic Synchronous Torque            10          7071                   0x60710010                      not yet tested      -- --------------------------------- -- -------- -- ------------------- -- ---------------------------- -- ---------------- --

The modes can be switched at run-time, the 402 state might be switched in order to switch the mode, if necessary.

Not all devices support all operation modes. The driver limits the set of available modes based on object 6502.

Homing

Homing is supported, but is not a available as drive mode. Instead it is performed at initialization if homing is supported and the homing method is not zero.

The implemented homing mode just triggers the execution of the selected homing method. Please refer to your device manual to get a list of supported methods. Currently the driver aborts the procedure if the homing was not performed successfully within 60 seconds.

Tested Devices

The driver was tested for the below listed devices. For each of them, the supported modes are checked.

PP: Profiled Position, VL: Velocity, PV: Profiled Velocity, PT: Profiled Torque, HM: Homing, IP: Interpolated Position, CSP: Cyclic Synchronous Position, CSV: Cyclic Synchronous Velocity, CST: Cyclic Synchronous Torque

(./) : works, (X) : does not work, - : unsupported, ? : unknown/not tested

SCHUNK


 <tablewidth="100%">Device Name                                                                                 PP        VL        PV      PT      HM        IP        CSP      CSV      CST   
 [SCHUNK LWA4D](http://mobile.schunk-microsite.com/en/produkte/produkte/dextrous-lightweight-arm-lwa-4d.html)       (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [SCHUNK LWA4P](http://mobile.schunk-microsite.com/en/produkte/produkte/powerball-lightweight-arm-lwa-4p.html)      (./)      (./)      \-      \-      ?         (./)      \-       \-       \-    
 [PG+ 70](http://mobile.schunk-microsite.com/en/produkte/produkte/pg-plus-70-2-finger-parallel-gripper.html)        (./)      (./)      \-      \-      (./)      (./)      \-       \-       \-    
 [PRL](http://www.schunk.com/schunk_files/attachments/OM_AU_PRL__EN.pdf)                                            (./)      (./)      \-      \-      ?         (./)      \-       \-       \-       -- --------------------------------------------------------------------------------------------------------------- -- ------ -- ------ -- ---- -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

ELMO


 <tablewidth="100%">Device Name                                                    PP        VL      PV        PT      HM        IP        CSP      CSV      CST   
 [Elmo Whistle Gold](http://www.elmomc.com/products/whistle-servo-drive-gold.htm)      (./)      \-      (./)      ?       (./)      (./)      ?        ?        ?        -- ---------------------------------------------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ------ -- ----- -- ----- -- ----- --

maxon


 <tablewidth="100%">Device Name             PP        VL      PV        PT      HM        IP      CSP       CSV      CST   
 [maxon EPOS4](http://epos.maxongroup.com)      (./)      \-      (./)      \-      (./)      \-      (./)      ?        ?        -- ------------------------------------------- -- ------ -- ---- -- ------ -- ---- -- ------ -- ---- -- ------ -- ----- -- ----- --
CHANGELOG

Changelog for package canopen_402

0.8.5 (2020-09-22)

0.8.4 (2020-08-22)

  • handle illegal states in nextStateForEnabling
  • tranistion -> transition
  • Contributors: Mathias Lüdtke, Mikael Arguedas

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)

  • 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
  • Contributors: Harsh Deshpande

0.8.0 (2018-07-11)

  • handle invalid supported drive modes object
  • made Mode402::registerMode a variadic template
  • use std::isnan
  • migrated to std::atomic
  • migrated to std::unordered_map and std::unordered_set
  • migrated to std pointers
  • fix initialization bug in ProfiledPositionMode
  • 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 state_switch_timeout parameter to motor.
  • 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
  • Contributors: Alexander Gutenkunst, Mathias Lüdtke

0.7.6 (2017-08-30)

0.7.5 (2017-05-29)

0.7.4 (2017-04-25)

  • use portable boost::math::isnan
  • Contributors: Mathias Lüdtke

0.7.3 (2017-04-25)

0.7.2 (2017-03-28)

0.7.1 (2017-03-20)

  • do quickstop for halt only if operation is enabled
  • Contributors: Mathias Lüdtke

0.7.0 (2016-12-13)

0.6.5 (2016-12-10)

  • stop on internal limit only if limit was not reached before
  • hardened code with the help of cppcheck
  • Do not send control if it was not changed Otherwise invalid state machine transitions might get commanded
  • styled and sorted CMakeLists.txt
    • removed boilerplate comments
    • indention
    • reviewed exported dependencies
  • styled and sorted package.xml
  • update package URLs
  • added option to turn off mode monitor
  • reset Fault_Reset bit in output only
  • enforce rising edge on fault reset bit on init and recover
  • Revert "Enforce rising edge on fault reset bit on init and recover"
  • enforce rising edge on fault reset bit on init and recover
  • Merge pull request #117 from ipa-mdl/condvars Reviewed condition variables
  • use boost::numeric_cast for limit checks since it handles 64bit values right
  • add clamping test
  • enforce target type limits
  • ModeTargetHelper is now template

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged canopen_402 at Robotics Stack Exchange