UR5 , ursim, TwistStamped is not moving #1500
Unanswered
PedroMoreo
asked this question in
Q&A
Replies: 1 comment 2 replies
-
To be honest, I have been struggling on getting moveit_servo running myself. A while back I implemented a PoC for a direct linear twist controller in https://github.com/urfeex/Universal_Robots_ROS2_Driver/tree/twist_controller |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm quite new to ROS 2 and MoveIt, and I'm currently trying to launch the URSim simulator (ur cap external controller), the UR driver, MoveIt, and the Servo node in order to send a twist command from another terminal.
For now, I'm trying to avoid using launch files and keeping everything manual from the command line.
Any advice or guidance would be greatly appreciated!
Thanks in advance.
ur5_simulated_config.yaml
attached the config.yaml
This is what I am launching in each terminal:
shell1
(for the next time just...)
docker start -i ursim
it cointains the EXTERNAL URCAP
shell2
PRESS PLAY IN THE URSIM
shell3 (SERVO)
Change controllers
global parameters
SRDF from driver folder:
Kinematicos in a temp file tmp/KIM.YAML for IK SOLVER
servo
we need to take care of the use_sim_time, otherwise the servo node is waiting forever the robot state
Everthing is fine unilt this point. No error, or warnings, we have signals of correct function.
shell4
Change command mode TWIST
ros2 service call /servo_node/switch_command_type moveit_msgs/srv/ServoCommandType "{command_type: 1}"
publish TWIST
Robot does not move.
The console doesn’t show any errors. Other times launch a warning due to singularities, but most of times, no response at all.
In another terminal:
which I think is the problem.
All the common checks, are fine, like the node list, the node topic...
Any advice or guidance would be greatly appreciated!
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions