Ardupilot2/ArduCopter
Lucas De Marchi cd5b018d82 ArduCopter: move version to a static member
We should never include version.h or ap_version.h headers directly
on a header since this will trigger a complete rebuild of the
codebase when we commit to the repository. The ap_version.h header
is auto-generated containing information from the current commit.

If we include it in a header, every other file that ends up including
that header (directly or indirectly) will need to be rebuilt. No
ccache's cache beats having to do nothing when the header is just
not included.

version.h contains information that is kept on a struct inside
each vehicle. Rather than using the macros from each vehicle,
the getter should be preferred, which returns an AP_FWVersion
referente.
2017-09-23 21:37:45 -07:00
..
.gitignore Improvements to cmake. 2011-09-29 21:23:26 -04:00
afs_copter.cpp Copter: Support landing flight termination 2017-09-13 13:15:08 -07:00
afs_copter.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_Arming.cpp Copter: continuously reevaluate rc calibration checks 2017-08-21 09:05:31 +09:00
AP_Arming.h Copter: continuously reevaluate rc calibration checks 2017-08-21 09:05:31 +09:00
AP_Rally.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_Rally.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_State.cpp Copter: eliminate GCS_MAVLINK::send_statustext_all 2017-07-11 23:53:53 +01:00
APM_Config_mavlink_hil.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
APM_Config.h Copter: remove CLI 2017-08-14 10:23:50 +09:00
ArduCopter.cpp Copter: complete rename to SmartRTL 2017-09-15 08:58:14 +09:00
Attitude.cpp Copter: remove unused desired_climb_rate variable 2017-03-09 19:52:58 +11:00
avoidance_adsb.cpp Copter: combined tri, single, coax and multicopter into a single build 2017-01-12 17:39:37 +11:00
avoidance_adsb.h Copter: add new avoidance recovery modes 2016-08-17 22:38:54 -07:00
baro_ground_effect.cpp Copter: fix float warning; get_velocity_z() returns float 2017-01-17 09:41:37 -08:00
capabilities.cpp Copter: add compass cal capability bit 2016-12-04 19:17:01 -08:00
commands_logic.cpp ArduCopter: use FALLTHROUGH define 2017-08-22 23:59:13 -07:00
commands.cpp Copter: support SET_GPS_GLOBAL_ORIGIN 2017-09-19 10:30:15 +09:00
compassmot.cpp Copter: continuously reevaluate rc calibration checks 2017-08-21 09:05:31 +09:00
compat.cpp Copter: use millis/micros/panic functions 2015-11-20 12:26:31 +09:00
config.h Copter: remove MAIN_LOOP_RATE in favour of parameter value 2017-08-29 08:41:07 +09:00
control_acro.cpp Copter: sport and acro trainer limits based on target attitude 2017-05-23 19:44:52 +09:00
control_althold.cpp Copter: fixed motor runup check for heli 2017-09-21 08:52:50 +10:00
control_auto.cpp Copter: minor comment and formatting fixes 2017-07-12 13:27:45 +09:00
control_autotune.cpp ArduCopter: use FALLTHROUGH define 2017-08-22 23:59:13 -07:00
control_avoid_adsb.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
control_brake.cpp Copter: combined tri, single, coax and multicopter into a single build 2017-01-12 17:39:37 +11:00
control_circle.cpp Copter: combined tri, single, coax and multicopter into a single build 2017-01-12 17:39:37 +11:00
control_drift.cpp Copter: combined tri, single, coax and multicopter into a single build 2017-01-12 17:39:37 +11:00
control_flip.cpp Copter: combined tri, single, coax and multicopter into a single build 2017-01-12 17:39:37 +11:00
control_guided_nogps.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
control_guided.cpp Copter: minor comment and formatting fixes 2017-07-12 13:27:45 +09:00
control_land.cpp Copter: remove unused desired_climb_rate variable 2017-03-09 19:52:58 +11:00
control_loiter.cpp Copter: fixed motor runup check for heli 2017-09-21 08:52:50 +10:00
control_poshold.cpp Copter: fixed motor runup check for heli 2017-09-21 08:52:50 +10:00
control_rtl.cpp Copter: use send_text method on the GCS singleton 2017-07-09 17:17:29 -04:00
control_safe_rtl.cpp Copter: complete rename to SmartRTL 2017-09-15 08:58:14 +09:00
control_sport.cpp Copter: sport and acro trainer limits based on target attitude 2017-05-23 19:44:52 +09:00
control_stabilize.cpp Copter: combined tri, single, coax and multicopter into a single build 2017-01-12 17:39:37 +11:00
control_throw.cpp Copter: use send_text method on the GCS singleton 2017-07-09 17:17:29 -04:00
Copter.cpp ArduCopter: move version to a static member 2017-09-23 21:37:45 -07:00
Copter.h ArduCopter: move version to a static member 2017-09-23 21:37:45 -07:00
crash_check.cpp Copter: use send_text method on the GCS singleton 2017-07-09 17:17:29 -04:00
defines.h Copter: complete rename to SmartRTL 2017-09-15 08:58:14 +09:00
ekf_check.cpp Copter: ekf position checks are done before we call failsafe_ekf_event 2017-09-19 12:44:43 +01:00
esc_calibration.cpp Copter: continuously reevaluate rc calibration checks 2017-08-21 09:05:31 +09:00
events.cpp Copter: add gps glitch notification and pre-arm check 2017-07-27 14:16:23 +09:00
failsafe.cpp Copter: combined tri, single, coax and multicopter into a single build 2017-01-12 17:39:37 +11:00
fence.cpp Copter: report polygon fence breach 2017-07-21 09:47:00 +09:00
flight_mode.cpp Copter: fixed motor runup check for heli 2017-09-21 08:52:50 +10:00
GCS_Copter.h Copter: remove CLI 2017-08-14 10:23:50 +09:00
GCS_Mavlink.cpp Copter: command-long DO_SET_HOME check first param is zero 2017-09-20 12:14:38 +09:00
GCS_Mavlink.h Copter: move handling of SET_GPS_GLOBAL_ORIGIN up 2017-09-19 15:44:23 +09:00
heli_control_acro.cpp Copter: combined tri, single, coax and multicopter into a single build 2017-01-12 17:39:37 +11:00
heli_control_stabilize.cpp Copter: combined tri, single, coax and multicopter into a single build 2017-01-12 17:39:37 +11:00
heli.cpp Copter: rename SafeRTL to SmartRTL 2017-09-09 14:05:41 +09:00
inertia.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
land_detector.cpp Copter: call set_likely_flying() 2017-06-20 09:44:44 +10:00
landing_gear.cpp Copter: enable landing gear based on RC output 2017-08-05 11:20:41 +09:00
leds.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
Log.cpp Copter: integrate simpler Log_Write_EKF 2017-08-23 11:19:14 +09:00
make.inc Copter: build scripts changed from SafeRTL to SmartRTL 2017-09-09 14:05:41 +09:00
Makefile ArduCopter Makefile: Don't include targets.mk directly (included by apm.mk) 2013-01-09 13:15:38 -08:00
Makefile.waf waf: use single entry point for make wrappers 2015-12-10 10:40:34 +09:00
motor_test.cpp Copter: continuously reevaluate rc calibration checks 2017-08-21 09:05:31 +09:00
motors.cpp Copter: complete rename to SmartRTL 2017-09-15 08:58:14 +09:00
navigation.cpp Copter: rename SafeRTL to SmartRTL 2017-09-09 14:05:41 +09:00
Parameters.cpp Copter: complete rename to SmartRTL 2017-09-15 08:58:14 +09:00
Parameters.h Copter: rename SafeRTL to SmartRTL 2017-09-09 14:05:41 +09:00
Parameters.pde Copter: added blank Parameters.pde for MissionPlanner 2015-05-30 15:21:31 +09:00
perf_info.cpp Copter: mavlink PERF messages also spit out average and standard deviation 2017-08-29 21:31:46 +01:00
position_vector.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
precision_landing.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
radio.cpp Copter: fixed collective input with H_SV_MAN=1 for heli 2017-09-21 08:52:50 +10:00
ReleaseNotes.txt Copter: 3.5.3 release notes 2017-09-21 11:13:02 +09:00
sensors.cpp Copter: rename SafeRTL to SmartRTL 2017-09-09 14:05:41 +09:00
setup.cpp Copter: remove CLI 2017-08-14 10:23:50 +09:00
switches.cpp Copter: complete rename to SmartRTL 2017-09-15 08:58:14 +09:00
system.cpp Copter: complete rename to SmartRTL 2017-09-15 08:58:14 +09:00
takeoff.cpp Copter: combined tri, single, coax and multicopter into a single build 2017-01-12 17:39:37 +11:00
terrain.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
tuning.cpp Copter: adjust for change to AC_PID 2017-01-12 17:39:37 +11:00
UserCode.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
UserVariables.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
version.cpp ArduCopter: move version to a static member 2017-09-23 21:37:45 -07:00
version.h Copter: add constant structure holding firmware version 2017-08-30 15:54:46 +01:00
wscript Copter: build scripts changed from SafeRTL to SmartRTL 2017-09-09 14:05:41 +09:00