RViz Visualization¶
Visualize your Mini-Arm in RViz2.
Basic Visualization¶
Launch the robot description viewer:
ros2 launch miniarm_bringup view_robot.launch.py
This opens RViz with:
Robot model from URDF
Joint state publisher GUI
TF frames
Interactive Control¶
Use the joint state publisher GUI to move joints interactively:
Real Robot Visualization¶
Connect to the physical robot and visualize its state:
ros2 launch miniarm_bringup robot.launch.py rviz:=true
The robot model will follow the real joint positions.
Custom RViz Configuration¶
Create a custom RViz config:
Launch RViz:
rviz2
Add displays:
RobotModel: Topic =
/robot_descriptionTF: Show all transforms
Marker: Topic =
/miniarm/workspace(optional)
Save configuration:
File → Save Config As →
my_miniarm.rvizLaunch with custom config:
ros2 launch miniarm_bringup view_robot.launch.py \
rviz_config:=/path/to/my_miniarm.rviz
Workspace Visualization¶
Visualize the reachable workspace:
# Publish workspace boundary markers
ros2 run miniarm_bringup workspace_visualizer
TF Frames¶
The Mini-Arm publishes these TF frames:
base_link
└── link_1 (base rotation)
└── link_2 (shoulder)
└── link_3 (upper arm)
└── link_4 (forearm)
└── link_5 (wrist 1)
└── link_6 (wrist 2)
└── tool0 (end effector)
└── gripper_base
├── finger_left
└── finger_right
View frames:
ros2 run tf2_tools view_frames
Next Steps¶
MoveIt2 Integration - Motion planning
ROS2 Setup - Full ROS2 setup