Visualizing the ABB robot model in RViz

After creating the robot model, we can test it using the test_irb2400.launch file. The following command will launch the test interface of the ABB IRB 2400 robot:

$ roslaunch abb_irb2400_support test_irb2400.launch

It will show the robot model in RViz with a joint state publisher node, as shown in the following screenshot:

Figure 13: ABB IRB 2400 with joint state publisher on RViz

We can adjust the robot joints by adjusting the joint state publisher slider values. Using this testing interface, we can confirm whether the URDF design is correct or not.

Get Mastering ROS for Robotics Programming - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.