105800 Views
82496 Views
47243 Views
47066 Views
45458 Views
38527 Views
Pi-Apps
Intermediate MicroPython
Arduino Alvik
Raspberry Pi Time machine
Now Ad-Free
Guiding Light
Intermediate level MicroPython
Introduction to FreeCAD for Beginners
Building a Robot Arm with Raspberry Pi and PCA9685
Building User Authentication for Static Sites with FastAPI
Mastering Pydantic for Robust Data Validation
Mastering Markdown for Documentation with Jekyll
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 >