hector_quadrotor_demo process dies
Hi, so I'll make this as specific as possible, beginning with how created my workspace in kinetic.
I tried several methods, because i was asked to preferably use "catkin build" instead of catkin_make: i created a folder in ~/kinetic_ws:
-
Catkin workspace
/home/carsten
is already initialized. No action taken. WARNING: Source space/home/carsten/src
does not yet exist. wstool init Didn't work aswell, so I used
catkin_make which resulted in
echo $ROS_PACKAGE_PATH /home/carsten/kinetic_ws/src:/opt/ros/kinetic/share
I then
- rm build devel -rf
so that I could compile using the catkin build command.
So now that i have my workspace "properly" set up, I downloaded the following (meta?)packages into my /src folder:
- git clone https://github.com/tu-darmstadt-ros-p...
- git clone
https://github.com/tu-darmstadt-ros-p...
I had to download several tools:
- sudo apt-get install ros-kinetic-hector-gazebo
- sudo apt-get install ros-kinetic-gazebo-plugins ros-kinetic-gazebo-ros-control
- sudo apt-get install ros-kinetic-hector-models
I couldn't build the package, I googled and found a solution using
- rm -rf ~/.catkin_tools
Afterwards, i was able to compile:
catkin build hector_quadrotor
-------------------------------------------------------------
Profile: default
Extending: [env] /opt/ros/kinetic
Workspace: /home/carsten/kinetic_ws
-------------------------------------------------------------
Source Space: [exists] /home/carsten/kinetic_ws/src
Log Space: [missing] /home/carsten/kinetic_ws/logs
Build Space: [exists] /home/carsten/kinetic_ws/build
Devel Space: [exists] /home/carsten/kinetic_ws/devel
Install Space: [unused] /home/carsten/kinetic_ws/install
DESTDIR: [unused] None
-------------------------------------------------------------
Devel Space Layout: linked
Install Space Layout: None
-------------------------------------------------------------
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
-------------------------------------------------------------
Whitelisted Packages: None
Blacklisted Packages: None
-------------------------------------------------------------
Workspace configuration appears valid.
NOTE: Forcing CMake to run for each package.
-------------------------------------------------------------
[build] Found '17' packages in 0.0 seconds.
[build] Updating package table.
Starting >>> catkin_tools_prebuild
Finished <<< catkin_tools_prebuild [ 2.0 seconds ]
Starting >>> hector_quadrotor_description
Starting >>> hector_uav_msgs
Finished <<< hector_quadrotor_description [ 1.8 seconds ]
Finished <<< hector_uav_msgs [ 8.6 seconds ]
Starting >>> hector_quadrotor_interface
Starting >>> hector_quadrotor_model
Finished <<< hector_quadrotor_interface [ 5.1 seconds ]
Starting >>> hector_quadrotor_controllers
Starting >>> hector_quadrotor_teleop
Finished <<< hector_quadrotor_model [ 5.5 seconds ]
Finished <<< hector_quadrotor_controllers [ 15.2 seconds ]
Finished <<< hector_quadrotor_teleop [ 17.4 seconds ]
Starting >>> hector_quadrotor
Finished <<< hector_quadrotor [ 2.1 seconds ]
[build] Summary: All 8 packages succeeded!
[build] Ignored: 10 packages were skipped or are blacklisted.
[build] Warnings: None.
[build] Abandoned: None.
[build] Failed: None.
[build] Runtime: 35.6 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.
But I was wondering why 10 packages were skipped. I then compiled the other package:
catkin build hector_localization
-------------------------------------------------------------
Profile: default
Extending: [cached] /opt/ros/kinetic
Workspace: /home/carsten/kinetic_ws
-------------------------------------------------------------
Source Space: [exists] /home/carsten/kinetic_ws/src
Log Space: [exists] /home/carsten/kinetic_ws/logs
Build Space: [exists] /home/carsten/kinetic_ws/build
Devel Space: [exists] /home/carsten/kinetic_ws/devel
Install Space: [unused] /home/carsten/kinetic_ws/install
DESTDIR: [unused] None
-------------------------------------------------------------
Devel Space Layout: linked
Install Space Layout: None
-------------------------------------------------------------
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
-------------------------------------------------------------
Whitelisted Packages: None
Blacklisted Packages: None
-------------------------------------------------------------
Workspace configuration appears valid.
-------------------------------------------------------------
[build] Found '17' packages in 0.0 seconds ...