This guide explains how to launch the UR5 robot driver, access the VNC interface, and run the Black Box UI for controlling the robot.
Make sure Docker is running:
sudo dockerd
Start the URSim simulation environment:
ros2 run ur_client_library start_ursim.sh -m ur5
Run the UR Robot Driver with RViz enabled:
ros2 launch ur_robot_driver ur_control.launch.py ur_type:=ur5 robot_ip:=192.168.56.101 launch_rviz:=true
Open Google Chrome (or any browser) and navigate to the VNC interface:
google-chrome http://192.168.56.101:6080/vnc.html
Perform the robot homing procedure via the VNC interface.
Once homing is completed, you can execute external control commands from the terminal to control the robot.
Run the Black Box user interface to interact with the robot:
ros2 launch black_box robot_ui_launch.py
- The Black Box UI allows clicking on a virtual window to send commands to the robot.
- Make sure all ROS2 nodes and topics are properly initialized before using the UI.
- Ensure that
/scaled_joint_trajectory_controller/joint_trajectoryis active for the robot to respond.