Skip to content
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

Add motion planning pipeline tutorial #80

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vatanaksoytezer
Copy link
Contributor

@vatanaksoytezer vatanaksoytezer commented Apr 26, 2021

  • Add motion planning pipeline tutorial without the trajectory visualization stuff (which is not ported yet).
  • Change other tutorial's documentation to point demo file from moveit_resources.

Depends on moveit/moveit_resources#64

Comment on lines +3 to +4
target_include_directories(motion_planning_pipeline_tutorial
PUBLIC include)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be like this?

Suggested change
target_include_directories(motion_planning_pipeline_tutorial
PUBLIC include)
target_include_directories(motion_planning_pipeline_tutorial
PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
"$<INSTALL_INTERFACE:include>"))

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @cmelliott2 thanks for the review! I think these two points to the same include directory, but I'll have to check it out and let you know.

@vatanaksoytezer vatanaksoytezer linked an issue Apr 29, 2021 that may be closed by this pull request

// Visualization
// ^^^^^^^^^^^^^
// The package MoveItVisualTools provides many capabilities for visualizing objects, robots,
// and trajectories in RViz as well as debugging tools such as step-by-step introspection of a script.
namespace rvt = rviz_visual_tools;
moveit_visual_tools::MoveItVisualTools visual_tools("panda_link0");
/* moveit_visual_tools::MoveItVisualTools visual_tools("panda_link0"); */
rviz_visual_tools::RvizVisualTools visual_tools("panda_link0", "moveit_cpp_tutorial", node);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be
rviz_visual_tools::RvizVisualTools visual_tools("panda_link0", "motion_planning_pipeline_tutorial", node);

and we need to subscribe to the markers in the rviz config.
image

This is the only message that RvizVisualTools prints. Would you mind adding some more for each robot move?

res.getMessage(response);

display_trajectory.trajectory_start = response.trajectory_start;
display_trajectory.trajectory.push_back(response.trajectory);
display_publisher.publish(display_trajectory);
visual_tools.publishTrajectoryLine(display_trajectory.trajectory.back(), joint_model_group);
display_publisher->publish(display_trajectory);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we remove this publisher? My guess is that the planning_pipeline and this are both displaying the result which causes it to be displayed twice.
double_traj_playback

@mergify
Copy link

mergify bot commented Nov 8, 2021

This pull request is in conflict. Could you fix it @vatanaksoytezer?

@davetcoleman
Copy link
Member

@vatanaksoytezer this PR is over a year old, is it still relevant?

@vatanaksoytezer
Copy link
Contributor Author

@vatanaksoytezer this PR is over a year old, is it still relevant?

Yeah it should actually, we just need to change it to use moveit_visual_tools and restructure according to new tutorials file structure

@davetcoleman
Copy link
Member

Can that get prioritized in the next MoveIt sprint somehow?

@vatanaksoytezer
Copy link
Contributor Author

Can that get prioritized in the next MoveIt sprint somehow?

I'll take a look, since now we are clear on Humble release.

@mergify
Copy link

mergify bot commented Sep 26, 2022

This pull request is in conflict. Could you fix it @vatanaksoytezer?

4 similar comments
@mergify
Copy link

mergify bot commented Apr 2, 2023

This pull request is in conflict. Could you fix it @vatanaksoytezer?

@mergify
Copy link

mergify bot commented Jul 18, 2023

This pull request is in conflict. Could you fix it @vatanaksoytezer?

@mergify
Copy link

mergify bot commented Aug 14, 2023

This pull request is in conflict. Could you fix it @vatanaksoytezer?

Copy link

mergify bot commented Dec 15, 2023

This pull request is in conflict. Could you fix it @vatanaksoytezer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Port "Motion Planning Pipeline" tutorial
4 participants