ArduPilot / ardupilot

ArduPlane, ArduCopter, ArduRover, ArduSub source
http://ardupilot.org/
GNU General Public License v3.0
10.8k stars 17.26k forks source link

Copter: Set target pitch angle rather than WPNAV_SPEED #2582

Open iskess opened 9 years ago

iskess commented 9 years ago

I'm still rather new to Copters and approaching things with a Plane mentality so forgive me if I'm off base here. It doesn't seem to make sense to be mapping at a constant ground speed now that we have CAM_TRIGG_DIST. If I have WPNAV_SPEED set to 8m/s and the wind is blowing at 5m/s, why must the copter slow its airspeed down to 3m/s on the downwind leg. The biggest limitation with copters is endurance, so we should be flying at the most efficient airspeed, or in this case pitch angle. What is the most efficient pitch angle on a copter? 30 degrees maybe? Depends on drag profile, prop pitch, motor angle?. Whatever it is, I want to fly that angle during my missions and take advantage of that tailwind which I just paid dearly for on the upwind leg! If anyone is worried about overspeeding the camera, then see #2571

iskess commented 7 years ago

Randy, you added some labels and didn't shoot down this idea so I remain hopeful. It's been about a year so I thought I'd check in to see if it's on the roadmap.

R-Lefebvre commented 7 years ago

IMO, this would be quite sub-optimal. This would reduce the system performance below where it's currently at.

A better solution to the root problem you are targeting, is to have airspeed estimate in ArduCopter, and fly at a target airspeed.

rmackay9 commented 7 years ago

It's likely that for some applications we need ground speed (i.e. when doing mapping) but in others airspeed would be better. So perhaps a bit like how we accept different altitude types (terrain, relative, absolute) our mission commands should accept air speed or ground speed. It will be tricky of course because our waypoints are locked to the ground (i.e. lat/lon) so for commands where we are stopping we will need to transition from airspeed to ground speed.

Muhammetyilmaz7 commented 1 month ago

Hello, I am using dronekit python in quadcopter drone. This drone will perform a task autonomously. Let me briefly talk about the mission: The drone takes off and heads towards the specified location. After reaching a certain distance on the road, it must go to that location in a kamikaze dive manner. I am having trouble adjusting the pitch of the drone. How can I do this? How can the nose of the drone move to the desired position at a desired angle?