ardupilot/ArduCopter
Caio Marcelo de Oliveira Filho 2e464a53c2 AP_HAL: make code not depend on concrete HAL implementations
The switching between different AP_HAL was happening by giving different
definitions of AP_HAL_BOARD_DRIVER, and the programs would use it to
instantiate.

A program or library code would have to explicitly include (and depend)
on the concrete implementation of the HAL, even when using it only via
interface.

The proposed change move this dependency to be link time. There is a
AP_HAL::get_HAL() function that is used by the client code. Each
implementation of HAL provides its own definition of this function,
returning the appropriate concrete instance.

Since this replaces the job of AP_HAL_BOARD_DRIVER, the definition was
removed.

The static variables for PX4 and VRBRAIN were named differently to avoid
shadowing the extern symbol 'hal'.
2015-10-21 09:16:07 +11:00
..
.gitignore Improvements to cmake. 2011-09-29 21:23:26 -04:00
APM_Config.h Copter: integrate Precision Landing lib 2015-08-31 18:00:28 +09:00
APM_Config_mavlink_hil.h Copter: remove unused definition 2015-06-28 21:55:31 +09:00
AP_State.cpp Copter: fix severity of super simple message to GCS 2015-09-12 12:35:42 +09:00
ArduCopter.cpp ArduCopter: Fix typo: auxiliar to auxiliary 2015-10-16 10:16:24 +11:00
Attitude.cpp Copter: check_ekf_yaw_reset uses ahrs method 2015-09-24 16:57:47 +09:00
Copter.cpp AP_HAL: make code not depend on concrete HAL implementations 2015-10-21 09:16:07 +11:00
Copter.h Copter: support SET_ATTITUDE_TARGET in guided mode 2015-10-09 12:15:38 +09:00
GCS_Mavlink.cpp Copter: fix guided attitude type_mask check 2015-10-10 22:04:51 +09:00
Log.cpp Copter: ensure 10% free space when initialising logging 2015-09-09 12:22:36 +10:00
Makefile ArduCopter Makefile: Don't include targets.mk directly (included by apm.mk) 2013-01-09 13:15:38 -08:00
Parameters.cpp Copter: added EK2_* parameters and EKF2 instance 2015-09-23 11:56:33 +10:00
Parameters.h Copter: added EK2_* parameters and EKF2 instance 2015-09-23 11:56:33 +10:00
Parameters.pde Copter: added blank Parameters.pde for MissionPlanner 2015-05-30 15:21:31 +09:00
ReleaseNotes.txt Copter: 3.3.1-rc1 release notes 2015-10-20 16:00:41 +09:00
UserCode.cpp Copter: finished conversion to .cpp files 2015-05-30 15:21:19 +09:00
UserVariables.h Copter: minor user hooks cleanup 2013-05-17 12:19:07 +09:00
capabilities.cpp Copter: guided attitude timeout to 1sec 2015-10-10 22:04:48 +09:00
commands.cpp Copter: send home position when home is set or get-home msg received 2015-10-03 12:50:45 +09:00
commands_logic.cpp Copter: Support do_digicam_x via command_long 2015-09-16 13:06:49 +09:00
compassmot.cpp ArduCopter: use compass get_{field,offsets}() functions 2015-10-15 19:56:05 +09:00
compat.cpp Copter: finished conversion to .cpp files 2015-05-30 15:21:19 +09:00
config.h Copter: replace vehicle compass consistency check 2015-09-16 15:13:38 +09:00
config_channels.h ArduCopter: remove unnecessary references to CH_CAM_PITCH, CH_CAM_ROLL, CH_CAM_YAW 2012-09-02 12:47:27 +09:00
control_acro.cpp Copter: slow start motors after landing in Stabilize, Acro 2015-07-28 15:16:24 +09:00
control_althold.cpp Copter: AltHold limits lean angle to maintain altitude 2015-09-07 15:10:12 +09:00
control_auto.cpp Copter: change multirotor comments to multicopter 2015-07-21 16:26:25 +09:00
control_autotune.cpp Copter: AltHold limits lean angle to maintain altitude 2015-09-07 15:10:12 +09:00
control_brake.cpp Copter: position_ok when optical flow ok 2015-10-14 12:01:41 +09:00
control_circle.cpp Copter: change multirotor comments to multicopter 2015-07-21 16:26:25 +09:00
control_drift.cpp Copter: AltHold limits lean angle to maintain altitude 2015-09-07 15:10:12 +09:00
control_flip.cpp Copter: finished conversion to .cpp files 2015-05-30 15:21:19 +09:00
control_guided.cpp Copter: guided takeoff checks auto-armed status 2015-10-20 15:51:55 +09:00
control_land.cpp Copter: AltHold limits lean angle to maintain altitude 2015-09-07 15:10:12 +09:00
control_loiter.cpp Copter: position_ok when optical flow ok 2015-10-14 12:01:41 +09:00
control_poshold.cpp Copter: AltHold limits lean angle to maintain altitude 2015-09-07 15:10:12 +09:00
control_rtl.cpp Copter: bug fix to RTL_ALT_MIN feature 2015-08-08 15:38:47 +09:00
control_sport.cpp Copter: log sonar_alt even when disabled 2015-06-17 12:46:55 +10:00
control_stabilize.cpp Copter: AltHold limits lean angle to maintain altitude 2015-09-07 15:10:12 +09:00
crash_check.cpp Copter: added FS_CRASH_CHECK parameter 2015-08-31 12:15:46 +10:00
defines.h ArduCopter: Fix typo: auxiliar to auxiliary 2015-10-16 10:16:24 +11:00
ekf_check.cpp Copter: Access EKF origin through AHRS object 2015-10-20 15:21:38 +11:00
esc_calibration.cpp Copter: update send text severities 2015-08-25 14:05:25 +09:00
events.cpp Copter: update send text severities 2015-08-25 14:05:25 +09:00
failsafe.cpp Copter: finished conversion to .cpp files 2015-05-30 15:21:19 +09:00
fence.cpp Copter: check fence when disarmed 2015-07-08 15:27:57 +09:00
flight_mode.cpp Copter: tell motors library when to use acro gyro gain 2015-09-25 12:30:34 +10:00
heli.cpp Copter: consider flight to be dynamic at greater than 2m above ground 2015-09-25 12:30:34 +10:00
heli_control_acro.cpp Copter: tell motors library when to use acro gyro gain 2015-09-25 12:30:34 +10:00
heli_control_stabilize.cpp Copter: AltHold limits lean angle to maintain altitude 2015-09-07 15:10:12 +09:00
inertia.cpp Copter: finished conversion to .cpp files 2015-05-30 15:21:19 +09:00
land_detector.cpp Copter: keep thr-mix at min when landed 2015-09-07 18:10:25 +09:00
landing_gear.cpp Copter: finished conversion to .cpp files 2015-05-30 15:21:19 +09:00
leds.cpp Copter: finished conversion to .cpp files 2015-05-30 15:21:19 +09:00
make.inc Copter: added EK2_* parameters and EKF2 instance 2015-09-23 11:56:33 +10:00
motor_test.cpp Copter: update send text severities 2015-08-25 14:05:25 +09:00
motors.cpp Copter: Access EKF healthy through AHRS object 2015-10-20 15:21:38 +11:00
navigation.cpp Copter: fix home_distance calculation 2015-07-08 15:27:59 +09:00
nocore.inoflag ArduCopter: add nocore.inoflag and Arduino.h 2012-12-20 14:51:40 +11:00
perf_info.cpp Copter: finished conversion to .cpp files 2015-05-30 15:21:19 +09:00
position_vector.cpp Copter: finished conversion to .cpp files 2015-05-30 15:21:19 +09:00
precision_landing.cpp Copter: precision landing uses sonar alt if available 2015-09-11 20:56:09 +09:00
radio.cpp Copter: no set_hover_throttle for TradHeli 2015-07-21 16:26:07 +09:00
readme.txt Copter: readme file renamed and directs to wiki 2014-02-12 21:03:45 +09:00
sensors.cpp Copter: add compass_cal update function 2015-09-03 16:59:12 +10:00
setup.cpp ArduCopter: use compass get_{field,offsets}() functions 2015-10-15 19:56:05 +09:00
switches.cpp Copter: update send text severities 2015-08-25 14:05:25 +09:00
system.cpp Copter: position_ok when optical flow ok 2015-10-14 12:01:41 +09:00
takeoff.cpp Copter: fix do_user_takeoff indentation 2015-07-14 20:16:57 +09:00
test.cpp ArduCopter: use compass get_{field,offsets}() functions 2015-10-15 19:56:05 +09:00
tuning.cpp Copter: Enable access to EKF2 height tuning 2015-10-20 15:21:38 +11:00

readme.txt

ArduCopter README

User Manual: http://copter.ardupilot.com/
Developer Manual: http://dev.ardupilot.com/