This package is used to convert GNSS data in rosbag to xyz and display trajectory on rviz. It is able to plot marker points of incoming gps positions.
Type: sensor_msgs/NavSatFix.
Test on Ubuntu 18.04 + Ros melodic
cd ~/catkin_ws/src
git clone https://github.com/Shidabot/gps2xyz.git
cd ..
catkin_make
Modify the following values based on your rosbag
origin_latitude_value
origin_longitude_value
origin_altitude_value
latitude_resolution
longitude_resolution
altitude_resolution
source ./devel/setup.bash
roslaunch gps_to_xyz gps_to_xyz.launch
rosbag play your.bag
What can I see? Manba out.