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

Install resource folder and use correct topic for rviz elevation map #40

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

Ryanf55
Copy link
Collaborator

@Ryanf55 Ryanf55 commented Jan 14, 2024

I added a symlink to the terrain-models, and this gets it installed from the source tree. The resource folder needs to be installed and will be empty for people who don't have sargans.tif. In order for it to be tracked by git and not fail the build in case its empty, I added a placeholder .gitkeep folder.

RVIZ was subscribed to the wrong topic, so I fixed that too.

With the above changes, the XML launch file works:

ros2 launch grid_map_geo load_tif_launch.xml

image

@Ryanf55 Ryanf55 added the enhancement New feature or request label Jan 14, 2024
@Ryanf55 Ryanf55 self-assigned this Jan 14, 2024
@Ryanf55 Ryanf55 marked this pull request as draft January 15, 2024 04:56
@Ryanf55
Copy link
Collaborator Author

Ryanf55 commented Jan 15, 2024

Edit: It's actually just not using the namespace on the XML launch files, but is using the namespace on the python launch files. A better fix for RVIZ not subscribing to the correct topic would be to make them all consistent. I'll implement that then bring it back out of draft.

@Ryanf55 Ryanf55 force-pushed the default-rviz-sargans-works branch from 6cc4a2e to d9b76d1 Compare January 15, 2024 05:54
@Ryanf55 Ryanf55 requested a review from Jaeyoung-Lim January 15, 2024 05:54
@Ryanf55 Ryanf55 marked this pull request as ready for review January 15, 2024 05:54
@Ryanf55 Ryanf55 force-pushed the default-rviz-sargans-works branch from d9b76d1 to af120b1 Compare January 15, 2024 05:55
* Resource folder needs to be installed, and will be empty for people
  who don't have sargans.tif
* RVIZ was subscribed to the wrong topic because not all map_publisher
  nodes were launched with a namespace

Signed-off-by: Ryan Friedman <[email protected]>
@Ryanf55 Ryanf55 force-pushed the default-rviz-sargans-works branch from af120b1 to 52300fa Compare January 15, 2024 05:56
Copy link
Member

@Jaeyoung-Lim Jaeyoung-Lim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!

@Jaeyoung-Lim Jaeyoung-Lim merged commit 04b2560 into ethz-asl:ros2 Jan 15, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants