Gustavo Jose de Sousa
f426e2c681
Replay: build: use separate library
...
There are checks for APM_BUILD_Replay in the source code, so Replay tools needs
a separate static library.
2016-06-30 12:55:18 -03:00
Paul Riseborough
094dd9d769
Replay: Fix bug preventing use of IMT data during replay
2016-06-28 14:20:13 +10:00
Peter Barker
eefdc32f51
Replay: print message when gap perceived in log
2016-06-07 14:00:14 +10:00
Peter Barker
f6c7a73170
Replay: command line option to disable FP exceptions
2016-06-07 12:45:38 +10:00
Andrew Tridgell
1e44251d35
Replay: include a minimal set of FMT messages at start of log
2016-05-26 10:10:27 +10:00
Andrew Tridgell
366d95f45e
Replay: fixed FMT messages in replay output
2016-05-26 09:40:21 +10:00
Gustavo Jose de Sousa
844222870c
waf: boards: bind get_board() to configure and build contexts
...
A convenience, since we don't expect the board to change for a given
configuration.
2016-05-25 17:47:00 -03:00
Andrew Tridgell
736c162d21
Replay: added --param-file option
2016-05-25 20:46:18 +10:00
Andrew Tridgell
600c23f3bf
Replay: use SCHED_LOOP_RATE for loop rate if available
2016-05-25 10:45:46 +10:00
Paul Riseborough
b1e9207c0f
Replay: extend ekf fault status reporting coverage
2016-05-21 15:13:51 +10:00
Andrew Tridgell
4116f80901
Replay: added --no-params option
2016-05-16 17:22:11 +10:00
Lucas De Marchi
cb0ffc0e07
Replay: fix build error due to missing noreturn
...
Add noreturn attribute to field_not_found(). This function always call
abort() if the field was not found. The compiler may not know about it
and may think some variables are used uninitialized:
../../Tools/Replay/LR_MsgHandler.cpp: In member function ‘void LR_MsgHandler_GPA_Base::update_from_msg_gpa(uint8_t, uint8_t*)’:
../../Tools/Replay/LR_MsgHandler.cpp:212:24: error: ‘sacc’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
gps.setHIL_Accuracy(gps_offset, vdop*0.01f, hacc*0.01f, vacc*0.01f, sacc*0.01f, have_vertical_velocity, sample_ms);
^
Instead of just initializing the variable (which is pointless in this case),
teach the compiler that this function never returns so require_field() works
properly.
2016-05-10 16:15:41 -03:00
dgrat
76362caee0
AP_Math: Replace wrap_* functions with template versions
2016-05-10 11:41:26 -03:00
Andrew Tridgell
84d45cce40
Replay: fixed log rate detection
2016-05-10 15:40:48 +10:00
Andrew Tridgell
276f5dd3f1
Replay: use a larger LOG_FILE_BUFSIZE for Replay
2016-05-09 13:58:37 +10:00
Andrew Tridgell
248ce2e0e6
Replay: enable LOG_REPLAY in replay
2016-05-09 12:48:30 +10:00
Andrew Tridgell
dbe9091d58
Replay: set last sample time for GPS
2016-05-07 18:27:23 +10:00
Andrew Tridgell
7abaa75653
Replay: added --logmatch option
...
match logging rate to input log
2016-05-07 18:27:22 +10:00
Andrew Tridgell
c2aeb058cd
Replay: mark GPA as generated
2016-05-07 18:27:22 +10:00
Andrew Tridgell
468f020b51
Replay: cope with GPS ground couse in degrees
2016-05-07 18:27:21 +10:00
Andrew Tridgell
2bcd3c48f0
Replay: use baro last update time if available
2016-05-07 18:27:21 +10:00
Andrew Tridgell
0571f86c17
Replay: handle float ground speed in GPS
2016-05-07 18:27:21 +10:00
Andrew Tridgell
d116071054
Replay: use new setHIL API for baro
2016-05-07 18:27:20 +10:00
Andrew Tridgell
827551c99f
Replay: added replay of GPS speed accuracy
2016-05-07 18:27:20 +10:00
Andrew Tridgell
772acf056b
Replay: fixed overriding of parameters
...
bug was later PARM messages in log
2016-05-07 18:27:19 +10:00
Andrew Tridgell
295c65277d
Replay: restore exact timestamp in HIL
2016-05-07 18:27:19 +10:00
Andrew Tridgell
315d3854db
Replay: improved log rate detection
2016-05-07 18:27:19 +10:00
Andrew Tridgell
b31e896ef3
Replay: closer to goal of bit-accurate replay
2016-05-07 18:27:18 +10:00
Andrew Tridgell
640a04a1ee
Replay: fixed to handle IMT copter logs
2016-05-07 18:27:17 +10:00
Andrew Tridgell
909a46a33b
Replay: pass delta angle time if available
2016-04-26 15:50:59 +10:00
Andrew Tridgell
f367180f47
Replay: support 2 IMU EKF2
2016-04-26 14:39:44 +10:00
Peter Barker
c869516a0b
Replay: abort if field type not known; understand double
2016-04-26 14:20:11 +10:00
Gustavo Jose de Sousa
b251d14778
waf: ardupilotwaf: allow multiple program groups for program
...
The program_dir defaults to the first group's name. That feature will be useful
for "copter" build command, which will build all frame types.
2016-03-26 15:43:08 -03:00
Lucas De Marchi
36336e17b3
Tools: replace header guard with pragma once
2016-03-16 18:40:45 +11:00
Gustavo Jose de Sousa
7ba3df8c80
Tools: waf: build Replay only for linux boards
...
Other boards (like PX4 ones) aren't supported yet.
2016-03-14 11:54:31 -03:00
Gustavo Jose de Sousa
5699bf04d0
waf: rename parameter blddestdir to program_group
...
It's a good idea to consolidate the idea that all programs belong to a group
that has it's own directory.
2016-02-01 14:08:32 -02:00
Gustavo Jose de Sousa
a2d2661765
waf: use methods from bld instead of ardupilotwaf for the remaining
2016-01-22 20:10:29 -02:00
Gustavo Jose de Sousa
a35c0d48b0
waf: ardupilotwaf: rename program to ap_program
...
Make the rename so that there is no name clashes when defining it as a taskgen
method.
2016-01-22 20:10:28 -02:00
Gustavo Jose de Sousa
ad0f2080c6
waf: reorganize destination of binaries in Tools
...
It makes more sense for Hello to be an example and for CPUInfo and Replay to be
placed inside a `build/<board>/tools/` directory.
2016-01-15 16:46:41 -02:00
bugobliterator
065c67af57
Replay: fix replay build
2015-12-29 10:46:35 -08:00
Lucas De Marchi
a096703b06
Global: don't link with AP_Progmem
...
AP_Progmem is not used anymore.
2015-12-27 15:58:12 -02:00
Andrew Tridgell
26ced77ebc
Replay: fixes for AP_Scheduler change
2015-12-27 14:57:28 +09:00
Jonathan Challinger
07d87d8877
Replay: reflect renamed function in AP_AHRS
2015-12-18 18:08:37 +11:00
Lucas De Marchi
8f9fa568b4
Tools: remove unused AP_ADC_AnalogSource
2015-12-03 13:32:45 +11:00
Peter Barker
45d80080c3
Replay: use IMT in preference to IMU
2015-12-03 13:23:19 +11:00
Caio Marcelo de Oliveira Filho
6e7b73610d
waf: add waf support
2015-12-03 07:54:30 +11:00
Lucas De Marchi
2591261af6
Global: rename min and max macros to uppercase
...
The problem with using min() and max() is that they conflict with some
C++ headers. Name the macros in uppercase instead. We may go case by
case later converting them to be typesafe.
Changes generated with:
git ls-files '*.cpp' '*.h' -z | xargs -0 sed -i 's/\([^_[:alnum:]]\)max(/\1MAX(/g'
git ls-files '*.cpp' '*.h' -z | xargs -0 sed -i 's/\([^_[:alnum:]]\)min(/\1MIN(/g'
2015-12-01 16:28:09 -02:00
Caio Marcelo de Oliveira Filho
071d8e541e
Replay: use millis/micros/panic functions
2015-11-20 12:26:55 +09: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
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
2015-10-30 14:35:16 +09:00