Closed Luc90 closed 3 years ago
Hi @Luc90,
Can you check what state the EGM channel is in before and after the EGM RAPID instructions?
I.e. use EGMGetState(egm_id)
, which should be in any of these states:
EGM_STATE_DISCONNECTED
= 0
EGM_STATE_CONNECTED
= 1
EGM_STATE_RUNNING
= 4
Otherwise, you could try and use the RobotWare StateMachine Add-In. It is more stable than the RAPID example codes in https://github.com/ros-industrial/abb_libegm/issues/18.
Actually, I'm going to close this for now, due to inactivity.
If this is a still a problem for you @Luc90, please comment and we'll re-open.
Hello,
I use the ABB IRB 1200-5/0.9, RobotWare 6.11.01 and I work with the real robot.
I try to use EGM with the code provided in #18 Create code samples. I used the code "a1_joint_trajectory_node.cpp" successfully but when I try to use the code "a2_pose_trajectory_node.cpp", I get the following error on the Flexpendant "Event Message 50453", "Move not allowed in External Motion Interface".
When I run the Rapid code no error appears but when I run the "a2_pose_trjectory_node.cpp" code the Rapid code stop with the error mentioned above.
The Rapid code in the controller is the code provided in "EGMSamplesSolution Pack&Go".
`
`
I tried to get out EGMGetId egm_id; & EGMReset egm_id of the loop as mentioned in #54 but the error is still present. Do you know where this error comes from ?
Thanks for your help.