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

GPS data on TCP IP, not on /dev/tty

asked 2012-10-24 20:49:33 -0500

sai gravatar image

updated 2014-01-28 17:14:03 -0500

ngrennan gravatar image

UBuntu 12.04 and Fuerte

Hi ROS users.

I understand that gpsd_client ROS package needs "gpsd" process to be run on a physical device port /dev/tty.

But my case is different, I am getting the GPS data in NMEA format over an IP 192.168.0.61 and 10002 port. I can connect to it using telnet 192.168.0.61 10002. I cannot access the server side of it, so cannot run any other process other than to accept the data from TCP IP.

I am wondering if any one of you can tell me how I can get the GPSD to take the data from TCP IP port. I want to use the ROS package which relies on GPSD process.

I found a similar question, but was not answered.

http://answers.ros.org/question/33641/how-to-get-fix-on-nmea-data-emitted-on-a-tcp-port/

Thanks and Have a Good Day!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-10-24 22:27:07 -0500

sai gravatar image

Found the answer at http://gpsd.berlios.de/gpsd.html under section TCP feed.

Just use

gpsd -S 10001 tcp://192/168.0.61:10002

So the final data will be on local host and port 10001.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-10-24 20:49:33 -0500

Seen: 4,228 times

Last updated: Oct 24 '12