Visualize your robot in 3D
Goal: see your robot model, TF, laser and map in the RViz tab.
Connect to the robot (Connect to your robot).
Tap + → RViz, keep Add map, laser, robot model and path displays checked and tap Create.
If the robot publishes
/robot_description, the RobotModel display draws it. If the model uses meshes (package://my_robot/meshes/base.stl…), the phone downloads them over HTTP: serve the folder that contains your packages’sharefolders. For example, with a workspace built withcolcon build --merge-install, on the robot:cd ~/ros2_ws/install/share python3 -m http.server 8000
Then write
http://ROBOT_IP:8000in the RobotModel display’s Mesh server field. The phone asks forhttp://ROBOT_IP:8000/my_robot/meshes/base.stl, so check that address opens in a browser. Only STL and Collada (.dae) meshes are drawn.Missing a display? Tap Add → By topic: the list shows every topic that can be drawn.
Pick the Fixed frame from the picker at the top (
mapwhen you navigate,odomotherwise).
Already have an RViz config?
Copy your .rviz file to the phone and use the menu → Import .rviz. The displays, frame,
background, view and goal/pose topics come along; anything that isn’t supported is listed.