Skip to content

Commit 893e1d5

Browse files
committed
Make NMEA the default protocol for dev
Currently NMEA works and UBX does not so makes sense to have it as default
1 parent 96a2f54 commit 893e1d5

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

Makefile

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
SHELL := /bin/bash
22

3-
# Default output protocol for mock GPS messages (uorb or ublox). u-blox requires
4-
# an exposed serial port while uORB uses ROS.
5-
PROTOCOL=ublox
3+
# Default output protocol for mock GPS messages
4+
PROTOCOL=nmea
65

76
.PHONY: docs
87
docs:
@@ -71,14 +70,6 @@ dev:
7170
@echo "Launching GISNav locally using $(PROTOCOL) protocol..."
7271
@ros2 launch gisnav local.launch.py protocol:=$(PROTOCOL)
7372

74-
# This part has moved to the entrypoint script of the ubx middleware service:
75-
#@echo "Setting up socat bridge to send $(PROTOCOL) serial output to simulator container over TCP port 15000..."
76-
#@socat pty,link=/tmp/gisnav-pty-link,raw,echo=0 tcp:localhost:15000 || (echo "Could not establish serial-to-TCP bridge. Is the SITL simulation container running?"; exit 1)
77-
#@sleep 3 # Give socat time to create the pty
78-
#@echo PTS device created at: `readlink /tmp/gisnav-pty-link`
79-
#@echo "Launching GISNav locally..."
80-
#@ros2 launch gisnav local.launch.py protocol:=$(PROTOCOL) port:=`readlink /tmp/gisnav-pty-link` baudrate:=9600
81-
8273
.PHONY: help
8374
help:
8475
@echo "Available targets:"

0 commit comments

Comments
 (0)