diff --git a/dwarfctl/internal/api/client.go b/dwarfctl/internal/api/client.go index cd4e6a3..be678ac 100644 --- a/dwarfctl/internal/api/client.go +++ b/dwarfctl/internal/api/client.go @@ -210,11 +210,11 @@ func (t *Telescope) MotorGetPosition(id int32) (*pb.ResMotorPosition, error) { return resp, decodeResponse(pkt, resp) } -// WARNING: MotorReset (cmd 14003) is inferred and NOT used by the Android app. -// Live testing showed it causes the telescope to reboot. Use with extreme caution. -// Disabled until properly reverse-engineered from the native .so libraries. +// MotorReset resets a motor (finds home via limit switch). +// cmd 14003 is inferred. WARNING: causes telescope reboot — but may be +// the only way to unblock an axis stuck at a mechanical limit. func (t *Telescope) MotorReset(id int32, direction bool) error { - return fmt.Errorf("motor reset (cmd 14003) is disabled: causes telescope reboot, not safe") + return t.sendNotify(CmdMotorReset, &pb.ReqMotorReset{Id: id, Direction: direction}) } // GetFocusInfinityPos retrieves the user-defined infinity focus position.