musicwarez / arducam-osd

Automatically exported from code.google.com/p/arducam-osd
0 stars 0 forks source link

Flight mode not shown for hexa- and octocopters #86

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Connecting MinimOSD with Firmware v2.2 to an APM running Arducopter on a 
hexacopter or octocopter will not update the flight mode osd. That's because 
line 877 of OSD_Panel.ino (rev 563) is:

<<    if (apm_mav_type == 2){ //ArduCopter MultiRotor or ArduCopter Heli

And type 2 is quad. Other types should be considered as well, e.g.:

>>    if ((apm_mav_type == MAV_TYPE_QUADROTOR) || (apm_mav_type == 
MAV_TYPE_HEXAROTOR) || (apm_mav_type == MAV_TYPE_TRICOPTER)) { // ArduCopter 
MultiRotor or ArduCopter Heli

Best Regards,
   Claus

Original issue reported on code.google.com by claus.di...@gmail.com on 2 Aug 2014 at 8:31

GoogleCodeExporter commented 9 years ago
|| (apm_mav_type == MAV_TYPE_OCTOROTOR)

Original comment by claus.di...@gmail.com on 3 Aug 2014 at 1:22