tu-darmstadt-ros-pkg / hector_quadrotor

hector_quadrotor contains packages related to modeling, control and simulation of quadrotor UAV systems.
Other
375 stars 277 forks source link

ROS Hector Quadrotor cmd_vel problem - Quadrotor not responding #85

Open sakpancar opened 6 years ago

sakpancar commented 6 years ago

packetlist

I have installed the packages src folder in the image above. And I compiled packages with "freem100@m100:~/seyit_ws$ catkin_make" freem100@m100:~/seyit_ws$ source devel/setup.bash

I am launching gazebo with "freem100@m100:~/seyit_ws$ roslaunch hector_quadrotor_demo indoor_slam_gazebo.launch"
ekran goruntusu - 2018-02-20 23-03-29

freem100@m100:~/seyit_ws$ rostopic pub /cmd_vel geometry_msgs/Twist "linear: x: 0.0 y: 0.0 z: 0.5 angular: x: 0.0 y: 0.0 z: 0.0"

I publish it with a cmd_vel above in a different terminal. But the quadrotor gives no response. Please, what can I do. Please help me...

ppianpak commented 6 years ago

I think you will need to enable the drone first by calling the service /enable_motors

rohit-s-murthy commented 6 years ago

When I use rosservice list I don't get this service listed. Do I need to do something different?

ppianpak commented 6 years ago

@rohit-s-murthy That's weird. I don't need to do anything. Have you spawned a drone into your world? Maybe there is a difference in version? I'm using Kinetic by the way.

rohit-s-murthy commented 6 years ago

@ppianpak Thanks for the reply. Ya I'm using Indigo so maybe that's why it isn't showing. Going through some of the other issues, I guess this service is only in Kinetic.

RyanDirgantara commented 6 years ago

Did you do the "source devel/setup.bash" on your new terminal?