mpy-robot-tools icon indicating copy to clipboard operation
mpy-robot-tools copied to clipboard

Add `angle` and `reset_angle` to ctrl_plus

Open tylerfowle opened this issue 3 years ago • 1 comments

Add the ability to query and reset the angle of remotely controlled smart hubs

tylerfowle avatar Oct 10 '22 05:10 tylerfowle

Hi Tyler, You could add the method yourself. Lego calls reset angle Presetangle(). They show an example here:

https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#encoding-of-writedirectmodedata-0x81-0x51

I can't find any mention in their docs about reading the motor position, tacho, or angle.

antonvh avatar Oct 10 '22 06:10 antonvh