Ask Your Question

cazimirpro's profile - activity

2018-09-29 09:34:44 -0500 asked a question namespace conflicts with tf2_ros::TransformListener

namespace conflicts with tf2_ros::TransformListener Hi, so im launching a drone in gazebo and in a seperate namespace a

2018-08-27 06:17:45 -0500 received badge  Enthusiast
2018-08-08 01:58:10 -0500 marked best answer 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:

  1. catkin init

    Catkin workspace /home/carsten is already initialized. No action taken. WARNING: Source space /home/carsten/src does not yet exist.

  2. wstool init Didn't work aswell, so I used

  3. 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:

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 ...
(more)
2018-08-08 01:57:52 -0500 received badge  Famous Question (source)
2018-03-30 05:29:09 -0500 received badge  Notable Question (source)
2018-03-28 12:39:48 -0500 edited question hector_quadrotor_demo process dies

hector_quadrotor_demo process dies Hi, so I'll make this as specific as possible, beginning with how created my workspa

2018-03-28 12:30:20 -0500 received badge  Supporter (source)
2018-03-28 12:29:47 -0500 received badge  Popular Question (source)
2018-03-28 10:08:52 -0500 asked a question hector_quadrotor_demo opens RVIZ & crashes gazebo

hector_quadrotor_demo opens RVIZ & crashes gazebo Hi, so my goal is to adapt/extend the hector_quadrotor package, bu

2018-03-28 08:55:04 -0500 asked a question hector_quadrotor_demo process dies

hector_quadrotor_demo process dies Hi, so I'll make this as specific as possible, beginning with how created my workspa