ArduPilot / ardupilot

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

Copter: add support for precision landing using gimballed camera #9408

Open rmackay9 opened 6 years ago

rmackay9 commented 6 years ago

Copter's precision landing assumes that we the camera is hard mounted to the bottom of the vehicle. At least one users has requested that we support the hardware setup where the camera is mounted on a roll/pitch gimbal. This means the yaw will still rotate around with the vehicle but the camera will remain flat.

@fnoop, @jschall, do you guys have any advice on what we would need to change in AC_PrecLand to support this?

fnoop commented 6 years ago

This has been asked numerous times in the past - would be great to add with 3-axis freedom. It would allow anyone to use a gimballed camera for other purposes in normal flight and then use it for precland when coming into land. Would be really cool if we could control the gimbal to follow the target as it gets closer, or do scans/sweeps for landing targets. It would require a reasonable effort to make it possible. I suck at the necessary maths but if no-one else has picked it up when I clear my todo list I'll have a look.

auturgy commented 6 years ago

@tridge possibly relevant to gimbal discussion.

Regards,

James

On 12 Sep 2018, at 9:05 pm, Fnoop notifications@github.com wrote:

This has been asked numerous times in the past - would be great to add with 3-axis freedom. It would allow anyone to use a gimballed camera for other purposes in normal flight and then use it for precland when coming into land. Would be really cool if we could control the gimbal to follow the target as it gets closer, or do scans/sweeps for landing targets. It would require a reasonable effort to make it possible. I suck at the necessary maths but if no-one else has picked it up when I clear my todo list I'll have a look.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

rmackay9 commented 6 years ago

@fnoop, what do you think about this change to support a camera on a gimbal? https://github.com/rmackay9/rmackay9-ardupilot/commit/c824c2ea7ae76dc5235420b9bb05585d382ad6dc

jschall commented 6 years ago

Pretty simple, should be one parameter.

On Tue, Sep 18, 2018, 7:00 PM Randy Mackay notifications@github.com wrote:

@fnoop https://github.com/fnoop, what do you think about this change to support a camera on a gimbal? rmackay9@c824c2e https://github.com/rmackay9/rmackay9-ardupilot/commit/c824c2ea7ae76dc5235420b9bb05585d382ad6dc

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ArduPilot/ardupilot/issues/9408#issuecomment-422653202, or mute the thread https://github.com/notifications/unsubscribe-auth/AA9_0f-vIxEfID5fD7wngTVnXLyhGiPWks5ucc9WgaJpZM4WklYl .

philippewarren commented 1 year ago

We would like to use this feature for our project. What is the status of the development on this? I see that there was a relatively simple commit adding support a few years ago (https://github.com/rmackay9/rmackay9-ardupilot/commit/c824c2ea7ae76dc5235420b9bb05585d382ad6dc). Was it complete and tested? Was it merged? What work would be required to complete this feature today?