MacRover / Rover

McMaster Mars Rover Faraday (2020-2024)
MIT License
5 stars 1 forks source link

Ublox M9N GPS Driver with the Jetson TX2 #35

Closed haashimrehan closed 1 year ago

haashimrehan commented 1 year ago

Notes on GPS integration:

haashimrehan commented 1 year ago

Udev rule:

Create a file in /etc/udev/rules.d called 99-rover.rules and paste the following:

SUBSYSTEM!="tty", GOTO="rover_rules_end"
ATTRS{idVendor}=="1546", MODE="0666", SYMLINK+="ttyACMUbloxGPS", GROUP="dialout"`
LABEL="rover_rules_end"

use sudo udevadm control --reload-rules && sudo udevadm trigger to reload rules or reboot

haashimrehan commented 1 year ago

Added a setup script in 07269ae to automate the GPS setup process.

simply navigate to the gps package, and run sudo ./setupGPS.sh in the setup folder.