Cannot spawn robot in TF ROS2 Unit 3

Hi there,

I cannot spawn the unicycle robot because it doesn’t exsit.
Processing: Screenshot 2022-05-23 155331.png…

The terminal returns:

LookupError: Could not find the resource ‘unicycle_robot_pkg’ of type ‘packages’

I think this is because the package is not installed at all.


Could you please check this solution?

Thanks for your reply. However, it doesn’t work.

There supposes to be a robot as this one:

Besides, I cannot find the package in hidden directories.


Hi there,

I found where the problem is. The name of files in tutorials is not compatible with the name in simulation files. In launch files, the scripts are:

    urdf_file = 'unicycle.urdf'
    #xacro_file = "box_bot.xacro"
    package_description = "unicycle_robot_pkg"

I found the directories as follows:

user:/home/simulations/ros2_sims_ws/src/unicicle_robot/uniclicle_robot_pkg/urdf$ ls -la
drwxr-xr-x 2 user user 4096 Mar 18 13:58 .
drwxr-xr-x 8 user user 4096 Mar 18 13:58 …
-rw-r–r-- 1 user user 12790 Mar 18 13:58 unicicle.urdf

After changing the name, it works now.
I hope you can fix this in your simulation file of ROS2 TF UNIT3. It seems that I’m the only one who found the problem :grin:.


1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.