Greetings, I have created a code to click a button to engage emergency switch , when I am clicking that switch my code exits with the following error
Emergency Stop for Arm has been engaged
SDK_VERSION: 1.13.3
Tcp Report Rich connection successful
xarm report thread is quit.
*** stack smashing detected ***: terminated
Aborted (core dumped)
My function looks like
void emergency_stop(SerialCommunication &serialComm)
{
std::cout << "Emergency Stop for Arm has been engaged " << std::endl;
XArmWrapper xarm("192.168.1.120");
sleep_milliseconds(500);
xarm.EmergencyStop();
}
I am not sure why this is happening . Any help would be much appreciated.
Thank You