Building a Docker image for a GPS module
GPS data in NMEA format is forwarded to RPi IP address at port 5000, typically it is 10.15.20.2:5000
.
You can make sure the address is correct by typing http://10.15.20.1 into your browser (Username: admin
, Password: Husarion1
). Navigate to Services -> GPS -> NMEA -> NMEA forwarding -> Hostname and Port
. Remember that you must be connected to the robot's WIFi network. If changes were needed, finish the connfiguration by pressing save & apply
at the bottom of the screen.
Data frequency is 1Hz and can be interacted ether with GPSD daemon (gpsd -N udp://10.15.20.2:5000
) or directly with ROS package redirecting signal to ROS topic.
It is recommended to use docker image. To start the container type:
git clone https://github.com/husarion/nmea-gps-docker.git
cd nmea-gps-docker
docker compose up
You should be able to see data on /panther/fix
topic (rostopic echo /panther/fix
).