Questions tagged [rviz]

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.

48 questions
0
votes
0 answers

How can I change the position of obstacles in GAZEBO's built-in maps?

How to change the position of a certain obstacle in the maps that are already provided by the GAZEBO? My map is turtlebot3_dqn_stage4.launch.py
Munionics
  • 1
  • 1
0
votes
0 answers

When trying to set up the simulation on Docker, it gives an error: "xhost: command not found"

https://github.com/EuropeanRoverChallenge/ERC-Remote-Maintenance-Sim Using this link, I try to install a simulation on windows 11 by docker and I run "./build_erc.sh " successfully, but in here, there is an error: lenovo@LAPTOPUKO MINGW64…
0
votes
0 answers

ROS project: "no map received" in RViz despite successful data publishing to /scan topic

I'm using an RPLidar A1 sensor to generate a map of the environment using the gmapping node in ROS. I've configured the RPLidar node to publish data to the /scan topic, and I'm using the slam_gmapping node to generate a map from this data. However,…
0
votes
1 answer

Error RVIZ extrapolation into the future on the same machine

I get the following error when trying to view my RPLidar A2 scan in rviz2. It’s on a differential drive robot controlled using Odrive and ros2 control using Articulated Robotics. I am running everything on a laptop, no separate machines, on ROS2…
0
votes
0 answers

Rviz is not updating /joint_states

I have a custom URDF mobile robot. The robot is moving in the gazebo by /cmd_vel but the wheel of the robot is not moving in Rviz. The robot is spilling over the surface in Rviz. here is the joint_info.yaml my_robot: joint_state_controller: …
Mubahsir
  • 45
  • 9
0
votes
1 answer

how to load generated map into rviz using nav2

I am trying to load full map of my world but it doesn't work. I want to move the robot to the edge of my world using nav2 -> set goal, but by default I don't see that area. I followed a turtlebot3 guide and moved my robot across the map running ros2…
Lex
  • 137
  • 1
  • 10
0
votes
0 answers

Getting Qt compilation errors when trying to compile rviz plugins

I am compiling the plugins on the ros:humble-desktop docker. Here is my CMakeLists.txt cmake_minimum_required(VERSION 3.8) project(my_plugins) # Default to C++14 if(NOT CMAKE_CXX_STANDARD) set(CMAKE_CXX_STANDARD…
0
votes
0 answers

UR3_Sim RVIZ Simulation sometimes moves by itself

I have a robotic arm simulation (ur3_sim) but when I write 'roslaunch ur3_sim simulation.launch', sometimes it works great and gripper stands steady but for other times, it gives an error, and moves itself: [ERROR] [1680011565.316166357]:…
0
votes
1 answer

Visualize points in Rviz2

I have x,y and z coordinates. How can I visualize them as vectors in rviz so that their center is the origin. I want to see magnitude and direction of the vectors in rviz2.x,y and z are contınuesly changing so vector which i want to create should be…
koray
  • 1
  • 1
0
votes
0 answers

robot keeps getting stuck in RVIZ

I'm doing the "navigation2 stack tutorials" and I'm still at the beginning. When I run "ros2 launch nav2_bringup tb3_simulation_launch.py" in a terminal, the simulation opens up in gazebo/rviz and I can move the robot during some time before it gets…
0
votes
0 answers

Drawing ROS markerArrays using OpenCV?

I have a ROS bag file with markerArray markers that I am trying to draw on an image (so I can use as bounding boxes later on). The data is for a trip from a vehicle (getting on the freeway ramp, driving around, then exiting the freeway). Here is…
wiswasi
  • 23
  • 6
0
votes
1 answer

ROS RVIZ: How to visualize PCL Model with correct orientation?

I am trying to visualize a cylinder that I fit to a point cloud using the PCL RANSAC functions. When I fit the model I am given a pcl::ModelCoefficients object and this has the following coefficients point_on_axis, axis_direction, cylinder_radius_R,…
0
votes
1 answer

How can I add a detected object in cost map that generated from move_base package

How can I add a detected object in cost map that generated from move_base package. Car is detecting traffic light and road line in simulation but how can add this property in coast map because the car has to go from one point to another by following…
0
votes
1 answer

display lidar data from gazebo simulation

Recently, I have been trying to display a Lidar in Gazebo. However, I am completely new to ROS, so it is difficult for me to understand everything. With the help of several tutorials, trial and error, and other resources, I have managed to display a…
MmVi
  • 1
0
votes
2 answers

No map received warning when launching nav2 with rviz2 using custom robot simulation on gazebo

System Specification Ubuntu 22.04 LTS ROS2-HUMBLE Gazebo11 So basically, I am using gazebo to simulate an environment for my robot to map. Mapping using slam and nav2 works perfectly. However, when I want to launch the nav2 and rviz2 with the map…