Current implementation posts an alarm and enters an infinite loop printing motoRosAssert: MotoROS2: Fatal Error (subcode: N).
While that works, it would be more helpful to us (and users) if it printed the expected value (whatever that would mean for specific motoRosAssert(..) invocations).
Current implementation posts an alarm and enters an infinite loop printing
motoRosAssert: MotoROS2: Fatal Error (subcode: N)
.While that works, it would be more helpful to us (and users) if it printed the expected value (whatever that would mean for specific
motoRosAssert(..)
invocations).Example:
https://github.com/Yaskawa-Global/motoros2/blob/d8b75ddcfe763db44f6f13ebc66c28469d154acd/src/PositionMonitor.c#L55-L62
an extended version of
motoRosAssert(..)
would output the values ofret
andRCL_RET_OK
as part of the message.