-
Notifications
You must be signed in to change notification settings - Fork 195
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
(WIP) Add Trajectory Cache Example #929
base: main
Are you sure you want to change the base?
(WIP) Add Trajectory Cache Example #929
Conversation
CMakeLists.txt
Outdated
@@ -62,6 +62,7 @@ add_subdirectory(doc/examples/planning_scene) | |||
add_subdirectory(doc/examples/planning_scene_ros_api) | |||
add_subdirectory(doc/examples/realtime_servo) | |||
add_subdirectory(doc/examples/robot_model_and_robot_state) | |||
add_subdirectory(doc/examples/trajectory_cache) |
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.
Thanks for adding a tutorial! I know that this is still WIP, but just figured I'd mention:
Please add your tutorial to the how to guides! The examples are for older tutorials, including some that are unmigrated from ROS 1. The page has this big ol' section at the top:
I wouldn't want your tutorial to get lost in there.
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.
Thanks for adding a tutorial! I know that this is still WIP, but just figured I'd mention:
Please add your tutorial to the how to guides! The examples are for older tutorials, including some that are unmigrated from ROS 1. The page has this big ol' section at the top:
I wouldn't want your tutorial to get lost in there.
Oh! What if I don't have the time to write a full tutorial, but just wanted to add a usage example for a PR that is in flight? Where is the best place for that?
The PR in question is:
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.
Sounds like a how-to is the perfect place! How to guides are meant for showing off examples for using a specific concept, while the full tutorials are more guided content for a new user. If you want to know more, you can read more about the whole how to vs. tutorial here.
I don't recommend any new work is put in the examples, as we're trying to move away from that.
Appreciate the work and look forward to seeing your talk at ROSCon!
9a57708
to
7b64daa
Compare
acd1d23
to
2757b3d
Compare
Signed-off-by: methylDragon <[email protected]>
2757b3d
to
0310059
Compare
Signed-off-by: methylDragon <[email protected]>
Signed-off-by: methylDragon <[email protected]>
Description
Setup
Running
NOTE: Sometimes a randomly generated demo goal is unreachable (or there's a weird move_group issue). Just restart the demo to resolve the issue.
Demo
The demo is a 4-phase demo. Hit next on the rviz visual tools dialog to advance the demo!
See video: It showcases cache population, pruning, and fetching (4x speed)
For (4), you should see the robot arm "snap" to the fetched trajectory. The diff of the robot's start position to the trajectory is visualized in red to be obvious.
Screenrecording2024-07-3012.33.03AM-ezgif.com-crop-video.2.webm