Skip to content

Self-Collision Safety Detection Command Set

The Gen 3 robotic arm supports self-collision safety detection. With the self-collision safety detection is enabled, it can be ensured that all parts of the robotic arm will not collide with each other during trajectory planning, teaching and other motions.

Set the enabling state of the self-collision safety detection set_self_collision_enable

  • Input parameter
ParameterTypeDescription
set_self_collision_enablestringSet the enabling state of the self-collision safety detection.
  • Output parameter
ParameterTypeDescription
set_statebooltrue: success, false: failure.
  • Code demo

Input

Set the current virtual wall parameters.

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
ParameterTypeDescription
get_self_collision_enablestringGet the enabling state of the self-collision safety detection.
  • Output parameter
ParameterTypeDescription
enable_statebooltrue: enable, false: disable.
  • Code demo

Input

Set the current virtual wall parameters.

json
{"command":"get_self_collision_enable"}

Output

json
{
    "command": "get_self_collision_enable",
    "enable_state": false
}