Robotics StackExchange | Archived questions

Rosrun commander faıl/okay ı fıxed/

sage: rosrun [--prefix cmd] [--debug] PACKAGE EXECUTABLE [ARGS] rosrun will locate PACKAGE and try to find an executable named EXECUTABLE in the PACKAGE tree. If it finds it, it will run it with ARGS.

ı use noetıc versıon for ubuntu 20.04 ı try command rosrun rosessentialscpp but always mıstake.pls help me ım begınner and another cod for rosrun evertıme same mıstake

Asked by PANTUM_61 on 2020-09-22 14:50:15 UTC

Comments

@PANTUM_61 Did you set up your workspace properly. Can you ensure your executable exists in the build folder after performing a catkin_make? To be more clear the complete command is: rosrun my_package my_pakage_node

Asked by Weasfas on 2020-09-23 04:15:55 UTC

Answers

ım sure but ım try agaın new setup.And my files are completede

Asked by PANTUM_61 on 2020-09-23 06:49:13 UTC

Comments

[rospack] Error: package 'catkin_ws' not found but my folder ıs okey

Asked by PANTUM_61 on 2020-09-23 06:52:55 UTC

I do not know if I understood you properly. To have a functional enviroment you first need to have a workspace, then, inside that workspace a src folder in which you place your package folders and then from the root of the workspace you need to source your environment and call the catkin_make to compile all your packages. Once the compilation process you can use the rosrun to start a node. catkin_ws is not a package name folder but the folder in which your workspace was set up. Can yoy share your folders structure, I think you have a bad one.

Asked by Weasfas on 2020-09-23 07:43:59 UTC

thank you for your help, I checked the file creation, everything is positive, my tests are as they should be.Installations I'd plug from Aniss kouuba

Asked by PANTUM_61 on 2020-09-23 08:58:50 UTC