ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The gpsd_client node uses the gps structure defined in <libgpsmm.h>, which (in the version of gpsd I'm using: gpsd3.3) uses QTcpSocket to connect to gpsd. I haven't read through the code very extensively, but it seems that if you set the ROS parameters for host and port in the gpsd_client node, it should try to connect to your TCP socket.

rosrun gpsd_client gpsd_client _host:=YOUR_HOST _port:=YOUR_PORT

Just to be clear, I have not tested this. My answer is based off of a quick read-through of the source code.