From 15ea3ac0b4f3fbfecfc839db25e962a115e04fae Mon Sep 17 00:00:00 2001 From: jasonshort Date: Fri, 24 Jun 2011 17:09:59 +0000 Subject: [PATCH] Forgot to add setup for V Octo support from Dani Saez Added start of contributors list into code comments. git-svn-id: https://arducopter.googlecode.com/svn/trunk@2668 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- ArduCopterMega/ArduCopterMega.pde | 20 ++++++++++++++++++++ ArduCopterMega/setup.pde | 8 ++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/ArduCopterMega/ArduCopterMega.pde b/ArduCopterMega/ArduCopterMega.pde index 9cc40ce5c5..09cbb53efd 100644 --- a/ArduCopterMega/ArduCopterMega.pde +++ b/ArduCopterMega/ArduCopterMega.pde @@ -11,6 +11,26 @@ This firmware is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. + +Special Thanks for Contributors: + +Hein Hollander :Octo Support +Dani Saez :V Ocoto Support +Max Levine :Tri Support, Graphics +Jose Julio :Stabilization Control laws +Randy MacKay :Heli Support +Jani Hiriven :Testing feedback +Andrew Tridgell :Mavlink Support +James Goppert :Mavlink Support +Doug Weibel :Libraries +Mike Smith :Libraries, Coding support +HappyKillmore :Mavlink GCS +Micheal Oborne :Mavlink GCS +Jack Dunkle :Alpha testing +Christof Schmid :Alpha testing + +And much more so PLEASE PM me on DIYDRONES to add your contribution to the List + */ //////////////////////////////////////////////////////////////////////////////// diff --git a/ArduCopterMega/setup.pde b/ArduCopterMega/setup.pde index d74853ea21..2bc3e2e71d 100644 --- a/ArduCopterMega/setup.pde +++ b/ArduCopterMega/setup.pde @@ -288,8 +288,10 @@ setup_frame(uint8_t argc, const Menu::arg *argv) g.frame_orientation.set_and_save(PLUS_FRAME); } else if (!strcmp_P(argv[1].str, PSTR("+"))) { g.frame_orientation.set_and_save(PLUS_FRAME); + } else if (!strcmp_P(argv[1].str, PSTR("v"))) { + g.frame_orientation.set_and_save(V_FRAME); }else{ - Serial.printf_P(PSTR("\nOptions:[x,+]\n")); + Serial.printf_P(PSTR("\nOptions:[x,+,v]\n")); report_frame(); return 0; } @@ -835,6 +837,8 @@ void report_frame() Serial.printf_P(PSTR("X mode\n")); else if(g.frame_orientation == PLUS_FRAME) Serial.printf_P(PSTR("+ mode\n")); + else if(g.frame_orientation == V_FRAME) + Serial.printf_P(PSTR("V mode\n")); #endif print_blanks(2); @@ -1153,4 +1157,4 @@ int read_num_from_serial() { return atoi(data); } -#endif \ No newline at end of file +#endif