Automatically enabling hector_quadrotor motors upon start
Before being able to teleoperate hector_quadrotor using teleoptwistkeyboard, 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
Asked by hunterlineage1 on 2023-01-31 04:00:53 UTC
Comments