[Documentation] [TitleIndex] [WordIndex

  Show EOL distros: 

Package Summary

The nmea_comms package

  • Maintainer: Mike Purvis <mpurvis AT clearpathrobotics DOT com>
  • Author:
  • License: BSD

Package Summary

The nmea_comms package provides helper nodes for transmitting and receiving the NMEA sentences.

Package Summary

The nmea_comms package provides helper nodes for transmitting and receiving the NMEA sentences.

Package Summary

The nmea_comms package provides helper nodes for transmitting and receiving the NMEA sentences.

Overview

This package provides nodes which enable bidirectional communication between socket (server) or serial devices and the nmea_msgs/Sentence message type. This may be useful for a number of scenarios, including if you:

Finally, the combination of a serial_node connected directly to a socket_node can create a tee, where a device's serial data is directly available to ROS, but also served over a socket such that a remote machine may listen to it via netcat. This is particularly valuable if your device has a proprietary Windows-only GUI, which you'd like to be able to use while the device is part of a running ROS system. An example of this usage is supplied in the package, which you can launch like so:

roslaunch nmea_comms tee.launch port:=<serial port> baud:=<baud rate>

Once running, you should see the output of your serial NMEA device on the /navsat/nmea_sentence topic, as well as when running nc localhost 29500.

API

ROS nodes as detailed below. No code API.

Nodes

serial_node

Connects to a serial port, passing sentences between ROS and the port.

Subscribed Topics

nmea_sentence_out (nmea_msgs/Sentence)

Published Topics

nmea_sentence (nmea_msgs/Sentence)

Parameters

~frame_id (string, default: navsat) ~port (string, default: /dev/ttyUSB0) ~baud (int, default: 115200)

socket_node

Open a socket server, to pass NMEA sentences to and from connected clients.

Subscribed Topics

nmea_sentence_out (nmea_msgs/Sentence)

Published Topics

nmea_sentence (nmea_msgs/Sentence)

Parameters

~frame_id (string, default: navsat) ~port (int, default: 29500)


2019-07-13 12:55