PacktPublishing / Mastering-ROS-for-Robotics-Programming-Third-edition

Mastering ROS for Robotics Programming - Third edition, Published by Packt
MIT License
107 stars 57 forks source link

Can't run launch files from Chapter 3 #2

Closed Westerby closed 1 year ago

Westerby commented 1 year ago

Hello,

I'm trying to launch view_demo.launch, but the rviz is empty and I get an warning: [ WARN] [1683803150.779816100]: The root link base_link has an inertia specified in the URDF, but KDL does not support a root link with an inertia. As a workaround, you can add an extra dummy link to your URDF.

For view_arm.lauch: [ WARN] [1683803542.847620400]: link 'bottom_link' material 'Brown' undefined. [ WARN] [1683803542.852397200]: link 'bottom_link' material 'Brown' undefined. [ERROR] [1683803542.853472300]: Geometry tag contains no child element. [ERROR] [1683803542.853580700]: Could not parse visual element for Link [grasping_frame] [ WARN] [1683803542.855071600]: The root link base_link has an inertia specified in the URDF, but KDL does not support a root link with an inertia. As a workaround, you can add an extra dummy link to your URDF.

For both files in rviz error displays: obraz

My specs: windows 11 rosversion: 1.15.9 rodistro: noetic

Westerby commented 1 year ago

Okay, it's just sufficient to go Add -> RobotModel and it shows.