-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to control UR5e robot #58
Comments
@fmauch I will appreciate it if you can help me with that. |
Another question is when i use the sockettest to communicate with the robot, I type in port 29999 in the software which is following the UR website. Should I still use 50001 on the teaching panel (installation -> urcaps). It seems no wrong with this port to play the program successfully. |
https://drive.google.com/open?id=1SpwJ8-SEQw7E5msEogW5Y6HcxdW6I_xh this is the ros serveice param and topic list when doing the step 6 Ur5e_moiveit https://drive.google.com/open?id=1NHPLleYA8yvYB62Sog7XtIP1Ss0ESvff |
I'm not @fmauch, but I would suggest to focus on one particular problem at a time. Let's forget about MoveIt, I would first get the basis driver working, including starting things on the teach pendant and configuring everything correctly. |
If I understand correctly, you managed to setup the robot and the driver, as you said that you see the robot model in RViz. As you managed to get the output "Robot ready to receive control commands." and the program keeps running on the controller, it looks like your setup is correct so far. By the way, you don't need to use remote-control mode to run the driver. However, you can also use the inbuilt Dashboard client to load and start the program. See the services in the The To control the robot using Moveit!, please check the solutions proposed inside #55. This will be moved into the documentation. |
Thanks for your reply. |
Actually, I have tried the inbuilt dashboard. When i try |
Remote control-mode is not needed to run the For using the dashboard client, for most calls remote-control mode is indeed needed. We will hopefully improve documentation on this. And yes, #47 is not yet solved. |
@fmauch Thanks,so for my case,I just want to use ros to control the robot with cable connecting PC and robot. Only the external control is enough,right? |
All the problems are solved by changing the port from 50001 to 50002. Thank you for your help! |
Do I understand correctly, that you configured the URCap on the robot to use port 50001 instead of 50002 before and changing that back solved the problem? |
Yes |
The default port value on the panel is 50001 at the beginning. We have also tried other values before,such as 30001,29999. Today we tried 50002,it worked. |
The default value should be 50002 by default, if I'm not mistaken. |
Maybe someone changed it before. I don’t know. When I used it at the first time,it was 50001. |
I'll go ahead and close this as it seems to work now. |
Introduction to the issue
I downloaded and built the universital_robot_ros_driver package and the fmatch_universial_robot package .(and also the external control URcap) And I can see the real pose of the robot, but it cannot execute through rqt or moveit(I mean the robot doesn't move at all.)
Versions
#my procedures
rosservice call /controller_manager/switch_controller "{start_controllers: [ 'scaled_pos_traj_controller'], stop_controllers: [ 'scaled_pos_traj_controller'], strictness: 1}"
and received "ok:ture"
With or without this command, I didn't see any difference in the rosservice list. Just a try.
command with the error
Traceback (most recent call last):
File "/home/bodon/catkin_ws/src/ros_controllers/rqt_joint_trajectory_controller/src/rqt_joint_trajectory_controller/joint_trajectory_controller.py", line 416, in _update_cmd_cb
pos = self._joint_pos[name]['position']
KeyError: 'position'
I have no idea about how to solve this.
[ERROR] [1575962118.560119003]: Exception while loading move_group capability 'move_group/MoveGroupExecuteService': MultiLibraryClassLoader: Could not create object of class type move_group::MoveGroupExecuteService as no factory exists for it. Make sure that the library exists and was explicitly loaded through MultiLibraryClassLoader::loadLibrary()
I changed the move_group/MoveGroupExecuteService to MoveGroupExecuteTrajectoryAction in move_group.launch, the error disappeared.
Then I tried to move the robot in rviz interface, the plan successed, but the execute failed with error
ABORTED: Solution found but controller failed during execution
Also, at the first, I have already changed to action_ns to scaled_pos_traj_controller/follow_joint_trajectory in controller.yam.
Action client not connected: /scaled_pos_traj_controller/joint_trajectory_action
Unable to identify any set of controllers that can actuate the specified joints: [ elbow_joint shoulder_lift_joint shoulder_pan_joint wrist_1_joint wrist_2_joint wrist_3_joint ]
[ERROR] [1575966062.495484247]: Known controllers and their joints:
The text was updated successfully, but these errors were encountered: