Robotics StackExchange | Archived questions

How enable motors in hector quadrotor?

I start gazebo simulation with command:

roslaunch hector_quadrotor_demo outdoor_flight_gazebo.launch

All works fine, but when i try write in topic /cmd_vel nothing happens. To ensure that the quadrocopter flew it was necessary to turn on the motors with the command:

rosservice call /enable_motors true

But output tell:

ERROR: Service [/enable_motors] is not available.

In the list of available services ($ rosservice list) /enable_motors is not present. How I can enable motors?

P.S. Windows Subsystem for Linux, Ubuntu 16, ROS kinetic. P.P.S. On Ubuntu everything is working.

Asked by fantaa499 on 2018-05-08 01:15:55 UTC

Comments

Answers

I aslso have this problem. can anyone solved? I'm using ros indigo and Ubuntu 14.04.1

Thank you.

Asked by hamed ghasemi on 2019-05-09 00:44:41 UTC

Comments

Did you try $ rosservice call /engage true

Asked by AliAjwad on 2020-12-09 08:29:41 UTC

Comments