-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update build instructions #57
Conversation
|
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
@mabelzhang This is ready for review, tested the new image, sim works without any errors on startup. Though note, starting a new terminal using ./join.bash we need to source ~/setup.bash, just setting up the mbari_wec_ws/install/setup.bash won't work. |
Could you link to that PR in this PR, so we know to update the Dockerfile when that PR is merged? A comment above the block in the Dockerfile linking to that PR, saying the SDF_PATH is not needed after that PR is merged, will also be helpful for anyone wondering what it's for in the future. |
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 new Dockerfile worked for me. There's no more error in the linked issue, and there are a lot more printouts from robot_state_publisher
.
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.
Tested latest Dockerfile and works.
Thanks!
Related to osrf/mbari_wec_gz#95
Setting an environment variable
SDF_PATH
avoids robot_state_publisher showing errors while running the main launch file.Note, this does not affect the sim running by default but throws errors (like in the tagged issue) which can be confusing.
There's an open PR in sdformat_urdf to handle mode:// paths which would be extended to parse package:// paths as well (yet to confirm that). But until then, this step is necessary to run RViz alongside the sim.
Just added it in the build instructions, shall I add it in the
SETUP_SH
in the dockerfile as well?