Siddharth Purohit
2edcd852eb
AP_Bootloader: add support for app start offset
2020-09-24 12:32:19 +10:00
Siddharth Purohit
eab0507d37
Tools: waf: add build for CubeOrange-periph
2020-09-24 12:32:19 +10:00
Siddharth Purohit
b27092c651
Tools: waf: don't do uavcan build config for AP_Periph
2020-09-24 12:32:19 +10:00
Samuel Tabor
fe6c4d9290
autotest: Update for THERMAL mode.
2020-09-24 07:30:48 +10:00
Patrick José Pereira
be4f2f0c79
AP_Periph: Use new AP_FWVersionDefine header
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-23 20:58:35 +10:00
Peter Barker
536e2db947
Tools: sim_vehicle.py: add --disable-breakpoints commandline option
2020-09-23 20:28:08 +10:00
Peter Barker
64461dba5e
autotest: fix Copter motortest test
...
We were swallowing all of the rc output containing the values we were
looking for.
Rearrange so we don't swallow where we were, and increase timeout on the
basis that there's still a narrow race.
2020-09-23 09:49:54 +10:00
Peter Barker
669622c614
autotest: improve use of SITL-is-running
...
ATM if the SITL binary dies we don't catch it anywhere. This might
become part of the solution for that, as well as some changes on
run_one_test.
2020-09-22 21:11:57 +10:00
Peter Barker
fdb31a6419
autotest: param_parse.py: validate @User field to be Standard or Avanced
2020-09-22 14:56:04 +10:00
Pierre Kancir
b48d2d9631
Tools: remove empy from configure-ci.py
2020-09-22 10:05:19 +10:00
Tatsuya Yamaguchi
37691c751c
Tools: replace message indicating that initialisation has completed
2020-09-22 09:52:52 +10:00
Andrew Tridgell
7726848a50
waf: lock in zero errors for gcc9
2020-09-22 08:07:23 +10:00
Randy Mackay
4ac6a647d7
Tools: add boogie-board-boat frame params
2020-09-18 08:30:54 +09:00
Vikas Singh
399c7eda16
Tools: added name to GIT_Success.txt
2020-09-17 07:34:29 -07:00
bugobliterator
460293d6a8
Tools: update CubeOrange_bl
2020-09-16 18:08:08 +10:00
Peter Barker
1075e13352
autotest: stop set_parameter from using get_parameter
...
Setting a parameter on ArduPilot causes the autopilot to emit the new
value in a PARAM_VALUE message, so we do not need to fetch it ourselves.
Fetching it ourselves causes subtle problems for the autotest suite
where a PARAM_VALUE is currently in the uart buffer - so the autotest
set_parameter has consumed one PARAM_VALUE message (the auto-emitted
one). If it immediately does a set_parameter then the next
PARAM_VALUE it sees will be the OLD value as the value comes out of the
uart.
2020-09-15 19:27:36 +10:00
Peter Barker
3e708b9b29
Tools: build_parameters.sh: compress parameter xml files
2020-09-15 11:19:23 +10:00
Peter Barker
9e148f245b
autotest: param_parse.py: correct parsing of Values fields
...
the regex used to parse the values field later is rather strict - no
spaces allowed around the : for example.
Canonicalise the string before trying to do anything more with it
(including validation)
2020-09-15 11:09:52 +10:00
Peter Barker
1cefd2943b
Replay: correct various atrophications in Replay tool
...
Replay: tear down threads before exitting
NKQ is a generated name - don't copy it across to output
Stop whinging about presence of NKF6 and friends; we know these generated names are not going to be present in modern logs
memcpy rather than strncpy within log_FMT
Correct strings vs optionally-terminated structure entries in sanity checks
Call AP_Param::load_all() to start the parameter saving thread. AP_Compass' init() method now saves parameters (compass reordering), and because we're disarmed we will block until the parameter is pushed onto the to-save queue; if there's no thread popping off that list we block indefinitely.
Remove duplicate definitions of various singleton objects.
Replay: write out GPS message to output log
Useful for diagnosis, but also because we struggle to find a time base
without this and the pymavlink tools take forever to work
Replay: set COMPASS_DEV_ID and COMPASS_PRIO1_ID so EKF gets mag data
Replay: avoid use of system clock; use stopped-clock only
Replay: constraint to emitting output for single core only
2020-09-15 10:02:36 +10:00
Andrew Tridgell
3da00b482e
waf: enable -Werror for whitelisted compilers on ChibiOS builds
2020-09-15 09:40:03 +10:00
Andrew Tridgell
ae2e84b3df
AP_Periph: fixed mavlink build warnings
2020-09-15 09:40:03 +10:00
Andrew Tridgell
8b95fac214
Tools: added --Werror option to autotest.py
2020-09-15 09:40:03 +10:00
Peter Barker
3f2c06f8c0
build_ci.sh: correct cron job check against 'linux'
...
We don't actually run this cronjob.
2020-09-15 09:18:04 +10:00
Peter Barker
0bb44ba933
waf: print compiler version as part of configure
2020-09-14 18:11:31 +10:00
Peter Barker
466d61a881
Tools: build_log_message_documentation.sh: compress log message documentation files
2020-09-14 13:29:05 +10:00
Peter Barker
5c22e9e105
Revert "Tools: make non DEBUG SITL use -march=native"
...
This reverts commit 85b599b2d7
.
This breaks the cygwin binaries that MissionPlanner uses for simulation
2020-09-14 11:19:11 +10:00
Peter Barker
3e882fcad8
autotest: loosen mag-percent-complete threshold to 95%
...
So 98% wasn't loose enough...
2020-09-11 15:31:45 +10:00
Harshit Kumar Sankhla
f0c237d88e
autotest: bug fixes for ekf lane switch test
2020-09-11 10:16:20 +10:00
Peter Barker
796cc72344
autotest: remove parameters with default values from copter.parm
...
Setting these just takes time we don't need to spend
2020-09-11 08:02:38 +10:00
Samuel Tabor
6de4967a3d
autotest: Fix typos and unclear comments in soaring test.
2020-09-10 22:21:41 +10:00
Samuel Tabor
f6017d60bf
autotest: Update for new soaring behaviour.
2020-09-10 22:21:41 +10:00
Pierre Kancir
85b599b2d7
Tools: make non DEBUG SITL use -march=native
2020-09-10 15:16:18 +10:00
Peter Barker
995cda6363
autotest: stop taking off when we're already in the air
...
Depending on timing we can miss the fact we're already at altitude as we
take off in stabilize and manipulate the throttle before checking
altitude
2020-09-10 10:39:30 +10:00
Andrew Tridgell
6b242bf1db
waf: add flash_total to apj file
2020-09-10 07:41:25 +10:00
Peter Barker
0f5f040380
autotest: send all progress messages to autopilot
...
These will be logged into dataflash and into the telemetry log
2020-09-09 23:47:28 +10:00
bugobliterator
d997ca8779
autotest: pass calibration test even if 98% complete before success
2020-09-09 23:46:23 +10:00
Peter Barker
51b54d3740
autotest: avoid leaving message hooks around
...
Can lead to some very weird and confusing output
2020-09-09 17:59:17 +10:00
Andrew Tridgell
0f7f9a22fd
Tools: added Matek GPS and airspeed builds
2020-09-09 06:38:05 +10:00
Andrew Tridgell
a9ca78532e
Tools: added MSP bus type to decode
2020-09-09 06:35:50 +10:00
Andrew Tridgell
9c24415f86
AP_Periph: support output of MSP sensor data
2020-09-09 06:35:50 +10:00
Peter Barker
9228f47dc9
autotest: create collections-on-context to record selected messages
2020-09-08 14:19:08 +10:00
Peter Barker
f3866e5f39
autotest: disable button test
2020-09-08 12:31:15 +10:00
Andrew Tridgell
7c5a0a6a43
Tools: disable LOG_REPLAY by default in autotest
...
LOG_REPLAY prevents us logging when we have sensor failures, which
makes many tests hard to debug
2020-09-08 11:01:14 +10:00
Andrew Tridgell
80ef6fa7f2
Tools: added a MagFail test
...
ensures that both EK2 and EK3 will failover to a new compass on
compass failure
2020-09-08 11:01:14 +10:00
Peter Barker
d508ba97c5
autotest: add test for SmartRTL getting another GCS failsafe
...
Test for specific bug where we would land instead of continue in
SmartRTL
2020-09-08 09:05:03 +09:00
Samuel Tabor
3c0d4b6d5a
autotest: Add start time argument and parsing.
2020-09-07 21:20:25 +10:00
Andrew Tridgell
a9ecac4fff
Tools: added --osdmsp option to sim_vehicle.py
2020-09-07 11:59:20 +10:00
Pierre Kancir
2e60f361fa
Tools: ardupilotwaf: remove '-Werror=suggest-override' from benchmark to prevent failure
...
this is due to the fact that gbenchmark header should be compatible with C++03 and then don't accept C++11 feature like override ...
2020-09-06 19:13:04 +10:00
Pierre Kancir
9d9cf2501a
Tools: disable Gtest and testing on Gbenchmark build
2020-09-06 19:13:04 +10:00
Peter Barker
65268ee3d4
autotest: more button-test fixes
2020-09-06 16:49:16 +10:00