📍 Waypoint server ROS package with Google Maps integration.
Clone the repository
git clone
Install Geographic Library
pip install geopy
- Use catkin to build the ROS package.
- Inside the launch file set the following parameters:
- Threshold distance (meters)
- GPS topic:
gps_topic
- Odometry topic:
odom_topic
- Generate Google Maps waypoints: Enable this to generate waypoint using Google Maps
- Run the rosnode
roslaunch waypoint_server waypoint_server.launch
The waypoint server also implements service calls.
- Pose Waypoint
Service call on the topicpose_waypoint
sets pose waypoint with respect to the map frame. This accepts waypoint as aPoseStamped
message type. - Geo Waypoint
Service call on the topicgeo_waypoint
sets geo waypoint with respect to the map frame. This accepts waypoint as aNavSatFix
message type.
The service calls return 1
is the waypoint was successfully published. Refer the srv files for more info.
Create a Google Maps Developer account and generate an API Key with Maps and Places options selected.
Inside the repository type the following:
echo "YOUR_API_KEY" > waypoint_viewer/api_key.txt
Install Google Maps API for python
pip install googlemaps