You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My cpp code is :
output.mutable_robot()->mutable_joints()->mutable_position()->mutable_values()->Add(a);
egm_interface->write(output);
when use the \Joint
the rapid code is:
EGMSetupUC ROB_1, egmID1, "default", "UCdevice"\Joint,\CommTimeout:=10;
EGMActJoint egmID1;
EGMRunJoint egmID1, EGM_STOP_HOLD \J1;
it sucess ,the robot can move
But when i use the \Pose
the rapid code is
VAR pose corr_frame_offs:=[[0,0,0],[1,0,0,0]];
EGMSetupUC ROB_1, egmID1, "default", "UCdevice"\Pose,\CommTimeout:=10;
EGMActPose egmID1,\Tool:=tool0, \WObj:=wobj0,corr_frame_offs,
EGM_FRAME_WORLD, tool0.tframe, EGM_FRAME_TOOL;
EGMRunPose egmID1, EGM_STOP_HOLD \x \y \z;
cpp code is:
output.mutable_robot()->mutable_cartesian()->mutable_pose()->mutable_position()->set_x(500);
output.mutable_robot()->mutable_cartesian()->mutable_pose()->mutable_position()->set_y(300);
output.mutable_robot()->mutable_cartesian()->mutable_pose()->mutable_position()->set_z(800);
egm_interface->write(output);
the robot can recieve the data ,so the rapid process is not time out after 10 second ,but the robot dont move
This discussion was converted from issue #164 on September 01, 2023 16:26.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My cpp code is :
output.mutable_robot()->mutable_joints()->mutable_position()->mutable_values()->Add(a);
egm_interface->write(output);
when use the \Joint
the rapid code is:
EGMSetupUC ROB_1, egmID1, "default", "UCdevice"\Joint,\CommTimeout:=10;
EGMActJoint egmID1;
EGMRunJoint egmID1, EGM_STOP_HOLD \J1;
it sucess ,the robot can move
But when i use the \Pose
the rapid code is
VAR pose corr_frame_offs:=[[0,0,0],[1,0,0,0]];
EGMSetupUC ROB_1, egmID1, "default", "UCdevice"\Pose,\CommTimeout:=10;
EGMActPose egmID1,\Tool:=tool0, \WObj:=wobj0,corr_frame_offs,
EGM_FRAME_WORLD, tool0.tframe, EGM_FRAME_TOOL;
EGMRunPose egmID1, EGM_STOP_HOLD \x \y \z;
cpp code is:
output.mutable_robot()->mutable_cartesian()->mutable_pose()->mutable_position()->set_x(500);
output.mutable_robot()->mutable_cartesian()->mutable_pose()->mutable_position()->set_y(300);
output.mutable_robot()->mutable_cartesian()->mutable_pose()->mutable_position()->set_z(800);
egm_interface->write(output);
the robot can recieve the data ,so the rapid process is not time out after 10 second ,but the robot dont move
what's wrong with me
Beta Was this translation helpful? Give feedback.
All reactions