Skip to content

Set Emergency Stop

setEmergency(type) -> {void}

Set the robot to enter the emergency stop state

Parameters

Name Data Type Description
type EmergencyType Emergency stop method

Return Value

none

Example

JavaScript
1
2
3
4
5
...
axRobot.setEmergency(EmergencyType.Start); // enter emergency stop state
...
axRobot.setEmergency(EmergencyType.Stop); // end the emergency stop state
...