mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
uncrustify ArduPlane/ArduPlane.pde
This commit is contained in:
parent
ff4afa767b
commit
0e8a76ccdd
@ -2,15 +2,15 @@
|
|||||||
|
|
||||||
#define THISFIRMWARE "ArduPlane V2.50"
|
#define THISFIRMWARE "ArduPlane V2.50"
|
||||||
/*
|
/*
|
||||||
Authors: Doug Weibel, Jose Julio, Jordi Munoz, Jason Short, Andrew Tridgell, Randy Mackay, Pat Hickey, John Arne Birkeland, Olivier Adler, Amilcar Lucas, Gregory Fletcher
|
* Authors: Doug Weibel, Jose Julio, Jordi Munoz, Jason Short, Andrew Tridgell, Randy Mackay, Pat Hickey, John Arne Birkeland, Olivier Adler, Amilcar Lucas, Gregory Fletcher
|
||||||
Thanks to: Chris Anderson, Michael Oborne, Paul Mather, Bill Premerlani, James Cohen, JB from rotorFX, Automatik, Fefenin, Peter Meister, Remzibi, Yury Smirnov, Sandro Benigno, Max Levine, Roberto Navoni, Lorenz Meier, Yury MonZon
|
* Thanks to: Chris Anderson, Michael Oborne, Paul Mather, Bill Premerlani, James Cohen, JB from rotorFX, Automatik, Fefenin, Peter Meister, Remzibi, Yury Smirnov, Sandro Benigno, Max Levine, Roberto Navoni, Lorenz Meier, Yury MonZon
|
||||||
Please contribute your ideas!
|
* Please contribute your ideas!
|
||||||
|
*
|
||||||
|
*
|
||||||
This firmware is free software; you can redistribute it and/or
|
* This firmware is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
License as published by the Free Software Foundation; either
|
* License as published by the Free Software Foundation; either
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
@ -305,21 +305,22 @@ static const char* flight_mode_strings[] = {
|
|||||||
"RTL",
|
"RTL",
|
||||||
"Loiter",
|
"Loiter",
|
||||||
"Takeoff",
|
"Takeoff",
|
||||||
"Land"};
|
"Land"
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
/* Radio values
|
/* Radio values
|
||||||
Channel assignments
|
* Channel assignments
|
||||||
1 Ailerons (rudder if no ailerons)
|
* 1 Ailerons (rudder if no ailerons)
|
||||||
2 Elevator
|
* 2 Elevator
|
||||||
3 Throttle
|
* 3 Throttle
|
||||||
4 Rudder (if we have ailerons)
|
* 4 Rudder (if we have ailerons)
|
||||||
5 Aux5
|
* 5 Aux5
|
||||||
6 Aux6
|
* 6 Aux6
|
||||||
7 Aux7
|
* 7 Aux7
|
||||||
8 Aux8/Mode
|
* 8 Aux8/Mode
|
||||||
Each Aux channel can be configured to have any of the available auxiliary functions assigned to it.
|
* Each Aux channel can be configured to have any of the available auxiliary functions assigned to it.
|
||||||
See libraries/RC_Channel/RC_Channel_aux.h for more information
|
* See libraries/RC_Channel/RC_Channel_aux.h for more information
|
||||||
*/
|
*/
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
@ -831,14 +832,14 @@ static void medium_loop()
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
/*{
|
/*{
|
||||||
Serial.print(ahrs.roll_sensor, DEC); Serial.printf_P(PSTR("\t"));
|
* Serial.print(ahrs.roll_sensor, DEC); Serial.printf_P(PSTR("\t"));
|
||||||
Serial.print(ahrs.pitch_sensor, DEC); Serial.printf_P(PSTR("\t"));
|
* Serial.print(ahrs.pitch_sensor, DEC); Serial.printf_P(PSTR("\t"));
|
||||||
Serial.print(ahrs.yaw_sensor, DEC); Serial.printf_P(PSTR("\t"));
|
* Serial.print(ahrs.yaw_sensor, DEC); Serial.printf_P(PSTR("\t"));
|
||||||
Vector3f tempaccel = imu.get_accel();
|
* Vector3f tempaccel = imu.get_accel();
|
||||||
Serial.print(tempaccel.x, DEC); Serial.printf_P(PSTR("\t"));
|
* Serial.print(tempaccel.x, DEC); Serial.printf_P(PSTR("\t"));
|
||||||
Serial.print(tempaccel.y, DEC); Serial.printf_P(PSTR("\t"));
|
* Serial.print(tempaccel.y, DEC); Serial.printf_P(PSTR("\t"));
|
||||||
Serial.println(tempaccel.z, DEC);
|
* Serial.println(tempaccel.z, DEC);
|
||||||
}*/
|
* }*/
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user