you would have to give the command a pose in base coordinates that matches what the tool frame currently is and then get your velocity vector in that frame. Everything has to be reduced back to base coordinates.
bcastets
I did something similar in the past:
https://dof.robotiq.com/discussion/1681/control-ur-robot-using-a-joystick-connected-on-a-pc#latest
The robot always stops after MoveL or MoveJ instruction. SpeedL or SpeedJ does not have this behaviour.
VidyaPuri
I know that MoveL and MoveJ are not the right commands. I am using speedL and speedJ, but the issue is that speedL only moves by base frame coordinate system. I would like to move it by TCP frame.bcastets said:I did something similar in the past:
https://dof.robotiq.com/discussion/1681/control-ur-robot-using-a-joystick-connected-on-a-pc#latest
The robot always stops after MoveL or MoveJ instruction. SpeedL or SpeedJ does not have this behaviour.
VidyaPuri
Is there a way to receive the returned values through socket connection? At the moment i am not using any program on UR side, only communication through Port 30003bcastets said:You can get the coordinate of a vector expressed in the base frame into a vector expressed in the TCP frame with the following script.
vector_Tcp_Frame=pose_trans(pose_inv(vector_Base_Frame), tcp_Base_Frame)
pose_trans is always confusing. I hope it is correct !
VidyaPuri
That would be great, thank you!matthewd92 said:I’ll be at a physical robot tomorrow and can take a look.
VidyaPuri
I know that MoveL and MoveJ are not the right commands. I am using speedL and speedJ, but the issue is that speedL can only accept base frame coordinates. But i want to move by TCP frame.bcastets said:I did something similar in the past:
https://dof.robotiq.com/discussion/1681/control-ur-robot-using-a-joystick-connected-on-a-pc#latest
The robot always stops after MoveL or MoveJ instruction. SpeedL or SpeedJ does not have this behaviour.
VidyaPuri
I know that MoveL and MoveJ are not the right commands. I am using speedL and speedJ, but the issue is that speedL only works with base coordinate system but i want to move it by TCP frame.bcastets said:I did something similar in the past:
https://dof.robotiq.com/discussion/1681/control-ur-robot-using-a-joystick-connected-on-a-pc#latest
The robot always stops after MoveL or MoveJ instruction. SpeedL or SpeedJ does not have this behaviour.
VidyaPuri
I know that MoveL and MoveJ are not the right commands. I am using speedL and speedJ, but the issue is that speedL can only accept base frame coordinates. But i want to move by TCP frame.bcastets said:I did something similar in the past:
https://dof.robotiq.com/discussion/1681/control-ur-robot-using-a-joystick-connected-on-a-pc#latest
The robot always stops after MoveL or MoveJ instruction. SpeedL or SpeedJ does not have this behaviour.
VidyaPuri
I know that MoveL and MoveJ are not the right commands. I am using speedL and speedJ, but the issue is that speedL only works with base coordinate system but i want to move it by TCP frame.bcastets said:I did something similar in the past:
https://dof.robotiq.com/discussion/1681/control-ur-robot-using-a-joystick-connected-on-a-pc#latest
The robot always stops after MoveL or MoveJ instruction. SpeedL or SpeedJ does not have this behaviour.
Hello everybody,
is it possible to move UR in tool space with speedL command? I am trying to make an interface to move robot with xbox controller but it only works in base frame or by joints (speedJ).
Also how do you make it to decelerate normaly, in my case when the input commands (speed..) stop comming robot tries to stop imediatly and it goes in protective stop.
Thank you very much!