Can´t launch my Package

asked 2022-08-22 11:52:18 -0600

Joni_07 gravatar image

Hey, I am new to ROS and currently working an simulation an Autonomous RC-Car and trying to follow the tutorial by Automatic Addison(https://automaticaddison.com/.... I followed the tutorial(https://automaticaddison.com... to simulate my Robot as an URDF File and tried it a couple times but I can´t launch my package. I followed the tutorial step by step and there is now typo from my side in it. The only thing that is different is the name of my workspace (nav2_ws). I get the Error when I typ in ros2 launch baisc_mobile_robot basic_mobile_bot_v1.launch.py. And the Error is: Package 'basic_mobile_robot' not found: "package 'basic_mobile_robot' not found, searching: ['/opt/ros/humble']". I have installed ROS2-Humble and I am working on an Oracle VM with Ubuntu 22.04 and had no problems with installing ROS or following the tutorials from the official webside. It would be great if someone would take his time to help me with my problem. Please ask if you need more infos and if you want to help me live we could try to fix it via discord or other ways. I live in Austria but if our timedelay is to big we could plan a meet and I´ll comply to your time. Have a nice day :-) Jonas

edit retag flag offensive close merge delete

Comments

hello , for 'basic_mobile_robot' not found: try rospack find basic_mobile_robot and show me the output of this command.

TFZ gravatar image TFZ  ( 2022-08-23 10:51:09 -0600 )edit

Hey, thanks for helping. This was my output after I newly installed rospack-tools and tried it. joni@joni-VirtualBox:~$ rospack find basic_mobile_robot

[rospack] Error: package 'basic_mobile_robot' not found

Joni_07 gravatar image Joni_07  ( 2022-08-23 10:55:14 -0600 )edit

The weard thing is with colcon_cd basic_mobile_robot get´s me to the packages

Joni_07 gravatar image Joni_07  ( 2022-08-23 10:56:56 -0600 )edit

As I'm seeing here the path is not found means the package doesn t exist ! did u build well your package ? catkin_make in ur workspace ???

TFZ gravatar image TFZ  ( 2022-08-23 14:50:14 -0600 )edit

I made a colcon buid isn´t this enough?

Joni_07 gravatar image Joni_07  ( 2022-08-23 14:52:13 -0600 )edit

Since the package is not found I think there is a problem in building; when you have built your package, everything was ok like no errors ?

TFZ gravatar image TFZ  ( 2022-08-23 14:59:09 -0600 )edit

Also tried catkin_make. It seems like my ros2 is broken because I get the Error: Unable to correct problems, you have held broken packages. What should I do? Full Terminal: joni@joni-VirtualBox:~/nav2_ws$ catkin_make basic_mobile_robot

Command 'catkin_make' not found, but can be installed with:

sudo apt install catkin

joni@joni-VirtualBox:~/nav2_ws$ sudo apt install catkin

[sudo] password for joni:

Sorry, try again.

[sudo] password for joni:

Reading package lists... Done

Building dependency tree... Done

Reading state information... Done

Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming.

The following information may help to resolve the situation:

The following packages have unmet dependencies:

python3-catkin-pkg : Conflicts: catkin but 0.8.10-7 is to be installed

python3-catkin-pkg-mo

Joni_07 gravatar image Joni_07  ( 2022-08-23 14:59:35 -0600 )edit

Is there any way to fix my ROS system ?Or is a fresh install easyer

Joni_07 gravatar image Joni_07  ( 2022-08-23 15:10:40 -0600 )edit