When an emergency stop is triggered, an alert is also generated. You can also determine the emergency stop status through GetAlertList. This section provides a dedicated interface for querying emergency stop status.
reason: Reason why the emergency stop was triggered
wireless_emergency_stop: Whether the wireless emergency stop is triggered
software_emergency_stop: Whether the software emergency stop is triggered
The remaining fields can be ignored.
Example Script
examples/other/emergency_state.py
Remarks
The software emergency stop interface is not yet open for secondary development use, so software emergency stop cannot be triggered through the interface.
If an empty JSON body is returned, it means all parameters are at their default values, which indicates that the emergency stop has not been triggered.