using gpsd in ROS-- error [closed]
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.
Aborted
I read this:
http://answers.ros.org/question/11935/ros-electric-gpsd_client-error
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 http://www.ros.org/wiki/gpsd_client 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!
Did you try _use_gps_time:=false, as suggested?
yes. did not work.
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