Yaskawa-Global / motoros2

ROS 2 (rcl, rclc & micro-ROS) node for MotoPlus-compatible Yaskawa Motoman robot controllers
96 stars 20 forks source link

PositionMonitor: assert on unexpected base track motion types #176

Closed gavanderhoorn closed 11 months ago

gavanderhoorn commented 11 months ago

As per title.

Without this, mpBuilder will log a warning:

warning: enumeration value ‘MOTION_TYPE_NOT_USED’ not handled in switch

which is annoying, and if configured to be more strict, will also 'break' the build.

gavanderhoorn commented 11 months ago

Just ran into a situation where I'm seeing 8011[63] where I wouldn't expect it.

I'll open an issue.