Caio Marcelo de Oliveira Filho
b648715496
AntennaTracker: implement HAL::Callbacks
...
Also removes includes for each board since they are not necessary
anymore.
9 years ago
Caio Marcelo de Oliveira Filho
ec52df991c
build: compile only the HAL files needed by the board
...
Instead of requiring every program to specify the HAL related modules,
let the build system do it (in practice everything we compiled depended
on HAL anyway). This allow including only the necessary files in the
compilation.
9 years ago
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'.
9 years ago
Randy Mackay
012b632d09
Tracker: send home position when home is set or get-home msg received
9 years ago
Andrew Tridgell
277f2f3b27
Tracker: added EKF2 instance
10 years ago
Andrew Tridgell
3dcb840816
AntennaTracker: build NavEKF2
10 years ago
Randy Mackay
b6229288a1
Tracker: calibrate gyros on accel cal and trim
10 years ago
Randy Mackay
7f0aad63b9
Tracker: remove INS start style
10 years ago
Andrew Tridgell
f2b0f8f4db
AntennaTracker: fix for changed AP_RangeFinder API
10 years ago
Siddharth Bharat Purohit
0c004c13a1
AntennaTracker: implement on-board compass calibration for Antenna tracker
10 years ago
Gustavo Jose de Sousa
2c9d9e8060
AntennaTracker: use function name for AP_Scheduler task name
...
That makes it easier to identify tasks when debug is enabled in AP_Scheduler.
10 years ago
Gustavo Jose de Sousa
9820cb0c07
AntennaTracker: use designated initializers for tasks structs
...
Makes code less prone to break build and semantics (e.g., when a new field is
added).
10 years ago
Randy Mackay
a9c6d34a9e
Tracker: sanity check home location parameters
10 years ago
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.
10 years ago
squilter
f1d9b3570c
Tracker: update severity values
10 years ago
squilter
979763c341
Tracker: define and send FIRMWARE_VERSION
10 years ago
Tom Pittenger
85027e1997
Tracker: moved gcs code to be more common
10 years ago
dgrat
2b36457261
Tracker: add handle_guided_request to allow cmake to work
...
merge
10 years ago
Andrew Tridgell
3f04c6415f
AntennaTracker: prevent build error with MSG_RPM
10 years ago
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.
10 years ago
Jakub Oller
06031985cc
Tracker: version to 0.7.2 and update release notes
10 years ago
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.
10 years ago
squilter
d99c85c1fe
Tracker: init vehicle capabilities
10 years ago
Randy Mackay
72c8f411d7
Tracker: update readme
10 years ago
Спивак Константин
4fa0797d19
Tracker: create readme.txt
10 years ago
Lucas De Marchi
e62c653362
AntennaTracker: use ARRAY_SIZE macro
10 years ago
Jakub Oller
e73562140b
Tracker: remove return from mavlink_snoop_static
10 years ago
Andrew Tridgell
48aae34319
AntennaTracker: fixed pde path
10 years ago
Randy Mackay
0b9929bb04
Tracker: avoid compiler warning re to new VIBRATION msg
10 years ago
Randy Mackay
5f53937c6a
Tracker: init member variables
...
Resolves Coverity warnings
10 years ago
Lucas De Marchi
34058787f3
AntennaTracker: stop using alias FUNCTOR_BIND_VOID
10 years ago
Randy Mackay
26fdaa0710
Tracker: reverse CR servo error calculation
10 years ago
rcairman
fba8ca3a98
AntennaTracker: continuous rotation servos
...
Global modifications for continuous rotation servos
10 years ago
Randy Mackay
ac05f0f1d4
Tracker: remove duplicate THISFIRMWARE define
10 years ago
rcairman
7382095d79
Tracker: version to 0.7.1 and release notes
10 years ago
Andrew Tridgell
fdc0839aaa
AntennaTracker: changes for new AHRS API
10 years ago
Andrew Tridgell
24c85ff9d8
AntennaTracker: added Parameters.pde for old MissionPlanner
10 years ago
Andrew Tridgell
f8adea2ddd
AntennaTracker: complete conversion to .cpp files
10 years ago
Andrew Tridgell
1660b027ca
AntennaTracker: rename pde files to cpp
10 years ago
Andrew Tridgell
4512e408f7
AntennaTracker: fixed build
10 years ago
Andrew Tridgell
ce0ee69a3b
AntennaTracker: fix for scheduler API change
10 years ago
Andrew Tridgell
65a95039c3
AntennaTracker: removed NOINLINE define
10 years ago
Andrew Tridgell
a5c5ab2581
AntennaTracker: adjust for new AP_Scheduler syntax
10 years ago
Randy Mackay
d467507b88
Tracker: version and release notes for 0.7
10 years ago
Andrew Tridgell
4a290cd2f1
AntennaTracker: support setting just accel trim with preflight-cal
...
use param5==2
10 years ago
Randy Mackay
35275aab85
Tracker: add support for 4th mavlink channel
10 years ago
Randy Mackay
6e97f2e1fb
Tracker: clarify SYSID_MAV parameter description
10 years ago
Andrew Tridgell
295041ef45
AntennaTracker: revert AP_Math class change
10 years ago
Tom Pittenger
0e3d54d9e4
Tracker: compile warnings: float to double. print statements require doubles
10 years ago
Tom Pittenger
896c86bcc6
Tracker: compile warnings: remove unused function update_servo_test
10 years ago