Lucas De Marchi
83efb9280b
AP_HAL: use variadic templates in FastDelegate
...
Now that we are using C++11 we can use variadic templates to simplify
the FastDelegate classes. It also simplifies moving away from the
FastDelegate implementation.
10 years ago
Lucas De Marchi
78b00784fb
AP_Scheduler: allow to use functor
10 years ago
Lucas De Marchi
58847bffd6
GCS_MAVLink: allow to use functor
10 years ago
Lucas De Marchi
cd308b5e2f
DataFlash: allow to use functor
10 years ago
Lucas De Marchi
384a3bfcc3
AP_Mission: allow to use functor
10 years ago
Lucas De Marchi
70525fa2c1
AP_Menu: allow to use functor
10 years ago
Lucas De Marchi
4b5cf24a81
Allow to change to functor implementation
...
Start to add code behind APM_BUILD_FUNCTOR to support changing the
functor implementation (without breaking the build while the change is
not complete).
10 years ago
Lucas De Marchi
a1e1503e1a
AP_HAL: Add Functor implementation
...
This is a Functor implementation that should cover the use cases we have
for FastDelegate. In contrary to the latter, it can be constructed at
compile time so the compiler can safely put it in a read-only section
which covers the cases in which we are not using it.
10 years ago
Lucas De Marchi
5dfb3ed70c
AP_Scheduler: replace tabs with spaces
10 years ago
Lucas De Marchi
82d22992bd
GCS_MAVLink: Do not compare delegate to NULL
...
Use the simpler "if (delegate_name)" since it allows simpler
implementation in the class, i.e. the bool operator rather than having
to compare to another object.
10 years ago
Lucas De Marchi
ff398dbf0c
AP_Menu: Do not compare delegate to NULL
...
Use the simpler "if (delegate_name)" since it allows simpler
implementation in the class, i.e. the bool operator rather than having
to compare to another object.
10 years ago
Lucas De Marchi
acdcdc35fa
AP_HAL_SITL: Do not compare delegate to NULL
...
Use the simpler "if (delegate_name)" since it allows simpler
implementation in the class, i.e. the bool operator rather than having
to compare to another object.
10 years ago
Lucas De Marchi
9ef870c08a
AP_HAL_AVR: Do not compare delegate to NULL
...
Use the simpler "if (delegate_name)" since it allows simpler
implementation in the class, i.e. the bool operator rather than having
to compare to another object.
10 years ago
Lucas De Marchi
57386434d1
AP_ADC: remove AP_ADC_HIL
...
It's not being used and it's actually broken: it references
AP_ADC_HIL::read() that doesn't exist.
10 years ago
Randy Mackay
d777166c6f
AP_MotorsTri: revert tail servo to Ch7
10 years ago
Randy Mackay
1a1fa7ca4b
AP_MotorsHeli: add comment to avoid param conflict
10 years ago
Randy Mackay
4c94a69e33
AP_MotorsCoax: resolve param conflict with TradHeli
10 years ago
Randy Mackay
78b49fb4c6
AP_MotorsSingle: resolve param conflict with TradHeli
...
Also rename servo reverse parameters to be consistent with tricopter
10 years ago
Randy Mackay
8dc7cf7fa8
AP_MotorsTri: YAW_SV_REV values -1 or +1
...
Also resolve parameter conflict with TradHeli
10 years ago
Randy Mackay
71e4bccecb
AP_Motors: init members in constructor
...
Also add f to end of float constants
10 years ago
Robert Lefebvre
915236f1f5
AC_AttitudeControl: Non-functional comment change
...
Don't encourage future misuse of g.rc3
10 years ago
Robert Lefebvre
e87ca6de6f
AC_PosControl: Change motors.get_throttle_out
...
to get_throttle to follow function renaming in AP_Motors
10 years ago
Robert Lefebvre
b8181b6b90
AP_Motors: RCMAP fix
...
Remove all RC Input channels passed as reference into AP_Motors. All input handling self-contained inside AP_Motors.
Rework Tricopter to use internal servo calcs.
10 years ago
Andrew Tridgell
527fc2a610
SITL: use 127.0.0.1 to improve reliability on windows
10 years ago
Andrew Tridgell
563be63d00
SITL: try to get speedup accurate on both windows and linux
10 years ago
Andrew Tridgell
2b2259a6d7
SITL: use more granrular sleeps for windows
10 years ago
Andrew Tridgell
c06d81a06a
SITL: use autotest_dir
...
this allows for the aircraft directory for SITL to be packaged without
the source tree
10 years ago
Andrew Tridgell
3daee9c8bc
HAL_SITL: added --autotest-dir option
10 years ago
Andrew Tridgell
4f37926aea
SITL: fixed gimbal build on PX4
10 years ago
Andrew Tridgell
958d8b4787
GCS_MAVLink: update from upstream headers
10 years ago
Andrew Tridgell
e7abc07898
HAL_SITL: enable --gimbal option
...
instantiates a MAVLink gimbal
10 years ago
Andrew Tridgell
7f5b206c55
SITL: added gimbal simulator class
10 years ago
Andrew Tridgell
2f7facba40
GCS_MAVLink: removed old MAVLink 0.9 headers
10 years ago
Andrew Tridgell
d96e62cce7
AP_Mount: update gimbal for changed quaternion API
10 years ago
Andrew Tridgell
2a8f645d81
AP_Math: use matrix3 euler312 operations in quaternion library
10 years ago
Andrew Tridgell
7aa7e03169
AP_Math: added euler312 functions (for gimbal)
10 years ago
Andrew Tridgell
2bb5f677c7
SITL: removed earth frame rates
10 years ago
Andrew Tridgell
8dce5e11d6
HAL_SITL: removed earth-frame rates
10 years ago
Andrew Tridgell
19419fd901
AP_Mount: fixed reporting of MAVLink gimbal position to GCS
10 years ago
Andrew Tridgell
b61f7fa2f6
AP_AHRS: enable EKF by default on plane
...
now we have arming checks enabled by default I think this is the best
choice
10 years ago
Andrew Tridgell
efd958f0b0
AP_NavEKF: rename file to remove spaces
...
spaces in file names break shell scripts
10 years ago
Andrew Tridgell
2d53a1ff9a
SITL: fixed airspeed in last_letter
10 years ago
Andrew Tridgell
ae6ac1b82d
SITL: fixed airspeed in CRRCSim
10 years ago
Andrew Tridgell
da5d5c9936
SITL: fixed airspeed pass-thru from simulators
10 years ago
Andrew Tridgell
e7f3716e8c
HAL_SITL: pass in wind speed to C++ simulators
10 years ago
Andrew Tridgell
091a1e7fe0
SITL: fixed wind support in JSBSim
10 years ago
Andrew Tridgell
4486ddc53e
DataFlash: changed TimeUS to SampleUS for raw IMU logging
...
this prevents a problem with an upcoming patch from Peter
10 years ago
Jonathan Challinger
28731d2bdc
AP_Motors: add throttle filter input constraint from -100 to 1100
10 years ago
Andrew Tridgell
60221f5e9c
SITL: use sendto() in CRRCSim
...
this makes us robust to restart of client or server
10 years ago
Andrew Tridgell
6cbd291dd2
HAL_SITL: make model name case insensitive
10 years ago