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

Issue MapViz no map viewed #88

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mattiadutto
Copy link

I tried using the code of the Navigating Using GPS Localization and unfortunately, out of the box, it doesn't work (of course I added the bing-api key). I'm not able to see a bing map on the MapViz window. Searching on the web for a solution I saw that by replacing the MapViz configuration with this one (taken here) it works.

System configuration: Ubuntu 22.04.4 LTS + ROS2 Humble + Navigation2 1.1.13

@@ -6,18 +6,13 @@
# - global costmap is set to be rolling to allow the robot to traverse big environment by
# following successive relatively close waypoints that fit in a smaller rolling costmap

bt_navigator:
t_navigator:
Copy link
Member

Choose a reason for hiding this comment

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

Typo

view_scale: 0.564473748
offset_x: -55.0469894
offset_y: -4.65194941
window_width: 1000
Copy link
Member

Choose a reason for hiding this comment

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

Why does changing these values fix the problem?

Copy link
Author

Choose a reason for hiding this comment

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

I think that what is making the system working under Humble is the remove of this line of code image_transport: raw I didn't try any possible edits.

Copy link
Member

Choose a reason for hiding this comment

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

OK, lets just change that item then :-)

@@ -74,9 +65,6 @@ bt_navigator:
- nav2_assisted_teleop_cancel_bt_node
- nav2_drive_on_heading_cancel_bt_node
- nav2_is_battery_charging_condition_bt_node
error_code_names:
Copy link
Member

Choose a reason for hiding this comment

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

Readd. These are for iron, rolling, jazzy and newer. Documentation targets the latest distributions.

Copy link
Author

Choose a reason for hiding this comment

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

Sorry I did the pull request just for the first commit and commit other changes for working with Humble. This file was not intended to be added to the PR.

Copy link
Member

Choose a reason for hiding this comment

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

Please update and I'll take a look again :-)

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.

None yet

2 participants