-
Notifications
You must be signed in to change notification settings - Fork 19
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 odometry and lidar to mars_rover model for Nav2 #10
Conversation
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'm not a URDF/Gazebo expert but I'll mark the approved once I get my build working.
@quarkytale any input on this?
Re-added background_color to the plugin parameters. Also fixed the odometry plugin name to be consistent with the other plugins |
Looks good to me if the build works! |
</link> | ||
|
||
<gazebo reference="lidar_link"> | ||
<material>Gazebo/Black</material> |
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.
Not sure if this works as intended in the new Gazebo, I'm planning to try out this along with supporting PRs.
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.
Yeah, I'm not sure it does either because I saw a warning when I ran, but I also saw that the camera has a material specified
<material>Gazebo/Green</material> |
and I do see the lidar show up as black. If this is wrong let me know I can remove or change.
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.
Yeah the new Gazebo can't parse 'Gazebo/' materials, its recently added to Harmonic. For rendering green, you might need to change it to:
<material>
<ambient>0 1 0 1</ambient>
<diffuse>0 1 0 1</diffuse>
<specular>0.1 0.1 0.1 1</specular>
</material>
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.
@quarkytale - what if I remove the material tag entirely? If it isn't being parsed, I would guess it's ignored and it will make no technical difference if I remove it, except to clean up dead code, which is good.
@quarkytale, @Bckempa - let me know how I should proceed so that I can get approval |
1307f4f
to
82b62b5
Compare
@quarkytale @Bckempa @ivanperez-keera - I squashed my commits down to a minimal logical number and added the issue to the commit message I think the only thing unresolved are the Please review and approve. |
82b62b5
to
1014543
Compare
Fix indentation for mars_rover control plugin Set odom publish frequency to 10 Fix plugin filename to be consistent re-add background_color to plugin parameters
1014543
to
6505526
Compare
Adds odometry and lidar plugins to gazebo. Also adds base_link, lidar_link, and connecting joints required for nav2.