xArm-Developer / xArm-CPLUS-SDK

C++ SDK for UFACTORY robots, 850, xArm5/6/7, and Lite6.
https://www.ufactory.cc/
BSD 3-Clause "New" or "Revised" License
41 stars 28 forks source link

Emergency stop example in API #13

Closed Akumar201 closed 1 year ago

Akumar201 commented 1 year ago

Hi, I would like to know if there is any example that can be used to stop the arm like it happens with emergency stop button?

Akumar201 commented 1 year ago

Hi, you just need to use this line in c++ code arm->motion_enable(false);

This issue has been resolved