Skip to Content
Hands-On ROS for Robotics Programming
book

Hands-On ROS for Robotics Programming

by Bernardo Ronquillo Japón
February 2020
Intermediate to advanced
432 pages
10h 50m
English
Packt Publishing
Content preview from Hands-On ROS for Robotics Programming

Visualizing scan data in the Raspberry Pi desktop

Now, let's check the RViz visualization in the Raspberry Pi, just like we did for the laptop. For this, you need to use VNC (Virtual Network Computing), as we explained in Chapter 6, Programming in ROS Commands and Tools, in the Setting up the physical robot section. Set up a VNC server (x11vnc). Once connected from the remote laptop, launch the following four Terminals in the Raspberry Pi desktop:

r1 $ roslaunch ydlidar lidar_view.launchr2 $ roslaunch mygopigo gopigo3.launchr3 $ rosrun key_teleop key_teleop.py /key_vel:=/cmd_velr4 $ rqt_graph

This is the whole screen:

The laser scan view ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering ROS for Robotics Programming

Mastering ROS for Robotics Programming

Lentin Joseph
ROS Robotics By Example - Second Edition

ROS Robotics By Example - Second Edition

Lentin Joseph, Carol Fairchild, Dr. Thomas L. Harman

Publisher Resources

ISBN: 9781838551308Supplemental Content