using gpsd in ROS-- error [closed]

asked 2012-04-05 08:24:02 -0500

AeroTech gravatar image

updated 2012-04-05 09:39:06 -0500

joq gravatar image

Hello all, I am getting an error when running the ROS gpsd client.

The error is:

rosrun gpsd_client gpsd_client _host:=localhost _port:=2947 _use_ros_time:=false
Running: /opt/ros/electric/stacks/gps_umd/gpsd_client/bin/gpsd_client _host:=localhost _port:=2947 _use_ros_time:=false
netlib_connectsock() returns socket on fd 9
[ INFO] [1333649948.808991394]: GPSd opened
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::math::rounding_error> >'
  what():  Error in function boost::math::round<d>(d): Value nan can not be represented in the target integer type.

I read this:

but it didn't solve my problem. I left a request for more information, but figured I would post a new question. Can anybody help me?

I can get xgps to work on Linux.

According to the gpsd client needs to be opened to run through ROS also. Since I am able to run xgps, that means the client is open, so I am not sure what the problem is.

Does anybody have an answer? I really need this to work. I am running Ubuntu Linux 11.04 & ROS Electric.

Thanks so much!

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2014-10-30 18:20:05.662042



Did you try _use_gps_time:=false, as suggested?

joq gravatar image joq  ( 2012-04-05 09:43:00 -0500 )edit

yes. did not work.

AeroTech gravatar image AeroTech  ( 2012-04-05 13:16:12 -0500 )edit

Hello, I am having the same problem, I can directly read the gps data (gpscat -s 19200 /dev/ftdi) , I can launch a gpsd (gpsd -S 2947 /dev/ftdi) but if i wanna launch the client and publish something in a ros topic it is not working , did you find any solutions ? Regards, Thibault

Thibault-Salford gravatar image Thibault-Salford  ( 2013-05-02 04:16:18 -0500 )edit