ethz-asl / rotors_simulator

RotorS is a UAV gazebo simulator
1.2k stars 756 forks source link

Firefly crashes on distant waypoint #449

Open shening opened 6 years ago

shening commented 6 years ago

Hi

If I command a waypoint that is too far away, the hexacopter just does a flip and crashes. Is this normal? Example: rosrun rotors_gazebo waypoint_publisher 20 0 1 0 0 __ns:=firefly4 Can I limit the roll/pitch of the multirotor so it does not crash?

Thanks

Sebastian

aka-LJ commented 6 years ago

I am not entirely sure, but it might have something to do with the position controller, when it gets A to B, the path is curved, the drone goes down first then up. if you set the z axis too low, it has nowhere to descend and therefore crashes. mine one starts crashing when the z is roughly smaller than 0.5.