-
Notifications
You must be signed in to change notification settings - Fork 2
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
Framework to view the buoy on RViz #50
Conversation
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
I'm able to load the meshes prefixed by diff --git a/buoy_description/hooks/buoy_description.dsv.in b/buoy_description/hooks/buoy_description.dsv.in
index 54beeea..c0ae662 100644
--- a/buoy_description/hooks/buoy_description.dsv.in
+++ b/buoy_description/hooks/buoy_description.dsv.in
@@ -1 +1 @@
-prepend-non-duplicate;IGN_GAZEBO_RESOURCE_PATH;share/@PROJECT_NAME@/models
+prepend-non-duplicate;IGN_GAZEBO_RESOURCE_PATH;share What Gazebo does is strip everything up to For example, with that change, after sourcing my colcon workspace, I see these values for the environment variable:
So consider a URI like this: Gazebo will try:
|
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.
Just gave it a quick try
…d fixed alph order Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
@@ -47,7 +47,7 @@ tether_bottom_link_cylinder.set_mat(Material(tether_density)) | |||
tether_bottom_link_mm = MassMatrix3d() | |||
tether_bottom_link_cylinder.mass_matrix(tether_bottom_link_mm) | |||
}@ | |||
<sdf version="1.8"> | |||
<sdf version="1.7"> |
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.
I think we should be able to keep 1.8 once we start using Fortress in sdformat_urdf
, see
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Though the functionality is still incomplete (tfs aren't being published, wip on ros_ign), this should be clear now to be merged as its won't affect simulating using gazebo! |
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.
Just checking, with this PR as is, the buoy doesn't show on RViz, right? We need TF for it?
Also note that there are linter errors.
I think I found the issue with the transforms. Seems like coming from here or its |
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
SDF to URDF: topics and remappings
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Signed-off-by: Dharini Dutia <dharini@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.
Great work! I just have some smaller comments, and we should wait for ros/sdformat_urdf#13 to be merged before merging this one.
Add odometry publisher
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Support from |
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.
LGTM! The only things missing before merging:
- See Publish tf_static with transient_local durability #64 for handling the
tf_static
transform better - We need an
ign-gazebo6
release with the changes from Odometry publisher: also publish Pose_V (TF) gazebosim/gz-sim#1534, I'm working on it
Publish tf_static with transient_local durability
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.
Works great! All necessary releases are out, this is good to go!
Requires
Tailored our SDF model and brought up upstream support for viewing the WEC on RViz.
Usage
Launch Arguments (pass arguments as '<name>:=<value>'):
Run with launch arguments set:
Snapshots
buoy_on_rviz.mp4
Progress log
Breaking it down into smaller issues:
sdformat version should be 1.7See commentSensors in the model are not supported by URDFUnsupported joint types: ball, universal, screw, revolute2, gearboxsdformat_urdf PR #13Cannot have multiple root links, all links (except one root link) should have a parentPublishing tfs vis ros_ignFor more details on limitations of the parser see README in the sdformat_urdf package