O'Reilly logo

Robot Operating System Cookbook by Kumar Bipin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How it works…

If all the above steps are executed, we will see a topic named /fix in the topic list by executing the following command:

$ rostopic list
$ rostopic type /fix

The /fix topic has a message type of sensor_msg/NavSatFix.

We can echo this message to see a real stream of the data sent:

$ rostopic echo /fix

The output is shown in the following screenshot:

GPS data stream

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required