Skip to content

ROS2 Package that publishes GPS Data from a Teltonika router (tested with RUTX50) via HTTP forwarding

Notifications You must be signed in to change notification settings

TKL01/Teltonika-GPS-forwarding-via-HTTP-for-ROS2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teltonika-GPS-forwarding-via-HTTP-for-ROS2

ROS2 (Humble) Package that publishes GPS Data from a Teltonika router (tested with RUTX50) via HTTP forwarding

How to run it

Install Python library for the NMEA 0183 protocol:

pip install pynmea2

1.) Build from source:

Put the files inside a ros workspace, in the src folder OR just create a new folder and inside the folder create another one called src and clone the repo there:

git clone https://github.com/TKL01/Teltonika-GPS-forwarding-via-HTTP-for-ROS2.git

then build outside of the src folder:

colcon build 

source it, for example if the files are located in the ros2_ws workspace folder (~/ros2_ws/install/setup.bash)

source ~/ros2_ws/install/setup.bash

2.) GPS configuration in the Teltonika Web Interface

Enable GPS and NMEA: image

Set HTTP Server Settings. Put in your machine's IP, the default port is :3000 (can be changed in
Teltonika-GPS-forwarding-via-HTTP-for-ROS2/gps_tools/gps_server.py) and the forwarding Interval: Screenshot from 2024-06-24 15-30-19

3.) Open 2 new terminals and run:

1st terminal:

ros2 run gps_tools gps_server

2nd terminal:

ros2 run gps_tools gps_publisher

About

ROS2 Package that publishes GPS Data from a Teltonika router (tested with RUTX50) via HTTP forwarding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages