Controlling a robot arm directly
Hello~
I have a UR5 which I would like to control in a more direct and continuous manner than what MoveIt allows. I imagine setting a pose/position for the arm's endeffector and through some kinematic magic the arm simply (un-)folds to reach this position (while respecting some velocity/acceleration/joint value limits).
I think I could use ros_control, maybe even an already existing controller for this, but I'm a bit lost in the whole ROS->MoveIt->ros_control->hardware chain and don't know where to start or what to look for (the documentation for most parts is... unhelpful). Also, is there a way to directly talk to a controller?
Thanks in advance, ~
Hi, did you manage to implement your idea? I'm trying to do a similiar thing but with the ur10 and I need to define a certain position of the end effector and the robot unfolds to get there. Have you managed this?
@JuanTelo I'm not sure if I'll have time for it. I was thinking of writing a custom controller which listens to a pose topic, calculates the IK solution and then does linear interpolation for the joints (with some de-/acceleration constraints). Let me know if you find/write something!
@Managarm I also thought that, write a script in which it would listen to a given pose of the endeffector and calculate the solution of the joints to make it move. My problem is with the IK since I don't have that much experience I'm having some difficulties in getting the IK of the ur5/ur10
@JuanTelo You can use the /compute_ik service for that, which will use the IK solver configured for your robot (for me trac-ik works best). See this answer
Hi, I know I'm a little bit late to the party, but How is it with implementing your own direct controller. I am trying to do the same for my master thesis. The whole way of controlling the robot with the trajectory action client is not working well for me and I also want to have my custom controller (not a PID). If you managed to find a way would you please give me some tips?