Hi all, long time military UAS guy here, but newbie to ArduPilot.
Bottom Line Up Front (BLUF): Setting “Point Camera Here” in MP to cardinal north results in gimbal pointing to relative 12 o’clock, regardless of actual aircraft cardinal direction orientation.
After years of flying military drones and a Comp Sci degree, I’m trying my hand at a custom drone during our COVID downtime.
Equipment:
- Frame: Hexacopter X
- FC: Cube Orange
- GNSS: Here2 (via UAVCAN)
- Gimbal: Tarot T-3D V
- Firmware: Multiple versions of ArduCopter attempted (Aug-Sep 2020 stable releases)
Gimbal is controlled via Aux 1 & 2 (pan & tilt), and generally responds as expected to MP “Point Camera Here” commands, except… it appears to interpret grid 360* (due north) on the map as “point to 12 o’clock” relative to the aircraft. The compass’s reported direction is correct in MP, as is general GPS location. 3D Fix OK, compass angle OK; gimbal motors/calibration OK (except for the direction it points). Problem replicated on multiple reboots in various aircraft orientations.
If the aircraft is oriented due north throughout the mission, this would be OK; however, as soon as the aircraft points off due north, then the gimbal pan angle mistakes absolute direction for a relative azimuth. Example: when the aircraft is pointed due East, and “Point Camera Here” is given to the east (090* absolute, but 12 o’clock relative), then the gimbal slews to the right (3 o’clock relative, but 180* absolute, aka due south). Defeats the purpose of an ROI command, which has yielded plenty of in-flight footage of my landing gear.
FWIW, the “Reset Position” command in the “Payload Control” window resets the gimbal to 0/0/0 (straight ahead and level), and the Pan/Tilt sliders work as expected. I think the problem lies entirely with interpreting absolute azimuths as relative angles during ROI commands.
Anything helps. Thanks!