-
Notifications
You must be signed in to change notification settings - Fork 696
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
fix iss470 #643
base: melodic-devel
Are you sure you want to change the base?
fix iss470 #643
Conversation
Thanks for helping in improving MoveIt and open source robotics! |
I built this branch and
Maybe I'm missing something? I'm on |
I don't remember facing any such issue. But I'll look into it once I am done with my examinations. |
I don't know what's going on (gonna investigate some), but it isn't a problem with this PR. Update: I think the segfault was just a bad mix of branches checked out in my workspace between |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -10,14 +10,25 @@ | |||
<arg name="load_robot_description" value="true"/> | |||
</include> | |||
|
|||
<node pkg="tf2_ros" type="static_transform_publisher" name="virtual_joint_broadcaster_0" args="0 0 0 0 0 0 odom_combined base_footprint 100" /> | |||
<node pkg="tf2_ros" type="static_transform_publisher" name="virtual_joint_broadcaster_0" args="0 0 0 0 0 0 world panda_link0" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is definitely a positive change 👍
I believe you can set the initial joint values with |
This line should have removed the collosion confict |
It does fix the conflict in terms of allowing the tutorial to continue, but I still think it's confusing that the robot suddenly jumps to a good state. Best to fix the initial joint angles via launch file, I think. |
Description
Fixes Issue: #470
Issue:
Changes made:
motion_planning_pipeline_tutorial.cpp:
ready
state. (previously in collision)planning_scene->getCurrentStateNonConst().setToDefaultValues(joint_model_group, "ready");
robot_state
andjoint_model_group
.motion_planning_pipeline_tutorial.launch:
virtual_joint_broadcaster_0
args/source_list
param tojoint_state_publisher
move_group.launch
relay
node to remap/joint_states
to/joint_states_desired
(later topic required bymove_group
node)How changes fix the issue:
Setting the robot to
ready
state brings the joint configurations to a valid state. Though this fixes the state and planning issue, this still does not fix the visual of robot in RViz as moveit is not subscribing to/joint_states
. The changes in launch file fixes this issue.