Questions around RViz - a visualization program based on OpenGL and OGRE intended for use in robotics that is part of ROS, both ROS1 and ROS2.
Questions tagged [rviz]
48 questions
2
votes
1 answer
CMakeLists includeT Qt5::QML does not work
This is my CMakelists.txt file.
cmake_minimum_required(VERSION 3.0.2)
project(osm_map)
find_package(catkin REQUIRED COMPONENTS rviz)
find_package(Qt5 COMPONENTS Widgets REQUIRED)
set(QT_LIBRARIES Qt5::Widgets Qt5::Qml)
set(CMAKE_AUTOMOC…

cmosig
- 1,187
- 1
- 9
- 24
2
votes
1 answer
ROS2 publish mesh marker
I'm trying to display a mesh resource in Rviz. It must be pretty straightforward as was in ROS1, but I'm not sure why it is not working.
Here is a sample code I tried:
// meshpub.cpp
#include
#include…

Amir Int
- 45
- 7
2
votes
1 answer
No map received SLAM Toolbox
I want to use SLAM Toolbox (https://github.com/SteveMacenski/slam_toolbox) but I get a WARNING: No map received in RVIZ.
In the config file, I define base_frame as base_footprint
I publish Odometry (without velocities, just position) to topic…

veronika_cz
- 27
- 5
1
vote
0 answers
rviz with ROS2 can't connect to the X-server VcXsrvr WSL2 Win10
I apparently managed to fix or "to clear" an error: "Could not contact ROS master at [http://localhost:11311], retrying..." which appeared in an X-Window message box after calling rviz.
I found that ROS_IP and ROS_MASTER_URI env.vars have to be…

Twenkid
- 825
- 7
- 15
1
vote
0 answers
ROS - LaserScan moves instead of robot
I recently run into following problem.
While trying create a map from simulation data using slam_toolbox, my laserScan data are shifting based on robot movement instead of him. Robot stay in 0,0 position despite odometry changing.
Im sending data…

Jakub Mikluš
- 21
- 3
1
vote
1 answer
Rviz : camera_depth_frame message filter dropping message because the queue is full
I am using ros2-humble distro trying to get it working with slam_toolbox. I have converted the depth camera image raw to laserscan using the package from
https://github.com/ros-perception/depthimage_to_laserscan/tree/foxy-devel.
I can see the topic…

jee wooo
- 11
- 2
1
vote
1 answer
Robotic arm fall to ground in gazebo
I create a custom URDF in Solidworks and simulate it in ROS when ever I launch the robot in the gazebo simulator the arm fall to the ground. the robot is perfectly fine in rviz.

Mubahsir
- 45
- 9
1
vote
0 answers
Error implementing a rViz screen within a Qt widget for the rviz/Orbit class
Trying to implementing a Qt Widget with inside an rViz screen. Executing the code in Qt5 it run without problem but rViz generate the error:
The class required for this view controller, 'rviz/Orbit', could not be loaded.
Error:
Could not find…

Mirco Vangi
- 11
- 3
1
vote
0 answers
ROS2 Rviz Error : Global Status Warn Fixed Frame No tf data. Actual error: Frame [world] does not exist
I am controlling a KUKA iiwa 14 robot using ROS2 Galactic and the nodes I found here:
KUKA iiwa 14 Package
It worked fine but suddenly I can't open the robot with rviz anymore. I get the Error:
"Fixed Frame
No tf data. Actual error: Frame [world]…

Holger
- 74
- 1
- 9
0
votes
0 answers
RVIZ 2 ROS2 Cant See Any Joints
Although I got the visuals for my joints in my code(two wheels at the side and one at the bottom) I can not see them on the rviz2 visuals -in gazebo I have no problems I can see the whole robot. I have the joint-state-publisher and…

Aleksan
- 1
- 2
0
votes
0 answers
Encountering Rviz issues while trying to create a map with Hector SLAM
Rviz screenshotI am currently trying to run Rviz to create a map of my apartment. I finally got everything to run without errors, my Lidar is outputting data properly (I double checked by looking at the raw data), and Rviz is opening when I input…

Zach
- 1
- 1
0
votes
1 answer
rosbags - write uncompressed image to bag
I'm new to ROS and running ROS noetic with the need to create a ROS bag containing uncompressed greyscale images.
Therefore, I use rosbags-image==0.9.1 and according to their
compressed example here
I have prepared an example to save 2 uncompressed…

x y
- 911
- 9
- 27
0
votes
1 answer
In RViz and Gazebo, STL is displaced
I am following ROS2 example for robotic arm.
The arm has couple of parts, represented by STL.
Now, when I use the STL file that comes with the example, the arm is perfectly aligned.
But when I use Tinkercad (tinkercad.com), which is probably the…

Steve Brown
- 369
- 1
- 3
- 12
0
votes
2 answers
ros2 rviz Fixed Frame [map] does not exist" appears in the global status. How can I solve this?
I was trying the navigation2 tutorial on ros2.
Install the ROS 2 binary package as described in the official documentation.
Install the Nav2 package using your operating system's package manager.
sudo apt install ros--navigation2
sudo apt install…

assa
- 109
- 7
0
votes
0 answers
RViz not launching in ROS2 Foxy: Joint state publisher starts and crashes suddenly
I'm working on ROS2 foxy
While trying to launch the launch file with : ros2 launch my_package launch.py , the rviz does not start.The joint state publisher starts and then crashes down out of a sudden !
I checked out the joint_state_pulisher_gui…