Lucas De Marchi
bfd13dfe87
global: use static method to construct AP_AHRS_DCM
2017-09-26 03:01:21 +01:00
Lucas De Marchi
beabae6a98
global: use static method to construct AP_AHRS_NavEKF
2017-09-26 03:01:21 +01:00
Lucas De Marchi
c9fbf7b722
global: use static method to construct AP_NavEKF3
2017-09-26 03:01:21 +01:00
Lucas De Marchi
e2fe36357a
global: use static method to construct AP_NavEKF2
2017-09-26 03:01:21 +01:00
Lucas De Marchi
69b6d95cb2
global: use static method to construct AP_Board_Config{,_CAN}
2017-09-26 03:01:21 +01:00
Lucas De Marchi
72fd2d6f05
global: use static method to construct AP_SerialManager
2017-09-26 03:01:21 +01:00
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().
2017-09-26 03:01:21 +01:00
Lucas De Marchi
9027a55696
global: use static method to construct RangeFinder
2017-09-26 03:01:21 +01:00
Lucas De Marchi
62ac0ab8aa
global: use static method to construct AP_Notify
2017-09-26 03:01:21 +01:00
Lucas De Marchi
de680dac5b
global: use static method to construct AP_Scheduler
2017-09-26 03:01:21 +01:00
Lucas De Marchi
8094482f21
global: use static method to construct AP_GPS
2017-09-26 03:01:21 +01:00
Lucas De Marchi
87b30b4552
global: use static method to construct AP_InertialSensor
2017-09-26 03:01:21 +01:00
Lucas De Marchi
c1a957fbf3
global: use static method to construct Compass
2017-09-26 03:01:21 +01:00
Lucas De Marchi
91feec0e14
global: use static method to construct AP_Baro
2017-09-26 03:01:21 +01:00
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.
2017-09-23 21:37:45 -07:00
Randy Mackay
d45eb33980
Tracker: support SET_GPS_GLOBAL_ORIGIN message
2017-09-19 10:30:15 +09:00
Peter Barker
0177e959c9
Tracker: add constant structure holding firmware version
2017-08-30 15:54:46 +01:00
Peter Barker
947bae2f86
Tracker: use GCS_MAVLINK subclasses to handle set_mode
2017-08-16 11:58:10 +10:00
Peter Barker
90948bef05
Tracker: remove CLI
2017-08-14 10:23:50 +09:00
Peter Barker
e08b87763e
Tracker: move try_send_message send_hwstatus up
2017-08-03 14:34:31 +01:00
Peter Barker
de0c6d7ca5
Tracker: move try_send_message mission handling up
2017-08-03 14:33:31 +01:00
Peter Barker
c9c1f3ea29
Tracker: move starting of new logs into DataFlash
2017-07-19 16:37:28 +01:00
Peter Barker
7865d467d3
Tracker: eliminate gcs_send_message wraper
2017-07-11 23:45:16 +01:00
Peter Barker
2039222c7e
Tracker: use send_text method on the GCS singleton
2017-07-09 17:17:29 -04:00
Peter Barker
b81e5a8562
Tracker: create GCS subclass, use inheritted methods
2017-07-07 16:18:37 +01:00
Eugene Shamaev
b365a4ddf5
AntennaTracker: move of CAN parameters into separate group
2017-07-03 11:44:32 +01:00
Peter Barker
c5df219a02
Tracker: handle knowledge of in_log_download in DataFlash
2017-06-27 03:10:43 +01:00
Peter Barker
6d1f42d1c5
Tracker: unconditionally start unstarted logging
2017-06-11 20:34:12 +01:00
Randy Mackay
87df06c45f
Tracker: update rangefinder declaration
2017-02-27 15:18:31 +09:00
Peter Barker
e12e51f502
Tracker: Support for a GCS singleton
2017-02-13 09:32:01 +11:00
Peter Barker
14470573f6
Tracker: rename gcs[] to gcs_chan[]
...
Wish to use gcs() to return the gcs singleton
2017-02-13 09:32:01 +11:00
Andrew Tridgell
3f71fd98a0
AntennaTracker: adapted to new SRV_Channel API
2017-01-12 17:39:37 +11:00
Andrew Tridgell
33943de4a0
AntennaTracker: Add EKF3 and remove EKF1
2016-12-19 08:07:09 +11:00
Randy Mackay
ae366c0217
Tracker: include AP_Beacon
2016-11-30 17:57:07 +09:00
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.
2016-10-24 09:42:01 -02:00
Randy Mackay
4d5f1f9a33
Tracker: rename calc_body_frame_target to convert_ef_to_bf and formatting fixes
...
No functional change
2016-07-28 16:43:05 +09:00
stefanlynka
33abb619b9
Tracker: roll compensated slewing
2016-07-28 16:43:05 +09:00
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
2016-07-28 16:43:05 +09:00
Andrew Tridgell
53e71ccf12
AntennaTracker: adjust for 16 channels in SERVO_OUTPUT_RAW
2016-07-25 10:06:02 +10:00
stefanlynka
fd2eb8bb31
Tracker: Adding altitude difference calculation using relative altitude.
2016-07-06 16:55:13 +09:00
Randy Mackay
df55760d77
Tracker: remove unused servo_limit structure
2016-06-22 10:13:08 +09:00
stefanlynka
2b7203e4d1
Tracker: Changed PID to AC_PID
2016-06-22 10:06:00 +09:00
stefanlynka
ef60c202b4
Tracker: Added altitude offset based on alt_source
2016-06-15 18:17:01 +09:00
stefanlynka
ce3f3012c5
Tracker: Change vehicle info used to calculate offset
2016-06-15 18:16:57 +09:00
stefanlynka
f3461d182f
Tracker: Added vehicle position log
2016-06-09 23:10:19 +09:00
Peter Barker
df190d1e86
Tracker: subclass GCS_MAVLink in place of defining its functions for it
2016-05-29 16:21:21 +10:00
stefanlynka
1293b16589
Tracker: Allows choice of altitude source
2016-05-25 09:51:30 +09:00
stefanlynka
fd61a903f9
Tracker: Changing name of altitude_difference to alt_difference_baro
2016-05-25 09:51:30 +09:00
Andrew Tridgell
8c3bbdaf73
AntennaTracker: don't stall EKF during baro cal
2016-05-24 17:00:55 +10:00
stefanlynka
e06c900812
Tracker: add Vbar dataflash message
2016-05-13 12:26:27 +09:00
Lucas De Marchi
49a46e463f
AntennaTracker: use separate header for version macro
...
Having the version macro in the config.h and consequently in the main
vehicle header means that whenever the version changes we need to
compiler the whole vehicle again. This would not be so bad if we weren't
also appending the git hash in the version. In this case, whenever we
commit to the repository we would need to recompile everything.
Move to a separate header that is include only by its users. Then
instead of compiling everything we will compile just a few files.
2016-05-06 13:11:28 -03:00
Luis Vale Gonçalves
7dbc97ec35
Revising ardupilot.com to .org
...
Revising ardupilot.com to .org
2016-04-23 22:49:43 -07:00
Ricardo de Almeida Gonzaga
5bd034a5a8
Global: start using cmath instead of math.h
2016-04-05 21:06:19 -07:00
Tom Pittenger
0709cc6b25
Tracker: convert to using static send_statustext
...
- no more MSG_STATUSTEXT
- TODO: replace calls to gcs_send_text and gcs_send_text_fmt to GCS_MAVLINK::send_statustext()
2016-02-24 09:18:06 +11:00
Randy Mackay
bf1cd5deae
Tracker: version to 0.7.6
2016-02-10 11:52:23 +09:00
Siddharth Bharat Purohit
0e18b5eaad
Tracker: wire up accel cal for tracker
2015-12-29 10:46:35 -08:00
Randy Mackay
f19e1e6c70
Tracker: update ver to 0.7.5 including ReleaseNotes
2015-12-27 16:14:29 +09:00
Randy Mackay
ecf01732d9
Tracker: add dataflash logging
2015-12-27 16:14:20 +09:00
Andrew Tridgell
782ba00d4b
Tracker: convert to Hz based task table
2015-12-27 14:57:26 +09:00
Randy Mackay
6579277578
Tracker: version to 0.7.4
2015-12-23 13:54:03 +09:00
Lucas De Marchi
c64b7cc7e4
AntennaTracker: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:44 +11:00
lvale
e7efaa45c5
Tracker: text message severity uniformization
...
Continuing the uniformization, now for AntennaTracker
2015-11-05 12:33:59 +09:00
Lucas De Marchi
3b0a1ef563
AntennaTracker: remove checks for HAL_BOARD_APM2 and HAL_BOARD_APM1
2015-11-04 12:14:13 +11:00
Lucas De Marchi
5244559010
Minimize AP_Progmem.h includes
...
Most of AP_Progmem is already gone so we can stop including it in most
of the places. The only places that need it are the ones using
pgm_read_*() APIs.
In some cases the header needed to be added in the .cpp since it was
removed from the .h to reduce scope. In those cases the headers were
also reordered.
2015-10-30 14:35:32 +09:00
Lucas De Marchi
1b07dabeb7
Replace prog_char and prog_char_t with char
...
prog_char and prog_char_t are now the same as char on supported
platforms. So, just change all places that use them and prefer char
instead.
AVR-specific places were not changed.
2015-10-30 14:35:30 +09:00
Lucas De Marchi
84da1f5039
Rename gcs_send_text_P to gcs_send_text
2015-10-30 14:35:07 +09:00
Caio Marcelo de Oliveira Filho
a3fb1c0e4f
AntennaTracker: include SITL only for SITL board
...
Include board-specific files only when the board is used. Since these
should be exceptional cases, let the includer handle the ifdef instead
of putting ifdefs in every platform-specific header.
In the future we should evaluate whether the HAL for the board should
instantiate this.
2015-10-22 13:36:14 -02:00
Caio Marcelo de Oliveira Filho
49a42dc985
SITL: use a SITL namespace
2015-10-22 11:04:42 -02:00
Caio Marcelo de Oliveira Filho
b648715496
AntennaTracker: implement HAL::Callbacks
...
Also removes includes for each board since they are not necessary
anymore.
2015-10-21 09:16:09 +11:00
Andrew Tridgell
277f2f3b27
Tracker: added EKF2 instance
2015-09-23 11:57:18 +10:00
Andrew Tridgell
f2b0f8f4db
AntennaTracker: fix for changed AP_RangeFinder API
2015-09-08 16:46:52 +10:00
Siddharth Bharat Purohit
0c004c13a1
AntennaTracker: implement on-board compass calibration for Antenna tracker
2015-09-03 16:59:14 +10:00
Randy Mackay
3db22a9c27
Tracker: update version to 0.7.3
...
This is done because of the text severity change. The GCSs need a unique version from which they can be sure the severities have changed.
2015-08-25 14:54:58 +09:00
squilter
f1d9b3570c
Tracker: update severity values
2015-08-25 14:04:45 +09:00
squilter
979763c341
Tracker: define and send FIRMWARE_VERSION
2015-08-23 09:21:55 +09:00
Gustavo Jose de Sousa
a672e3c5ce
AntennaTracker: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
2015-08-11 16:28:40 +10:00
Jakub Oller
06031985cc
Tracker: version to 0.7.2 and update release notes
2015-08-01 20:18:06 +09:00
Randy Mackay
b377d4deac
Tracker: fix initialisation of nav_status
...
Thanks to Jakub Oller for finding the cause. This is a slight
modification upon his fix.
2015-08-01 20:18:03 +09:00
squilter
d99c85c1fe
Tracker: init vehicle capabilities
2015-08-01 09:47:35 +09:00
Randy Mackay
5f53937c6a
Tracker: init member variables
...
Resolves Coverity warnings
2015-06-08 14:46:29 +09:00
rcairman
fba8ca3a98
AntennaTracker: continuous rotation servos
...
Global modifications for continuous rotation servos
2015-06-03 23:23:51 +09:00
rcairman
7382095d79
Tracker: version to 0.7.1 and release notes
2015-06-03 23:23:44 +09:00
Andrew Tridgell
fdc0839aaa
AntennaTracker: changes for new AHRS API
2015-06-01 16:17:07 +10:00
Andrew Tridgell
f8adea2ddd
AntennaTracker: complete conversion to .cpp files
2015-06-01 15:08:08 +10:00