(GoogleMap in Rviz) Error: map image file does not exist. Check API Key

asked 2022-10-04 02:54:49 -0500

donguri gravatar image

updated 2022-10-04 04:33:01 -0500

ravijoshi gravatar image

I want to display GoogleMap in Rviz and use ZED-F9P GPS. I created a Google API Key with reference to the following site and entered the created API Key in "google_static_map_api_key.yaml", but when I start up Rviz, it shows map image file does not exist. Check API Key.

For reference, here is what I have done so far.

  1. Sent mobile station information using RTKLIB.

    $ . /str2str -in ntrip://[Password]@rtk2go.com:2101/[MountPoint] -out serial://ttyACM0:230400
    
  2. Next.

    $ git clone https://github.com/KumarRobotics/ublox.git
    
  3. Send out the mobile station information in ROS Topic.

    $ roslaunch ublox_gps ublox_device.launch node_name:=ublox param_file_name:=zed_f9p_rover
    
  4. Finally.

    $ git clone https://github.com/hakuturu583/gps_rviz_plugin
    
  5. Tried to display it in realtime with Rviz.

However, after starting Rviz, I added OverlayGpsDisplay and set Topic to "/fix" or "/ubox/fix", the status is:

The details of the Error are "MapImageFileNotExsist : map image file does not exist.
As mentioned above, copy and paste the API Key into "google_static_map_api_key.yaml".

Is there any way to resolve this issue?

edit retag flag offensive close merge delete