Remote control
Enter remote mode, move once, stop, and leave the mode.
Remote controls require a V1 session and explicit caller intent. Call RCStart(ctx, EmptyRequest{}) before movement. Each RCMove supplies linear velocity, angular velocity, duration, and a caller-managed sequence.
_, err := session.RCMove(ctx, roborock.RCMoveRequest{
Velocity: 0.1, Omega: 0, Duration: 500, Sequence: 1,
})Velocity is meters per second in −0.3 through 0.3; omega is radians per second in −0.8 through 0.8; duration is milliseconds in 1–5000. Check errors at every step.
Call RCStop to stop movement, then RCEnd to leave remote mode. Give cleanup its own bounded context if the movement context has already expired. Always close the device session afterward. Acknowledgement does not prove the robot moved or stopped; no movement command is automatically retried after uncertainty.
See session errors and the generated reference.