108640 Views
83860 Views
59555 Views
48723 Views
48311 Views
47806 Views
C2Pi-O Laser cut Camera holder
Build a laser-cut robot
Robots and Lasers
Arduino Plug and Make Kit Review
Pi to Pico W Bluetooth Communication
Two-Way Bluetooth Communication Between Raspberry Pi Picos
Introduction to the Linux Command Line on Raspberry Pi OS
How to install MicroPython
Wall Drawing Robot Tutorial
BrachioGraph Tutorial
Intermediate level MicroPython
Introduction to FreeCAD for Beginners
KevsRobots Learning Platform
80% Percent Complete
By Kevin McAleer, 2 Minutes
RViz2 is a powerful, user-friendly visualization tool that allows you to explore and analyze data in 3D. It is capable of displaying a variety of objects including robots, cameras, geometry, point clouds, and more. RViz2 is an open source tool that is available for free and is compatible with the ROS (Robot Operating System) platform.
RViz2
We can use RViz2 to display the data from our LiDAR, and then take this further by adding in extra nodes such as the Mapping and Navigation nodes from the SLAM Toolkit.
nodes
RViz2 is included in the full desktop version of ROS2, initially we only used the core version of ROS2. Its easy to change this, in the dockerfile you can change the line:
core
dockerfile
FROM ros:humble-ros-core-jammy
to the line:
FROM ros:humble-ros-desktop-jammy
We need to rebuild the docker-container so that it now has the settings.
docker-compose build --no-cache docker-compose up -d
Lets test out RViz2.
docker exec -it docker-full_ros2_1 bash
rviz2
RViz should now open within the Raspberry Pi OS - this is because the container is outputing its X11 graphics commands to the Host (the Raspberry Pi OS).
< Previous Next >