Skip to content
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

Merged
merged 6 commits into from
Jun 27, 2023
Merged

Update build instructions #57

merged 6 commits into from
Jun 27, 2023

Conversation

quarkytale
Copy link
Contributor

@quarkytale quarkytale commented Jun 21, 2023

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?

@quarkytale quarkytale requested review from mabelzhang and andermi June 21, 2023 23:18
@github-actions
Copy link

github-actions bot commented Jun 21, 2023

PR Preview Action v1.4.4
Preview removed because the pull request was closed.
2023-06-27 23:15 UTC

Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
@quarkytale
Copy link
Contributor Author

@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.

@mabelzhang
Copy link
Collaborator

mabelzhang commented Jun 23, 2023

There's an open PR in sdformat_urdf

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.

Copy link
Collaborator

@mabelzhang mabelzhang left a 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.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
docker/mbari_wec/Dockerfile Outdated Show resolved Hide resolved
docs/docs/Tutorials/Install/Install_source.md Outdated Show resolved Hide resolved
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Signed-off-by: Dharini Dutia <dharini@openrobotics.org>
Copy link
Collaborator

@mabelzhang mabelzhang left a 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!

@quarkytale quarkytale merged commit f424881 into main Jun 27, 2023
@quarkytale quarkytale deleted the sdf_path branch June 27, 2023 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to workaroudn the issues about "Unable to find uri[package://buoy_description/models/mbari_wec]"
3 participants