Peter Barker
357a57f68a
Tools: Replay: implement more dummy camera methods to avoid linking camera
2018-07-06 09:43:09 +10:00
Peter Barker
5665feb29e
Tools: Replay: use AP_FWVersion singleton
2018-06-18 19:10:37 +01:00
Andrew Tridgell
9096bcf7b2
Tools: fixed reference to linux-debug
2018-05-09 14:17:32 +10:00
Andrew Tridgell
2aceab2b66
Replay: fixed build
2018-04-24 21:33:10 +10:00
khancyr
9ade6cd579
Replay: Remove AP_InertialNav
2018-04-24 21:33:10 +10:00
Michael du Breuil
8fbec1cfa3
Replay: Support GCS_MAVLink changes
2018-03-27 22:12:21 +01:00
Lucas De Marchi
5282ed3a1b
Tools: use ins singleton
2018-03-16 00:37:35 -07:00
Peter Barker
3a718366e1
Tools: Replay: use baro singleton
2018-03-08 21:20:05 -08:00
Peter Barker
e76865eb9c
Tools: Replay: AP_AHRS no longer requires GPS in constructor
2017-12-27 00:58:02 +00:00
Andrew Tridgell
88abd34d40
Replay: fixed build with no create()
2017-12-14 08:12:28 +11:00
Peter Barker
ada7d700c2
Tools: support for units on fields
...
Tools: add units to minimal log format
Tools: add units to CHEK message
2017-11-23 10:40:30 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
63ca1f755e
Tools: Replay: fix compiler warning for printf string
...
format ‘%ld’ expects argument of type ‘long int’, but argument has type ‘uint64_t {aka long long unsigned int}’
2017-10-25 20:27:55 +11: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
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
53c82b4aaf
global: use static method to construct DataFlash_Class
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
Peter Barker
d475b91564
Tools: Replay: pass a lambda function to LR_MsgHandler_PARM to set parameters
...
This avoid duplication of parameter setting logic.
2017-09-14 13:43:50 +01:00
Peter Barker
0062084c40
Tools: Replay: option to print packet counts out at end
2017-09-12 19:01:59 +01:00
Peter Barker
b5e206f72f
Replay: print some statistics on exit
2017-09-06 02:30:38 +01:00
Randy Mackay
cd8661c665
Replay: integrate simpler Log_Write_EKF
2017-08-23 11:19:14 +09:00
Michael du Breuil
1b6c3aeea1
Replay: Avoid linking AFS
2017-08-15 15:14:56 +01:00
Peter Barker
1c2e1eeaf8
Tools: provide dummy function to avoid linking the AP_Camera
2017-08-09 16:18:22 +01:00
Peter Barker
dff026e30c
Tools: Replay: move starting of new logs into DataFlash
2017-07-19 16:37:28 +01:00
Peter Barker
6a7ed2646c
Tools: Replay: Use GCS_Dummy GCS singleton
2017-07-07 16:18:37 +01:00
Peter Barker
29de7b1a17
Replay: provide a log bitmask to Dataflash constructor
2017-06-29 15:43:38 +01:00
Peter Barker
10b69b46e1
Replay: StartUnstartedLogging replaces logging_started/start_logging
2017-06-11 20:34:12 +01:00
Randy Mackay
bc89432019
Replay: fix rangefinder instantiation
2017-02-27 15:18:14 +09:00
Peter Barker
e2f15e5fdb
Tools: create a GCS_Replay class
...
Avoids a segfault as we assume gcs() returns an object
Provides some usefult debug as to what we're sending to the GCS as
debug
2017-02-23 23:03:54 -08:00
Peter Barker
f5c89117f6
Replay: remove unused variables
...
Also avoids segmentation fault on exit
2017-02-23 17:18:47 +11:00
priseborough
c8bdf2fab8
Replay: enable replay to ignore EK3_ENABLE setting in log
2017-01-27 16:57:42 +09:00
Andrew Tridgell
bebc7e4519
Replay: removed EKF_ENABLE parameter
2016-12-19 08:07:13 +11:00
Andrew Tridgell
35bed59bd4
Tools: Add EKF3 and remove EK1
2016-12-19 08:07:10 +11:00
Randy Mackay
d1f944d0c9
Replay: remove call to EKF1 logging
2016-11-30 17:57:09 +09:00
Randy Mackay
277ec38adc
Replay: add AP_Beacon to build
2016-11-30 17:57:08 +09:00
Lucas De Marchi
6c9f46bafb
Replay: fix shadowed declaration
...
../../Tools/Replay/Replay.cpp: In member function ‘FILE* Replay::xfopen(const char*, const char*)’:
../../Tools/Replay/Replay.cpp:485:60: warning: declaration of ‘filename’ shadows a member of ‘Replay’ [-Wshadow]
FILE *Replay::xfopen(const char *filename, const char *mode)
^
2016-11-16 22:28:11 -02:00
Peter Barker
78d7a144b1
Replay: add close-on-exec to fopen flags
2016-11-16 22:20:33 -02:00
Peter Barker
4543f1c548
Replay: check return value from fopen() of output files
2016-11-16 22:20:10 -02:00
floaledm
8d0fd7cea8
Tools: add AP_Frsky_Telem
2016-11-08 07:42:39 +11:00
Lucas De Marchi
8cec2c188f
Tools: add O_CLOEXEC in places missing it
...
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
2016-11-07 12:37:30 -03:00
Lucas De Marchi
3620529c22
Replay: remove infinite loop from loop() method
...
Remove the while() loop inside Replay::loop() so the new signal handlers
correctly notify the mainloop to exit.
This makes SIGTERM/SIGINT work again.
2016-11-02 16:28:20 -02: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
Lucas De Marchi
631d4a1152
Replay: add clean target for CI
...
CI has a generic infra that calls make clean before building and it
fails for Replay since it doesn't have a clean target.
2016-08-29 10:27:36 -03:00
Gustavo Jose de Sousa
b8e518a533
waf: use ap_library tool
...
That way we avoid recompiling source files that don't depend on vehicles.
Change notes:
- UTILITY_SOURCE_EXTS: moved to ap_library
- Task generators indexes: ap_library handles that now and in a better way
- Use of AP_STLIB_FEATURES: it doesn't make sense anymore, since the stlib
taskgen has empty source list
- Flags and defines: passed down to ap_library through AP_LIBRARIES_OBJECTS_KW
- Set use='mavlink' in AP_LIBRARIES_OBJECTS_KW instead of calls to
bld.ap_stlib().
2016-08-24 10:46:23 -03:00