JSON protocol:
Self-Collision Safety Detection Command Set Set the enabling state of the self-collision safety detection set_self_collision_enable
Set the enabling state of the self-collision safety detection. By default, it is disabled.
- Input parameter
| Parameter | Type | Description |
|---|---|---|
set_self_collision_enable | string | Set the enabling state of the self-collision safety detection. |
set_enable | bool | true: enable, false: disable. |
- Output parameter
| Parameter | Type | Description |
|---|---|---|
set_state | bool | true: success, false: failure. |
- Code demo
Input
json
{"command":"set_self_collision_enable","set_enable":false}Output
json
{
"command": "set_self_collision_enable",
"set_state": true
}Get the enabling state of the self-collision safety detection get_self_collision_enable
- Input parameter
| Parameter | Type | Description |
|---|---|---|
get_self_collision_enable | string | Get the enabling state of the self-collision safety detection. |
- Output parameter
| Parameter | Type | Description |
|---|---|---|
enable_state | bool | true: enable, false: disable. |
- Code demo
Input
json
{"command":"get_self_collision_enable"}Output
json
{
"command": "get_self_collision_enable",
"enable_state": false
}
