ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

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

asked 2020-09-22 14:50:15 -0500

PANTUM_61 gravatar image

updated 2020-09-23 08:13:02 -0500

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 ros_essentials_cpp but always mıstake.pls help me ım begınner and another cod for rosrun evertıme same mıstake

edit retag flag offensive close merge delete

Comments

1

@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

Weasfas gravatar image Weasfas  ( 2020-09-23 04:15:55 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2020-09-23 06:49:13 -0500

PANTUM_61 gravatar image

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

edit flag offensive delete link more

Comments

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

PANTUM_61 gravatar image PANTUM_61  ( 2020-09-23 06:52:55 -0500 )edit

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.

Weasfas gravatar image Weasfas  ( 2020-09-23 07:43:59 -0500 )edit

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

PANTUM_61 gravatar image PANTUM_61  ( 2020-09-23 08:58:50 -0500 )edit

Question Tools

Stats

Asked: 2020-09-22 14:50:15 -0500

Seen: 249 times

Last updated: Sep 23 '20