-
Notifications
You must be signed in to change notification settings - Fork 125
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
sdformat_urdf parser demo #265
Conversation
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
…all paths Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
I'm pretty sure CI is consistently broken on the |
Signed-off-by: Michael Carroll <michael@openrobotics.org>
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 PR should help with sdformat_urdf
+ Garden. We need to build that from source with Garden enabled on this project's CI.
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
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.
The demo isn't working for me on RViz, have you tried the latest state of this branch, @quarkytale ? I haven't dug to see what could be wrong.
Signed-off-by: methylDragon <methylDragon@gmail.com>
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Clean up shared libraries, and tick-tock RosGzPointCloud Tick-tock launch args Hard-tock ign_ in sources Migrate ign, ign_, IGN_ for sources, launch, and test files Migrate IGN_XXX_VER, IGN_T, header guards Migrate launchfile, launchfile args, and test source references Migrate ros_ign_XXX and gz_gazebo -> gz_sim Migrate ros_ign_XXX project names Migrate Ign, ign-, IGN_DEPS, ign-gazebo Migrate ignitionrobotics, ignitionrobotics/ros_ign, osrf/ros_ign Migrate ignition-version, IGNITION_VERSION, Ignition <LIB>, ros_ign_ci Signed-off-by: methylDragon <methylDragon@gmail.com>
…o quarkytale/parser_demo
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
|
c305a3c
to
1f936b9
Compare
fa9cf16
to
07bca97
Compare
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
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.
Some minor comments with things I needed to do for this to run
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
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 great! 🚀
* parser compatible model and launch framework Signed-off-by: Dharini Dutia <dharini@openrobotics.org> * added ground plane, common gz plugins, demo commands and cleaned install paths Signed-off-by: Dharini Dutia <dharini@openrobotics.org> * unique collision names and cleared flake Signed-off-by: Dharini Dutia <dharini@openrobotics.org> * updating model config Signed-off-by: Dharini Dutia <dharini@openrobotics.org> * building parser from source Signed-off-by: Dharini Dutia <dharini@openrobotics.org> * fix flake and update deb dependency for garden Signed-off-by: Dharini Dutia <dharini@openrobotics.org> * Move packages and files to gz Signed-off-by: methylDragon <methylDragon@gmail.com> * feedback and ign->gz Signed-off-by: Dharini Dutia <dharini@openrobotics.org> * Support ros_ign migration Clean up shared libraries, and tick-tock RosGzPointCloud Tick-tock launch args Hard-tock ign_ in sources Migrate ign, ign_, IGN_ for sources, launch, and test files Migrate IGN_XXX_VER, IGN_T, header guards Migrate launchfile, launchfile args, and test source references Migrate ros_ign_XXX and gz_gazebo -> gz_sim Migrate ros_ign_XXX project names Migrate Ign, ign-, IGN_DEPS, ign-gazebo Migrate ignitionrobotics, ignitionrobotics/ros_ign, osrf/ros_ign Migrate ignition-version, IGNITION_VERSION, Ignition <LIB>, ros_ign_ci Signed-off-by: methylDragon <methylDragon@gmail.com> * renaming and flake Signed-off-by: Dharini Dutia <dharini@openrobotics.org> * added ros commands Signed-off-by: Dharini Dutia <dharini@openrobotics.org> * gz-version Signed-off-by: Louise Poubel <louise@openrobotics.org> * feedback and ci trial Signed-off-by: Dharini Dutia <dharini@openrobotics.org> * removing garden condition Signed-off-by: Dharini Dutia <dharini@openrobotics.org> Signed-off-by: Dharini Dutia <dharini@openrobotics.org> Signed-off-by: Michael Carroll <michael@openrobotics.org> Signed-off-by: methylDragon <methylDragon@gmail.com> Signed-off-by: Louise Poubel <louise@openrobotics.org> Co-authored-by: Michael Carroll <michael@openrobotics.org> Co-authored-by: methylDragon <methylDragon@gmail.com> Co-authored-by: Louise Poubel <louise@openrobotics.org>
🎉 New demo
Summary
Demonstrating SDFormat XML as a robot description format instead of URDF XML using sdformat_urdf plugin. The parser takes the SDF file published on
/robot_description
topic by robot_state_publisher and converts it to URDF C++ DOM structures. Joint states and TFs are bridged usingros_ign_bridge
enabling RViz to visualize the RobotModel and odometry simulated by a Gazebo world.Also demonstrates a use-case of #259.
Changes made
Snapshots
vehicle_on_rviz.mp4
Test it
In a colcon workspace, install
ros_gz
andsdformat_urdf
from source. Make sure you have the latest Gazebo fortress release.Run the demo launch file with the rviz launch argument set.
Start the simulation in Gazebo and wait a second for TFs to be published.
Send commands for the vehicle to move in circles, matching its trajectory in Gazebo and RViz.
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.