Automatically enabling hector_quadrotor motors upon start

asked 2023-01-31 03:00:53 -0500

hunterlineage1 gravatar image

Before being able to teleoperate hector_quadrotor using teleop_twist_keyboard, I always need to enter the following command in another terminal to enable the motors:

 rosservice call /enable_motors "enable: true"

What can I do to automatically set /enable_motors "enable: true" when I run the launch file for hector_quadrotor in this way:

roslaunch hector_quadrotor_demo indoor_slam_gazebo.launch
edit retag flag offensive close merge delete