Hi Rud,
Not quite, it’s actually completely the wrong command. get_motor_temperature
slipped through the cracks and made it into our Python SDK and our docs. It is a deprecated command, replaced by the more generic get_temperature
that takes an array of uint8_t indices, and returns an array of {uint8_t index, float celsiusTemperature}.
C. The motor indexes of 4 and 5 are not documented nor are they in the Python as best I can tell. I experimented using indexes from 0x00- 0x10
and there are other values reported. Any idea what they are? Indexes 0x02-0x05
and 0x09-0x0C
look like actual readings although others look like they are floating point values. (Say Hi to the firmware folks for me!)
Hi! get_temperature
can be added to our documentation in the future. Incidentally, the similar naming is probably how I managed to accidentally approve get_motor_temperature
for the public SDK in the first place. However, I don’t think we’ll ever publicly document all the valid indices. Much like all those pesky register definitions in datasheets that say bits are “reserved”, sometimes we have to keep some things to ourselves. I can tell you that 0x08 is the Nordic die temperature sensor.
Indeed it is, though you can reference this list for now:
There’s more to the motor thermal protection feature, but we’ll want to wait and get the real documentation done for that, rather than detailing it here in the forum. Thanks for spotting the errors!
Sorry I can’t be more enlightening this time…
Jim