Peter Barker
33feeb1c11
Tracker: add support for SYS_STATUS sending, battery
7 years ago
Peter Barker
b59c272996
Tracker: call ins's periodic function
7 years ago
Lucas De Marchi
bfd13dfe87
global: use static method to construct AP_AHRS_DCM
7 years ago
Lucas De Marchi
beabae6a98
global: use static method to construct AP_AHRS_NavEKF
7 years ago
Lucas De Marchi
c9fbf7b722
global: use static method to construct AP_NavEKF3
7 years ago
Lucas De Marchi
e2fe36357a
global: use static method to construct AP_NavEKF2
7 years ago
Lucas De Marchi
69b6d95cb2
global: use static method to construct AP_Board_Config{,_CAN}
7 years ago
Lucas De Marchi
72fd2d6f05
global: use static method to construct AP_SerialManager
7 years ago
Lucas De Marchi
40fd1b346c
global: remove rangefinder from AP_AHRS_NavEKF
...
AP_AHRS_NavEKF doesn't use the rangefinder, it just delegates the
calls to the right estimator.
For libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp the initialization
order has also been modified to match the order on vehicles. It's more
correct since it passes a reference when EKF2/EKF3 are already
constructed, while thos constructors use a pointer. Ideally these
should be moved to an init() method though, or use a get_instance().
7 years ago
Lucas De Marchi
9027a55696
global: use static method to construct RangeFinder
7 years ago
Lucas De Marchi
62ac0ab8aa
global: use static method to construct AP_Notify
7 years ago
Lucas De Marchi
de680dac5b
global: use static method to construct AP_Scheduler
7 years ago
Lucas De Marchi
8094482f21
global: use static method to construct AP_GPS
7 years ago
Lucas De Marchi
87b30b4552
global: use static method to construct AP_InertialSensor
7 years ago
Lucas De Marchi
c1a957fbf3
global: use static method to construct Compass
7 years ago
Lucas De Marchi
91feec0e14
global: use static method to construct AP_Baro
7 years ago
Lucas De Marchi
ecd204c45c
AntennaTracker: 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.
7 years ago
Randy Mackay
d45eb33980
Tracker: support SET_GPS_GLOBAL_ORIGIN message
7 years ago
Peter Barker
0177e959c9
Tracker: add constant structure holding firmware version
8 years ago
Peter Barker
947bae2f86
Tracker: use GCS_MAVLINK subclasses to handle set_mode
8 years ago
Peter Barker
90948bef05
Tracker: remove CLI
8 years ago
Peter Barker
e08b87763e
Tracker: move try_send_message send_hwstatus up
8 years ago
Peter Barker
de0c6d7ca5
Tracker: move try_send_message mission handling up
8 years ago
Peter Barker
c9c1f3ea29
Tracker: move starting of new logs into DataFlash
8 years ago
Peter Barker
7865d467d3
Tracker: eliminate gcs_send_message wraper
8 years ago
Peter Barker
2039222c7e
Tracker: use send_text method on the GCS singleton
8 years ago
Peter Barker
b81e5a8562
Tracker: create GCS subclass, use inheritted methods
8 years ago
Eugene Shamaev
b365a4ddf5
AntennaTracker: move of CAN parameters into separate group
8 years ago
Peter Barker
c5df219a02
Tracker: handle knowledge of in_log_download in DataFlash
8 years ago
Peter Barker
6d1f42d1c5
Tracker: unconditionally start unstarted logging
8 years ago
Randy Mackay
87df06c45f
Tracker: update rangefinder declaration
8 years ago
Peter Barker
e12e51f502
Tracker: Support for a GCS singleton
8 years ago
Peter Barker
14470573f6
Tracker: rename gcs[] to gcs_chan[]
...
Wish to use gcs() to return the gcs singleton
8 years ago
Andrew Tridgell
3f71fd98a0
AntennaTracker: adapted to new SRV_Channel API
8 years ago
Andrew Tridgell
33943de4a0
AntennaTracker: Add EKF3 and remove EKF1
8 years ago
Randy Mackay
ae366c0217
Tracker: include AP_Beacon
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Randy Mackay
4d5f1f9a33
Tracker: rename calc_body_frame_target to convert_ef_to_bf and formatting fixes
...
No functional change
9 years ago
stefanlynka
33abb619b9
Tracker: roll compensated slewing
9 years ago
stefanlynka
a693f9ead6
Tracker: compensate for tilt while tracking
...
This adds an earth frame to body frame conversion which is required
to convert the earth-frame angles to the target vehicle into body-frame
movements of the servos
9 years ago
Andrew Tridgell
53e71ccf12
AntennaTracker: adjust for 16 channels in SERVO_OUTPUT_RAW
9 years ago
stefanlynka
fd2eb8bb31
Tracker: Adding altitude difference calculation using relative altitude.
9 years ago
Randy Mackay
df55760d77
Tracker: remove unused servo_limit structure
9 years ago
stefanlynka
2b7203e4d1
Tracker: Changed PID to AC_PID
9 years ago
stefanlynka
ef60c202b4
Tracker: Added altitude offset based on alt_source
9 years ago
stefanlynka
ce3f3012c5
Tracker: Change vehicle info used to calculate offset
9 years ago
stefanlynka
f3461d182f
Tracker: Added vehicle position log
9 years ago
Peter Barker
df190d1e86
Tracker: subclass GCS_MAVLink in place of defining its functions for it
9 years ago
stefanlynka
1293b16589
Tracker: Allows choice of altitude source
9 years ago
stefanlynka
fd61a903f9
Tracker: Changing name of altitude_difference to alt_difference_baro
9 years ago