ethz-asl / rotors_simulator

RotorS is a UAV gazebo simulator
1.23k stars 758 forks source link

Drone shoots straight up when mav_with_keyboard.launch is launched #602

Open raghavthakar opened 4 years ago

raghavthakar commented 4 years ago

Whenever I launch, the drone spawns without problem. Even the propellers spin, and I'm able to control roll and pitch. However, the moment I touch the throttle, the drone shoots straight up out of the frame and I'm unable to control it. Additionally, yaw cannot be controlled.

Any help will be greatly appreciated!

Thanks Raghav

LordonCN commented 4 years ago

It's same to me! anyone one can help ?

HendAdell commented 4 years ago

Same here, can anyone help please ?

postmandev commented 3 years ago

+1

LanWu076 commented 2 years ago

I hope this will help someone. I think the zero of throttle is in the middle of the bar like the figure below shows. Lower or higher will control the drone to go up or down. It's like a PID control, and keeping it in a constant offset value might shoot the drone into the sky. You can use the Edit--Reset Model Pose to reset the drone back to the original position without restarting the Gazebo. Screenshot from 2021-10-26 15-25-47