-
Notifications
You must be signed in to change notification settings - Fork 338
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
Documentation on using controllers.yaml
correctly with ros_control
#305
Comments
This appears to be a cross-post of Modifications for launching UR5e ros_control with new MoveIt! config on ROS Answers. Please do not cross-post like that. It leads to split discussions and duplication of effort. Decide which post you want to keep open, close the other and I'll see if I can answer your question. |
To clarify my intent, I posted an issue here specifically regarding ur_modern_driver documentation that arose from the more general question you referenced at ROS Answers. As a relative novice to ROS, I expected ROS Answers to operate like Stack Overflow. Part of this expectation was the assumption that I could post any well-formulated question there and get the ROS community to contribute different answers, while opening specific package issues such as this in GitHub where maintainers could respond. Without intending to sound unappreciative, the only reason why I see not to post in both places is because you are a common moderator between the two and it splits your own attention and effort. I acknowledge those are both valuable resources to the community, but I feel like making your help conditional on closing questions elsewhere is an impediment to community growth and is discouraging to newcomers. As a general practice, I do agree that issues and questions should be organized into appropriate channels, but its not always clear where to ask for help when the community is so small and fragmented. |
I do think the ur_modern_driver documentation could be improved for implementing ros_control. So, given the choice, I would prefer to continue the conversation here rather than ROS Answers. |
That makes sense and I may have missed the generic vs pkg-specific differences between the two posts. Not an excuse, but we get so many people spamming their support requests on just about every channel they find it's almost the first thing we check. It's obviously completely ok to leave both posts open if they are sufficiently different. Reading your post on ROS Answers I'm not entirely sure where the difference is you mention. It's both essentially the same question and you show the same files. The only difference I can see is that you mention |
As to the documentation on usage with I'll take a look at your configuration but as a first comment I would say that it's not necessarily possible to just merge whatever the MSA creates and whatever is already there in this repository (or any other It's also not flexible enough I believe to be able to deal with all of combinations of hw, hw interfaces and controller configurations, so some manual work will almost always be required. |
Can you please push your MoveIt config to somewhere so I can inspect it? It's probably because it's already 18h here, but the My second suggestion would be to just not use the output of the MSA. Configuring the use of Note also btw: the The file that you show also seems to contain stanzas for the configuration of I would advise against mixing all of this and would suggest to keep things separate. |
Thanks for understanding. I also agree that the intrinsic content of the questions is similar, and it wasn't my intent to spam. I realize there is some manual work after running the MSA, and I've tried to include the necessary changes. I pushed the config here. When you say that |
Looking at this a little more, it appears that even if I use the default config for ros_control (with I can launch ros_control using urXX_ros_control.launch, but when I launch moveit with rviz
This can be fixed by remapping
|
It seems to me that you're mixing relatively unrelated settings inside a single
Ok, I just saw some edits in @gavanderhoorn's comments, that I hadn't read in the email notifications, which make this post somehow redundant. |
@miguelprada: no, your comment actually succinctly summarises my ramblings. |
I mostly agree. My impression is that your issue is mainly about connecting MoveIt to the underlying driver and are not specific to this driver nor Will therefore close this issue, but feel free to continue discussing if you disagree with the reasoning above. |
Just to keep things connected: @ri-ceres, I believe #245 tracks the need for "improved documentation" about If you want, you could add a comment there to highlight the need for perhaps some improved examples on how to configure MoveIt for the different modes of |
Following the documentation in the README.md, I am trying to configure
ros_control
using the configuration provided by the MoveIt! Setup Assistant. I am using ROS Kinetic and have the goal of trying to continuously control a UR5e with a Robotiq 2f-140 gripper.The MoveIt! Setup Assistant does not output a
config/controllers.yaml
, but does createconfig/ros_controllers.yaml
, while the ur_modern README.md specifies to "add the desired controller to thecontrollers.yaml
in theurXX_moveit_config/config
folder". This seems to imply that this modification should be appended to theconfig/ros_controllers.yaml
that is generated by the MoveIt! Setup Assistant.This makes sense because it looks similar to the existing
ur_modern_driver/config/ur5e_controllers.yaml
. So, by copying the content into a new file calledmy_robot_moveit_config/config/controllers.yaml
and adding thecontroller_list:
needed for ROS control, we should have the necessary changes.Finally, modifying the paths in
ur_modern_driver/launch/ur5e_ros_control.launch
to reflect the path of the new configuration should load theros_control
config :However, following this logic, the
controller_manager
can't spawn/follow_joint_trajectory
:[ERROR] [1557271637.324512055]: Could not load controller 'follow_joint_trajectory' because the type was not specified. Did you load the controller configuration on the parameter server (namespace: '/follow_joint_trajectory')?
Are the instructions for using
ros_control
incomplete, or am I interpreting them incorrectly? I have found other issues such as #261, but they don't provide any more details.For reference, my new
my_robot_moveit_config/config/controllers.yaml
looks like this:The text was updated successfully, but these errors were encountered: