Skip to content

Latest commit

 

History

History
104 lines (76 loc) · 2.95 KB

rc.md

File metadata and controls

104 lines (76 loc) · 2.95 KB

Remote Control

The remote controlling allows you to steer the Vacuum.

Start Remote Control

Command

Key Value Comment
method "app_rc_start"
id id Random integer which is returned in the response used to link request and response.

Example

{
    "method": "app_rc_start",
    "id": 1756
}

Response

Standard response to succeeded command.

Example

{
    "result": ["ok"],
    "id": 1756
}

End Remote Control

Command

Key Value Comment
method "app_rc_end"
id id Random integer which is returned in the response used to link request and response.

Example

{
    "method": "app_rc_end",
    "id": 64346
}

Response

Standard response to succeeded command.

Example

{
    "result": ["ok"],
    "id": 64346
}

Movement Remote Control

Command

Key Value Comment
method "app_rc_move"
params [[{"omega":angle, "velocity":speed, "seqnum":sequence, "duration":time}]] angle range from -3.1 to 3.1), speed range from -0.3 to 0.3, sequence needs to increment with each command (0-1000?), time in ms
id id Random integer which is returned in the response used to link request and response.

Example

{
    "id": 353,
    "method": "app_rc_move",
    "params": [[{
                "omega": 0.5712,
                "velocity": 0,
                "seqnum": 19,
                "duration": 1500
            }
        ]]
}

Response

Standard response to succeeded command.

Example

{
    "result": ["ok"],
    "id": 353
}