Hello,
I'm trying to use the package hector_quadrotor with ROS Melodic. I have built all the packages and their dependencies from source. I did not get any errors while building and the builds are successful. But when I try to launch the launch file spawn_quadrotor_with_asus_with_laser.launch from the package hector_quadrotor_gazebo I am getting the following error, I am posting my complete log over here :
✘ adbidwai@adbidwai-g3-3579 ~/tud_ws/src/hector_quadrotor/hector_quadrotor_gazebo/launch kinetic-devel roslaunch hector_quadrotor_gazebo spawn_quadrotor_with_asus_with_laser.launch
... logging to /home/adbidwai/.ros/log/3b5bab56-f6ab-11eb-8035-2016b98536e4/roslaunch-adbidwai-g3-3579-28172.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
redefining global symbol: pi
when processing file: /home/adbidwai/tud_ws/src/hector_quadrotor/hector_quadrotor_description/urdf/quadrotor_base.urdf.xacro
included from: /home/adbidwai/tud_ws/src/hector_quadrotor/hector_quadrotor_description/urdf/quadrotor_with_asus_with_hokuyo_utm30lx.urdf.xacro
included from: /home/adbidwai/tud_ws/src/hector_quadrotor/hector_quadrotor_description/urdf/quadrotor_with_asus_with_hokuyo_utm30lx.gazebo.xacro
started roslaunch server http://adbidwai-g3-3579:35777/
SUMMARY
========
PARAMETERS
* /action_timeout: 30.0
* /base_footprint_frame: /base_footprint
* /base_link_frame: /base_link
* /base_stabilized_frame: /base_stabilized
* /command_timeout: 0.5
* /connection_timeout: 10.0
* /controller/attitude/max_roll_pitch: 0.785398163
* /controller/attitude/pitch/d: 20.0
* /controller/attitude/pitch/i: 0.0
* /controller/attitude/pitch/p: 100.0
* /controller/attitude/pitch/publish_state: True
* /controller/attitude/roll/d: 20.0
* /controller/attitude/roll/i: 0.0
* /controller/attitude/roll/p: 100.0
* /controller/attitude/roll/publish_state: True
* /controller/attitude/type: hector_quadrotor_...
* /controller/attitude/yawrate/d: 0.5
* /controller/attitude/yawrate/i: 0.0
* /controller/attitude/yawrate/max: 3.14
* /controller/attitude/yawrate/p: 5.0
* /controller/attitude/yawrate/publish_state: True
* /controller/position/type: hector_quadrotor_...
* /controller/position/x/d: 0.0
* /controller/position/x/i: 0.0
* /controller/position/x/p: 2.0
* /controller/position/y/d: 0.0
* /controller/position/y/i: 0.0
* /controller/position/y/p: 2.0
* /controller/position/yaw/d: 0.0
* /controller/position/yaw/i: 0.0
* /controller/position/yaw/p: 2.0
* /controller/position/z/d: 0.0
* /controller/position/z/i: 0.0
* /controller/position/z/p: 2.0
* /controller/velocity/max_xy: 10.0
* /controller/velocity/type: hector_quadrotor_...
* /controller/velocity/x/antiwindup: True
* /controller/velocity/x/d: 0.0
* /controller/velocity/x/i: 1.0
* /controller/velocity/x/i_clamp: 5.0
* /controller/velocity/x/p: 2.0
* /controller/velocity/x/publish_state: True
* /controller/velocity/y/antiwindup: True
* /controller/velocity/y/d: 0.0
* /controller/velocity/y/i: 1.0
* /controller/velocity/y/i_clamp: 5.0
* /controller/velocity/y/p: 2.0
* /controller/velocity/y/publish_state: True
* /controller/velocity/z/antiwindup: True
* /controller/velocity/z/d: 0.0
* /controller/velocity/z/i: 1.0
* /controller/velocity/z/i_clamp: 5.0
* /controller/velocity/z/max: 5.0
* /controller/velocity/z/p: 5.0
* /controller/velocity/z/publish_state: True
* /dist_tolerance: 0.1
* /estop_deceleration: 1.0
* /estop_relay/lazy: True
* /ground_truth_to_tf/frame_id: world
* /ground_truth_to_tf/odometry_topic: ground_truth/state
* /ground_truth_to_tf/tf_prefix:
* /imu_topic:
* /landing_height: 0.1
* /quadrotor_aerodynamics/C_mxy: 0.074156208
* /quadrotor_aerodynamics/C_mz: 0.050643264
* /quadrotor_aerodynamics/C_wxy: 0.12
* /quadrotor_aerodynamics/C_wz: 0.1
* /quadrotor_propulsion/CT0s: 1.53819048398e-05
* /quadrotor_propulsion/CT1s: -0.00025224
* /quadrotor_propulsion/CT2s: 0.0
* /quadrotor_propulsion/J_M: 2.5730480633e-05
* /quadrotor_propulsion/Psi: 0.00724217982751
* /quadrotor_propulsion/R_A: 0.201084219222
* /quadrotor_propulsion/alpha_m: 0.104863758314
* /quadrotor_propulsion/beta_m: 0.549262344778
* /quadrotor_propulsion/k_m: -7.01163190977e-05
* /quadrotor_propulsion/k_t: 0.0153368647144
* /quadrotor_propulsion/l_m: 0.275
* /robot_description: <?xml version="1....
* /robot_state_publisher/publish_frequency: 50.0
* /rosdistro: melodic
* /rosversion: 1.14.11
* /state_timeout: 0.5
* /state_topic:
* /takeoff_height: 0.1
* /tf_prefix:
* /time_in_tolerance: 1.0
* /world_frame: world
* /wrench_limits/force/z/max: 30.0
* /wrench_limits/force/z/min: 0.0
* /wrench_limits/torque/x/max: 10.0
* /wrench_limits/torque/y/max: 10.0
* /wrench_limits/torque/z/max: 1.0
* /yaw_tolerance: 0.35
NODES
/
controller_spawner (controller_manager/spawner)
estop_relay (topic_tools/relay)
ground_truth_to_tf (message_to_tf/message_to_tf)
landing_action (hector_quadrotor_actions/landing_action)
pose_action (hector_quadrotor_actions/pose_action)
robot_state_publisher (robot_state_publisher/robot_state_publisher)
spawn_robot (gazebo_ros/spawn_model)
takeoff_action (hector_quadrotor_actions/takeoff_action)
auto-starting new master
process[master]: started with pid [28185]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 3b5bab56-f6ab-11eb-8035-2016b98536e4
WARNING: Package name "xMonsterCPG" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits, underscores, and dashes.
process[rosout-1]: started with pid [28196]
started core service [/rosout]
process[robot_state_publisher-2]: started with pid [28203]
process[ground_truth_to_tf-3]: started with pid [28204]
process[controller_spawner-4]: started with pid [28205]
[ WARN] [1628250087.164841319]: The root link base_link has an inertia specified in the URDF, but KDL does not support a root link with an inertia. As a workaround, you can add an extra dummy link to your URDF.
process[estop_relay-5]: started with pid [28216]
process[pose_action-6]: started with pid [28218]
process[landing_action-7]: started with pid [28223]
[ INFO] [1628250087.195499629]: waitForService: Service [/enable_motors] has not been advertised, waiting...
process[takeoff_action-8]: started with pid [28231]
process[spawn_robot-9]: started with pid [28236]
[ INFO] [1628250087.218086127]: waitForService: Service [/enable_motors] has not been advertised, waiting...
[ INFO] [1628250087.223027866]: waitForService: Service [/enable_motors] has not been advertised, waiting...
[WARN] [1628250087.495502]: DEPRECATION warning: --shutdown-timeout has no effect.
[INFO] [1628250087.496224]: Controller Spawner: Waiting for service controller_manager/load_controller
[INFO] [1628250087.924897]: Loading model XML from ros parameter robot_description
[INFO] [1628250087.945170]: Waiting for service /gazebo/spawn_urdf_model
[WARN] [1628250117.738826]: Controller Spawner couldn't find the expected controller_manager ROS interface.
[controller_spawner-4] process has finished cleanly
log file: /home/adbidwai/.ros/log/3b5bab56-f6ab-11eb-8035-2016b98536e4/controller_spawner-4*.log
Hello, I'm trying to use the package
hector_quadrotor
with ROS Melodic. I have built all the packages and their dependencies from source. I did not get any errors while building and the builds are successful. But when I try to launch the launch filespawn_quadrotor_with_asus_with_laser.launch
from the packagehector_quadrotor_gazebo
I am getting the following error, I am posting my complete log over here :