uncrustify libraries/AP_Math/examples/rotations/rotations.pde

This commit is contained in:
uncrustify 2012-08-16 23:20:14 -07:00 committed by Pat Hickey
parent baa74ae360
commit a40691e874
1 changed files with 43 additions and 43 deletions

View File

@ -11,15 +11,15 @@ FastSerialPort(Serial, 0);
#ifdef DESKTOP_BUILD #ifdef DESKTOP_BUILD
// all of this is needed to build with SITL // all of this is needed to build with SITL
#include <DataFlash.h> #include <DataFlash.h>
#include <APM_RC.h> #include <APM_RC.h>
#include <GCS_MAVLink.h> #include <GCS_MAVLink.h>
#include <Arduino_Mega_ISR_Registry.h> #include <Arduino_Mega_ISR_Registry.h>
#include <AP_PeriodicProcess.h> #include <AP_PeriodicProcess.h>
#include <AP_ADC.h> #include <AP_ADC.h>
#include <AP_Baro.h> #include <AP_Baro.h>
#include <AP_Compass.h> #include <AP_Compass.h>
#include <AP_GPS.h> #include <AP_GPS.h>
Arduino_Mega_ISR_Registry isr_registry; Arduino_Mega_ISR_Registry isr_registry;
AP_Baro_BMP085_HIL barometer; AP_Baro_BMP085_HIL barometer;
AP_Compass_HIL compass; AP_Compass_HIL compass;
@ -29,7 +29,7 @@ AP_Compass_HIL compass;
// standard rotation matrices (these are the originals from the old code) // standard rotation matrices (these are the originals from the old code)
#define MATRIX_ROTATION_NONE Matrix3f(1, 0, 0, 0, 1, 0, 0 ,0, 1) #define MATRIX_ROTATION_NONE Matrix3f(1, 0, 0, 0, 1, 0, 0,0, 1)
#define MATRIX_ROTATION_YAW_45 Matrix3f(0.70710678, -0.70710678, 0, 0.70710678, 0.70710678, 0, 0, 0, 1) #define MATRIX_ROTATION_YAW_45 Matrix3f(0.70710678, -0.70710678, 0, 0.70710678, 0.70710678, 0, 0, 0, 1)
#define MATRIX_ROTATION_YAW_90 Matrix3f(0, -1, 0, 1, 0, 0, 0, 0, 1) #define MATRIX_ROTATION_YAW_90 Matrix3f(0, -1, 0, 1, 0, 0, 0, 0, 1)
#define MATRIX_ROTATION_YAW_135 Matrix3f(-0.70710678, -0.70710678, 0, 0.70710678, -0.70710678, 0, 0, 0, 1) #define MATRIX_ROTATION_YAW_135 Matrix3f(-0.70710678, -0.70710678, 0, 0.70710678, -0.70710678, 0, 0, 0, 1)
@ -187,7 +187,7 @@ static void test_combinations(void)
} }
/* /*
rotation tests * rotation tests
*/ */
void setup(void) void setup(void)
{ {