-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Describe the bug
In the latest "release candiate" firmware (e.g. v0.5.2 release #562) , Requesting the axis motor error does not respond with a number, but a string "lu" instead.
To Reproduce
issue the command "r axis0.motor.error\n" on any serial/USB connection to the drive with the ASCII protocol.
Expected behavior
The axis should respond with a number (e.g. "0\n")
Desktop (please complete the following information):
- Ubuntu linux
- arm-none-eabi-gcc (15:9-2019-q4-0ubuntu1) 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]
- Any comm program (e.g. putty)
Additional context
There are additional error flags defined for the motor in the recent release, that cause the datatype of the motor error to go from uint32 to uint64. Formatting uint64 values with the linked library does not seem to to work. "%llu" outputs "lu" instead of the uint64 argument. Seems related to this: ARMmbed/mbed-os#6137
Probably other uint64 properties (line drv_fault) are also incorrectly displayed when requested.