Skip to content

Part 3: lidar_wobbler: [rosrun] Couldn't find executable named wobbler_sine_commander #28

@eliaskrchnr

Description

@eliaskrchnr

I tried following the tutorial on page 250.
I could start gazebo and launch the lidar_wobbler.launch.
When I tried executing rosrun lidar_wobbler wobbler_sine_commander I got the following error: [rosrun] Couldn't find executable named wobbler_sine_commander
The file exists, the setup.bash is sourced and if I use roscd lidar_wobbler, the terminal finds the package.

elias@elias-ThinkPad:~$ cd ws_newman/
elias@elias-ThinkPad:~/ws_newman$ source devel/setup.bash
elias@elias-ThinkPad:~/ws_newman$ roscd lidar_wobbler
elias@elias-ThinkPad:~/ws_newman/src/learning_ros/Part_3/lidar_wobbler$ tree -L 2
.
├── CMakeLists.txt
├── config
│   └── one_dof_ctl_params.yaml
├── launch
│   ├── laser_assembler.launch
│   └── lidar_wobbler.launch
├── model
│   └── lidar_wobbler.urdf
├── package.xml
├── README.md
└── src
    ├── assemble_scans_test_client.cpp
    ├── lidar_transformer.cpp
    ├── lidar_wobbler.cpp
    └── wobbler_sine_commander.cpp

4 directories, 11 files
elias@elias-ThinkPad:~/ws_newman/src/learning_ros/Part_3/lidar_wobbler$ rosrun lidar_wobbler wobbler_sine_commander
[rosrun] Couldn't find executable named wobbler_sine_commander below /home/elias/ws_newman/src/learning_ros/Part_3/lidar_wobbler

I'm a newbie at ROS, so the answer could be really simple, and I am missing something. My CMakeLists.txt is the same as in the repository, since I didn't change anything.
I also deleted everything and cloned the repository again. Both times I got some error. A few of them regard the baxter package from Part 5, so it shouldn't affect me. The second error came in the end, and I could not find a reason for it online. It is:
Invoking "make -j16 -l16" failed
I'm grateful for every hint and advice. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions