-
Notifications
You must be signed in to change notification settings - Fork 557
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
MotionPlanning Rviz Plugin Issues when Move Group is Launched in Namespace #1831
Comments
By launching rviz2 in the 'arm1' namespace, and then configuring the Move Group Namespace to be '/arm1' instead of 'arm1', the following issues (as defined in the 'Expected behavior' section above) were fixed:
|
I figured out the issue to #4 (the acceleration limit warning). I was not including the joint limits as a parameter in the Rviz node (i.e. under the robot_description_planning param). I thought that these were only necessary in the move_group node. |
Good to hear. @Abishalini is working on a class by class migration of all of the MoveIt params to use generate_params_library which will make knowing the possible and required params more knowable and enforceable. If you want to learn more about that, I would check out the following resources
Despite having pasted 3 links, the process of helping with this migration is pretty accessible (check out some of the PR diffs) so I would encourage to you get involved! |
Thanks @nbbrooks. Since I was able to address all the pressing issues here (except for the 3rd one - which really isn't such a big deal), I am closing this. |
@JafarAbdi and @nbbrooks
Description
For my project, I'm launching move_group in a robot specific namespace (let's call this 'arm1'). I then launch Rviz in the root namespace, and configure the MotionPlanning display's 'Move Group Namespace' to 'arm1'. Additionally, I changed the 'Planning Scene Topic' name from
/monitored_planning_scene
toarm1/monitored_planning_scene
and the 'Planned Path -> Trajectory Topic' name from/display_planned_path
toarm1/display_planned_path
. These two topic name changes in the MotionPlanning display were necessary in order to properly connect them to the topics advertised by the move_group node in the 'arm1' namespace. Not sure why that should be necessary tho - shouldn't the Move Group Namespace field automatically do that for me?At this point, I'm able to plan/execute motion using the interactive marker in Rviz without any issue. Next, I checked the 'Use Cartesian Path' checkbox in the MotionPlanning plugin, and tried to plan a path by clicking the 'Plan' button. After a second or two, Rviz crashes with this message.
Notice that it says that the current_state_monitor says that it's listening to the 'joint_states' topic. This was strange to me, since I expected it to be subscribing to the 'arm1/joint_states' topic (do you know why it's not?). I wasn't sure how to fix that so I explicitly remapped /joint_states to arm1/joint_states within the rviz2 node in my launch file. At this point, I relaunched, rechecked the 'Use Cartesian Path' checkbox, and was able to successfully plan and execute cartesian motion multiple times using the MotionPlanning display in rviz. However, the first time I plan a cartesian motion after checking the 'Use Cartesian Path' checkbox, I get the following message in the terminal.
The first thing that confuses me is the failure to lookup this transform. While access_panels_base_joint is modeled as a floating joint in my urdf (note that this joint is not part of my robot, but rather is a joint to define where an object is located w.r.t. the robot), I explicitly publish a static transform describing the relationship between platform_base_link and access_panels_base_link way before I tried to plan the cartesian motion. That said, at the end of the day, the cartesian motion still plans and executes fine, so maybe this is just a tf buffer issue?
Moving on, I'm also confused about the warning that my joint acceleration limits are not defined. They are in fact defined in my joint_limits.yaml so I'm not sure why the warning is saying they are not defined... Additionally, I haven't found any tutorial that says you can define acceleration limits in the URDF, but if that's really the case, I'd be interested if you could point me to a tutorial that shows me how to do it!
Your environment
Steps to reproduce
N/A
Expected behaviour
display_planned_path
andmonitored_planning_scene
topics in the MotionPlanning plugin display with the Move Group Namespace. Rather, the Move Group Namespace field within the display should automatically be applied to those fields.Actual behaviour
Already specified within the Expected behavior section.
The text was updated successfully, but these errors were encountered: