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

nmea_navsat_driver and heading

asked 2021-01-25 12:02:01 -0500

patrickfonty gravatar image

updated 2021-01-25 12:42:25 -0500

jayess gravatar image

Good morning I am using the nmea_navsat_driver package via $ rosrun nmea_navsat_driver nmea_serial driver for a gps glonass U-blox7 usb. When I run this package I get a series of topics such as:

/ fix
/ nmeaGPS_height
/ nmeaGPS_latitude
/ nmeaGPS_longitude
/ nmeaGPS_position_covariance_0
/ nmeaGPS_position_covariance_4
/ nmeaGPS_position_covariance_8
/ nmeaGPS_position_covariance_type
/ nmeaGPS_status
/ nmeaGPS_status_service
/ rosout
/ rosout_agg
/ time_reference
/ vel

But I don't get the topic / heading which is what I need for orientation. What is the problem?

Thanks in advance. Regards.

edit retag flag offensive close merge delete

Comments

Hello, Patrick

Same problem, did you solve it? Thanks in advance

farray81 gravatar image farray81  ( 2022-06-08 07:28:36 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-01-26 10:47:11 -0500

patrickfonty gravatar image

Hello, first of all if you see the corresponding driver.py code, the following appears within the code: "Creates the following ROS publishers: NavSatFix publisher on the 'fix' channel. TwistStamped publisher on the 'vel' channel. QuaternionStamped publisher on the 'heading' channel. TimeReference publisher on the 'time_reference' channel. " You can see a topic called / heading.

On the other hand, what you tell me about robot_localisation can I implement it having only one gps without having IMU?

Thank you. Regards.

edit flag offensive delete link more
0

answered 2021-01-25 15:10:04 -0500

Sheeta gravatar image

If you go through the nmea_navsat_driver you will see that it does not publishes any topic called /heading.

You need to follow these steps to and fuse the data with robot_localisation

edit flag offensive delete link more

Question Tools

Stats

Asked: 2021-01-25 12:02:01 -0500

Seen: 287 times

Last updated: Jan 26 '21