logo.png
Developed By OUXT Polaris
master develop

Gazebo gps sensor plugin for publishing nmea_msgs/Sentence

Available Sentence

GPRMC

Timestamp,Status,Latitude,Longitude,Velocity,Heading of Velocity

https://docs.novatel.com/OEM7/Content/Logs/GPRMC.htm

GPGGA

Timestamp,Latitude,Longitude,Number of satelite,Altitude

https://docs.novatel.com/OEM7/Content/Logs/GPGGA.htm?Highlight=GPGGA

GPVTG

Heading of Velocity,Velocity

https://docs.novatel.com/OEM7/Content/Logs/GPVTG.htm?Highlight=GPVTG

GPHDT

True Heading

https://docs.novatel.com/OEM7/Content/Logs/GPHDT.htm?Highlight=GPHDT

### example urdf setup

1 <gazebo>
2  <plugin name="gps_plugin_${name}" filename="libnmea_gps_plugin.so">
3  <updateRate>15.0</updateRate>
4  <alwaysOn>true</alwaysOn>
5  <bodyName>${name}_link</bodyName>
6  <frameId>${name}_link</frameId>
7  <topicName>nmea_sentence</topicName>
8 
9 
10  <referenceLatitude>21.30996</referenceLatitude>
11  <referenceLongitude>-157.8901</referenceLongitude>
12  <referenceAltitude>0</referenceAltitude>
13  <referenceHeading>90</referenceHeading>
14  <velocityGaussiaNoise>0.05</velocityGaussiaNoise>
15  <orientationGaussiaNoise>0.05</orientationGaussiaNoise>
16  <positionGaussiaNoise>0.05</positionGaussiaNoise>
17  </plugin>
18 </gazebo>

Demo



nmea_gps_plugin
Author(s):
autogenerated on Wed Jul 17 2019 03:53:56