A simple GNSS positioning and display demo
- Use longitude-latitude-altitude(gnss) only, and computing direction information;
- Display positions on the Google Maps;
-[ROS]
-rviz_satellite:copy to the catkin_ws,and catkin_make -DCATKIN_WITHELIST_PACKAGES="rviz_satellite"
Use the following commands to download and compile the package.
cd ~/catkin_ws/src
git clone https://github.com/chengwei0427/simple_gnss_localizer.git
cd ..
catkin_make -DCATKIN_WITHELIST_PACKAGES="gnss_localizer"
-
adjust the topic change the topic
/fix
to your gnss topic,or useremap
-
check the
NavSatFix
status inGNSSCallback
-
after run your bag(contain gps topic), you could get
first gnss:30.20230164,120.26021482,14.14500000
,change the the paramori_lat,ori_lon,ori_alt
inrun.launch
andref_point=[30.20230164,120.26021482,14.14500000]
inscripts/path_client_copy.py
-
reopen the
run.launch
and replay your bag.
- Run the launch file:
roslaunch gnss_localizer run.launch
- Play existing bag files:
rosbag play your-bag.bag --clock
The gnss_localizer is implemented based on Autoware-AI; Thanks rviz_satellite and Autoware-AI;