hector_quadrotor not listening to teleop_twist_keyboard
I'm using hector_quadrotor
, and am trying to get a simple quadrotor moving in it using my keyboard.
I run the demo using roslaunch hector_quadrotor_demo outdoor_flight_gazebo.launch
and it gives out a few messages which can be seen here (There are no errors, but a few warnings are there)
Then I run rosrun teleop_twist_keyboard teleop_twist_keyboard.py
which gives out the following output
When i press u,i,o,j,k,l,m ... nothing happens
My understanding is that they send/recv messages on /cmd_vel
to talk to each other. So, I read that I can see that using rostopic info /cmd_vel
and i get :
Type: geometry_msgs/Twist
Publishers:
* /teleop_twist_keyboard (http://ajk-VPCSB38GG:49644/)
Subscribers:
* /gazebo (http://ajk-VPCSB38GG:46506/)
So, it seems both are connected to the node, and rostopic echo /cmd_vel
gives:
$ rostopic echo /cmd_vel
WARNING: no messages received and simulated time is active.
Is /clock being published?
linear:
x: 0.5
y: 0.0
z: 0.0
angular:
x: 0.0
y: 0.0
z: 1.0
---
when I press u
in the teleop_twist_keyboard
. So, it seems to be sending, but the hector_quadrotor_demo
isn't catching it.
A bit more info : I am using Ubuntu 14.04 and ROS indigo. I installed all packages using the Ubuntu ppa for ROS and apt-get.
Yeah, even I am facing the same issue!!!
Same for myself.
I guess the problem is because of missing imu plugin,, could anybody debug that!!!