ethz-asl / rotors_simulator

RotorS is a UAV gazebo simulator
1.24k stars 759 forks source link

How to make mav_hovering_example fly #678

Open lovelysunshie opened 3 years ago

lovelysunshie commented 3 years ago

Hello, I'm VERY new at ROS and rotor_ simulator. I need to work on my project and my task is to fly a mav_hovering_example_with_vi_sensor. I should be able to make it fly in a straight line, around the rectangular object, like different kinds of trajectories. But I have no idea where to start. I only found this line $ rostopic pub /firefly/command/motor_speed mav_msgs/Actuators '{angular_velocities: [100, 100, 100, 100, 100, 100]}' in documentation and I'm not sure where to find more about this topic and how to make it fly in a specific trajectory? Any help would be appreciated. If you need more information, I'll tell.