Lucas De Marchi
d276029e35
AP_BattMonitor: fix class name after rename in AP_HAL_Linux
9 years ago
Lucas De Marchi
2ac96b942c
AP_HAL_Linux: remove prefix from AP_HAL_Linux classes
...
We have already a Linux namespace, so there's no need to prefix Linux on
all names.
9 years ago
Lucas De Marchi
19b31ccff1
DataFlash: remove check for max compass instances
...
For all supported boards the maximum number of instances is 3.
9 years ago
Lucas De Marchi
1a4a26de2b
AP_Compass: remove check for max compass instances
...
For all supported boards the maximum number of instances is 3. The
number of HIL_COMPASSES was already defined as 2 instead of 3, so this
is left as before.
9 years ago
Lucas De Marchi
4004d5bf34
AP_Compass: remove check for HAL_CPU_CLASS
...
We don't support HAL_CPU_CLASS <= HAL_CPU_CLASS_16 anymore. This makes
COMPASS_MAX_INSTANCES and COMPASS_MAX_BACKEND constant for all supported
boards.
9 years ago
Lucas De Marchi
36150348bb
GCS_MAVLink: remove check for max BARO instances
...
For all supported boards we allow more than 1 baro instance.
9 years ago
Lucas De Marchi
d83609b24c
DataFlash: remove check for max BARO instances
...
For all supported boards we allow more than 1 baro instance.
9 years ago
Lucas De Marchi
4d3229daa2
AP_Baro: remove check for HAL_CPU_CLASS
...
We don't support HAL_CPU_CLASS <= HAL_CPU_CLASS_16 anymore. This makes
BARO_MAX_INSTANCES and BARO_MAX_DRIVERS constant for all supported
boards.
9 years ago
Lucas De Marchi
d1ac6cbd4c
GCS_MAVLink: remove check for vibe check
...
For all supported boards we have vibration check.
9 years ago
Lucas De Marchi
121eeb4b58
DataFlash: remove check for vibe check
...
For all supported boards we have vibration check.
9 years ago
Lucas De Marchi
30a50b362f
AP_InertialSensor: remove check for vibe check
...
For all supported boards we have vibration check.
9 years ago
Lucas De Marchi
db62e55753
AP_InertialSensor: remove check for max INS instances
...
For all supported boards the maximum number of instances is 3.
9 years ago
Lucas De Marchi
ae77c4b692
GCS_MAVLink: remove check for max INS instances
...
For all supported boards the maximum number of instances is 3.
9 years ago
Lucas De Marchi
f99d64e621
DataFlash: remove check for max INS instances
...
For all supported boards the maximum number of instances is 3.
9 years ago
Lucas De Marchi
3114a988f8
AP_Arming: remove check for max INS instances
...
For all supported boards the maximum number of instances is 3.
9 years ago
Lucas De Marchi
09f185eb5e
ArduCopter: remove check for max INS instances
...
For all supported boards the maximum number of instances is 3.
9 years ago
Lucas De Marchi
a147b97d2b
AP_InertialSensor: remove check for HAL_CPU_CLASS
...
We don't support HAL_CPU_CLASS <= HAL_CPU_CLASS_16 anymore. This makes
INS_MAX_INSTANCES, INS_MAX_BACKENDS and INS_VIBRATION_CHECK constant for
all supported boards.
9 years ago
Lucas De Marchi
4480956c68
AP_InertialSensor: MPU6000: remove dead code for !FAST_SAMPLING
...
The code with ifdef for !FAST_SAMPLING is bit rotting and the example
for AP_InertialSensor is currently broken for this case. Instead of
adding more ifdefs, remove the legacy implementation for !FAST_SAMPLING
since we don't support it anymore.
Reported by Grant:
/home/grant/3dr/ardupilot/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp:
In member function 'void AP_InertialSensor_MPU6000::_accumulate(uint8_t*,
uint8_t)':
/home/grant/3dr/ardupilot/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp:776:20:
error: no match for 'operator+=' (operand types are 'Vector3l {aka
Vector3<long int>}' and 'Vector3f {aka Vector3<float>}')
_accel_sum += accel;
/home/grant/3dr/ardupilot/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp:777:19:
error: no match for 'operator+=' (operand types are 'Vector3l {aka
Vector3<long int>}' and 'Vector3f {aka Vector3<float>}')
_gyro_sum += gyro;
9 years ago
Caio Marcelo de Oliveira Filho
75add595a0
AP_HAL_Empty: remove empty example
...
There are hello world examples elsewhere, and a bit misleading. It
doesn't test the Empty implementation, but the current board
implementation.
9 years ago
Caio Marcelo de Oliveira Filho
5781164624
AP_HAL_PX4: remove unnecessary includes from example
9 years ago
Caio Marcelo de Oliveira Filho
22137b51e3
AP_PerfMon: remove unnecessary board include from example
9 years ago
Caio Marcelo de Oliveira Filho
ff13a7bf1f
GCS_Console: remove unnecessary board include from examples
9 years ago
Caio Marcelo de Oliveira Filho
5ad8077016
AP_Parachute: remove unnecessary board include from examples
9 years ago
Caio Marcelo de Oliveira Filho
417651b1dc
AP_Motors: remove unnecessary board includes from examples
9 years ago
Caio Marcelo de Oliveira Filho
1fc801c2c9
AP_ADC: remove unnecessary board includes from example
9 years ago
Caio Marcelo de Oliveira Filho
918a339660
AP_Declination: remove unnecessary board include from example
9 years ago
Caio Marcelo de Oliveira Filho
42a111f5df
AP_Mount: remove unnecessary board include from example
9 years ago
Caio Marcelo de Oliveira Filho
de98ec7c1a
AP_OpticalFlow: fix build of example for PX4
9 years ago
Caio Marcelo de Oliveira Filho
ae9bc62e84
AP_OpticalFlow: remove unnecessary includes from example
9 years ago
Caio Marcelo de Oliveira Filho
817248b2f5
AP_Airspeed: remove unnecessary includes from example
9 years ago
Caio Marcelo de Oliveira Filho
db1491f079
AP_GPS: remove unnecessary board includes from examples
9 years ago
Caio Marcelo de Oliveira Filho
d840fc0680
AP_Notify: remove unnecessary includes from examples
9 years ago
Caio Marcelo de Oliveira Filho
d51adf2523
AP_Notify: fix build of ToshibaLED_test in PX4
...
The unused variables were causing error due to shadowing. The
AP_Scheduler library was missing from make.inc.
9 years ago
Caio Marcelo de Oliveira Filho
191cff2035
AP_InertialSensor: remove unnecessary includes from examples
9 years ago
Caio Marcelo de Oliveira Filho
118de8d01f
AP_Mission: remove unnecessary includes from example
9 years ago
Caio Marcelo de Oliveira Filho
5d2279a554
AP_RangeFinder: remove unnecessary includes from example
9 years ago
Caio Marcelo de Oliveira Filho
6566deff66
AP_RangeFinder: fix compilation for Linux/SITL
...
Add libraries that those boards depend on. This should be handled in the
future elsewhere (and once for each board), but for now let's make it
compile again.
9 years ago
Caio Marcelo de Oliveira Filho
4731f87683
AP_Common: add Makefile and clean up includes
9 years ago
Caio Marcelo de Oliveira Filho
a3169d0a34
AP_Compass: remove unnecessary includes from example
9 years ago
Caio Marcelo de Oliveira Filho
9b73fcb6f8
AP_AHRS: remove unnecessary includes in the example
9 years ago
Caio Marcelo de Oliveira Filho
24178c3e10
AP_Baro: remove unnecessary includes in example
9 years ago
Caio Marcelo de Oliveira Filho
b028219c94
DataFlash: remove unnecessary includes from example
9 years ago
Caio Marcelo de Oliveira Filho
03b0c76553
StorageManager: remove unnecessary includes from example
9 years ago
Caio Marcelo de Oliveira Filho
d32207008d
Filter: remove unnecessary includes from examples
9 years ago
Caio Marcelo de Oliveira Filho
8e1e77007e
AP_BattMonitor: remove unnecessary includes in example
9 years ago
Caio Marcelo de Oliveira Filho
9a2e0c2fd9
AC_PID: remove unnecessary includes from example
9 years ago
Caio Marcelo de Oliveira Filho
09579cb6e3
GCS_MAVLink: remove unnecessary includes
9 years ago
Caio Marcelo de Oliveira Filho
e8d9c4dc9b
PID: remove unnecessary includes from example
9 years ago
Caio Marcelo de Oliveira Filho
36ffef97c0
CPUInfo: remove unnecessary includes
9 years ago
Caio Marcelo de Oliveira Filho
12850742f9
AP_Scheduler: remove unnecessary includes from example
9 years ago