dbaldwin / DronePan

DronePan - 360 aerial panoramas with DJI Inspire 1, Phantom 3/4, Mavic Pro and Osmo
http://www.dronepan.com
Other
104 stars 32 forks source link

Fixes #48. Relative gimbal yaw for P4 and I1 #68

Closed chrissearle closed 8 years ago

chrissearle commented 8 years ago

This PR adds the ability to tell the gimbal controller that it's yaw is relative to the aircraft yaw.

It will use this relative figure when checking gimbal angle and also in the figure passed out to its delegate (which we show on screen).

It relies on the AC Yaw being fed in (setACYaw) - which is done via the PanoramaController (since that owns the gimbalController instance and the flightController instance).

codecov-io commented 8 years ago

Current coverage is 49.58%

Merging #68 into master will decrease coverage by 12.46%

@@             master        #68   diff @@
==========================================
  Files            17         18     +1   
  Lines          1889       1906    +17   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits           1172        945   -227   
- Misses          717        961   +244   
  Partials          0          0          

Powered by Codecov. Last updated by c40ad1d...33ac48e