Yaskawa-Global / motoros2

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

refactor: check `AXIS_INVALID` with new getter #194

Closed gavanderhoorn closed 7 months ago

gavanderhoorn commented 7 months ago

Instead of reaching into the 'private' axisType array.

I also 'always' get confused why I have to go to the type member after indexing. This nicely hides that.

Minor.

Had this one still lying around after I submitted #179.