Error: cannot launch node of type [message_to_tf/message_to_tf]: can't locate node [message_to_tf] in package [message_to_tf]
I'm new in ros, i have downloaded hector_quadrotor
package, and when i run the command roslaunch hector_quadrotor_demo outdoor_flight_gazebo.launch
after opening a new terminal, everything is normal, but when i run that command again after running cd ~/catkin_ws
, catkin_make
, source devel/setup.bash
, the error: ERROR: cannot launch node of type [message_to_tf/message_to_tf]: can't locate node [message_to_tf] in package [message_to_tf]
occurred. The details like this:
aicrobo@ubuntu:~/catkin_ws$ roslaunch hector_quadrotor_demo outdoor_flight_gazebo.launch
... logging to /home/aicrobo/.ros/log/ace916f6-fc96-11e5-8da5-b888e3704f6c/roslaunch-ubuntu-11805.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://ubuntu:60744/
SUMMARY
========
PARAMETERS
* /base_link_frame: /base_link
* /controller/imu_topic:
* /controller/motor/type: hector_quadrotor_...
* /controller/pose/type: hector_quadrotor_...
* /controller/pose/xy/k_d: 0.0
* /controller/pose/xy/k_i: 0.0
* /controller/pose/xy/k_p: 2.0
* /controller/pose/xy/limit_output: 5.0
* /controller/pose/yaw/k_d: 0.0
* /controller/pose/yaw/k_i: 0.0
* /controller/pose/yaw/k_p: 2.0
* /controller/pose/yaw/limit_output: 1.0
* /controller/pose/z/k_d: 0.0
* /controller/pose/z/k_i: 0.0
* /controller/pose/z/k_p: 2.0
* /controller/pose/z/limit_output: 5.0
* /controller/state_topic:
* /controller/twist/angular/xy/k_d: 5.0
* /controller/twist/angular/xy/k_i: 5.0
* /controller/twist/angular/xy/k_p: 10.0
* /controller/twist/angular/xy/time_constant: 0.01
* /controller/twist/angular/z/k_d: 0.0
* /controller/twist/angular/z/k_i: 2.5
* /controller/twist/angular/z/k_p: 5.0
* /controller/twist/angular/z/limit_output: 3.0
* /controller/twist/angular/z/time_constant: 0.1
* /controller/twist/limits/force/z: 30.0
* /controller/twist/limits/load_factor: 1.5
* /controller/twist/limits/torque/xy: 10.0
* /controller/twist/limits/torque/z: 1.0
* /controller/twist/linear/xy/k_d: 0.0
* /controller/twist/linear/xy/k_i: 1.0
* /controller/twist/linear/xy/k_p: 5.0
* /controller/twist/linear/xy/limit_output: 10.0
* /controller/twist/linear/xy/time_constant: 0.05
* /controller/twist/linear/z/k_d: 0.0
* /controller/twist/linear/z/k_i: 1.0
* /controller/twist/linear/z/k_p: 5.0
* /controller/twist/linear/z/limit_output: 10.0
* /controller/twist/linear/z/time_constant: 0.05
* /controller/twist/type: hector_quadrotor_...
* /ground_truth_to_tf/frame_id: /world
* /ground_truth_to_tf/odometry_topic: ground_truth/state
* /ground_truth_to_tf/tf_prefix:
* /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: indigo
* /rosversion: 1.11.16
* /tf_prefix:
* /use_sim_time: True
* /world_frame: world
NODES
/
controller_spawner (controller_manager/spawner)
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)
ground_truth_to_tf (message_to_tf/message_to_tf)
robot_state_publisher (robot_state_publisher/robot_state_publisher)
rviz (rviz/rviz)
spawn_robot (gazebo_ros/spawn_model)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[gazebo-1]: started with pid [11826]
process[gazebo_gui-2]: started with pid [11830]
process[spawn_robot-3]: started with pid [11834 ...
Have you installed message_to_tf package?
I have installed that package in
home/aicrobo/catkin_ws/src
, andcatkin_ws
is my workspace.