Commit Graph

6859 Commits

Author SHA1 Message Date
Luiz Georg 42f202d0ff Tools/LogAnalyzer: apply Black and isort 2022-07-19 22:01:31 +10:00
李孟晓 d4bfcf80bd Tools: added ICP201XX build option 2022-07-19 15:02:31 +10:00
Peter Barker d2caebf39c autotest: increase time allowed for getting statustexts
frsky is run i9n a thread  - and signficiant speedsup seem to adversely affect it
2022-07-19 11:00:27 +10:00
Peter Barker 84adb059ed autotest: correct frsky text comparison bug
reusing the variable "text" here crewed up subsequent receiving of messages as it could reset the text from empty to the most recently received text.
2022-07-19 11:00:27 +10:00
Peter Barker 271b4d7d3c autotest: disable mavutil autoreconnect in drain_mav
The process may not be available
2022-07-19 11:00:27 +10:00
Peter Barker acd9fb9c0a autotest: pause/unpause SITL while draining mav
If Python can't keep up with the message volume coming from the autopilot we never manage to drain all messages from the vehicle.

So try pausing/unpausing the simulation so we can drain the link...

AT-1968.6: AP: PreArm: Radio failsafe on
AT-1969.9: AP: PreArm: Radio failsafe on
AT-1971.2: AP: PreArm: Radio failsafe on
AT-1972.4: AP: PreArm: Radio failsafe on
AT-1973.7: AP: PreArm: Radio failsafe on
AT-1974.9: AP: PreArm: Radio failsafe on
AT-1975.3: Drained 2000283 messages from mav (7218.974791/s)
AT-1975.3: Exception caught: Traceback (most recent call last):
  File "/mnt/volume_nyc3_01/autotest/APM/APM/Tools/autotest/common.py", line 699
8, in run_one_test_attempt
    self.context_pop()
  File "/mnt/volume_nyc3_01/autotest/APM/APM/Tools/autotest/common.py", line 499
3, in context_pop
    self.set_parameters(dead_parameters_dict, add_to_context=False)
2022-07-19 11:00:27 +10:00
Peter Barker e38adc7d14 autotest: pause/unpause SITL while draining mav
If Python can't keep up with the message volume coming from the autopilot we never manage to drain all messages from the vehicle.

So try pausing/unpausing the simulation so we can drain the link...

AT-1968.6: AP: PreArm: Radio failsafe on
AT-1969.9: AP: PreArm: Radio failsafe on
AT-1971.2: AP: PreArm: Radio failsafe on
AT-1972.4: AP: PreArm: Radio failsafe on
AT-1973.7: AP: PreArm: Radio failsafe on
AT-1974.9: AP: PreArm: Radio failsafe on
AT-1975.3: Drained 2000283 messages from mav (7218.974791/s)
AT-1975.3: Exception caught: Traceback (most recent call last):
  File "/mnt/volume_nyc3_01/autotest/APM/APM/Tools/autotest/common.py", line 699
8, in run_one_test_attempt
    self.context_pop()
  File "/mnt/volume_nyc3_01/autotest/APM/APM/Tools/autotest/common.py", line 499
3, in context_pop
    self.set_parameters(dead_parameters_dict, add_to_context=False)
2022-07-19 11:00:27 +10:00
Henry Wurzburg 2eb3f75a57 Tools: fix bootloaders to turn on switched supply during bootloader 2022-07-19 10:34:47 +10:00
Peter Barker 0677965524 autotest: adjust PAUSE_CONTINUE_GUIDED to use globalframe for navigation
Co-author: Leonard Hall <leonardthall@gmail.com>

This test was failing when the yaw control on the simulated vehicle was cleaned up.  Navigating in body frame meant that the vehicle was told to go to a different position than we were actually expecting.
2022-07-19 09:24:45 +10:00
Peter Barker 28ed2e3cd5 autotest: add support for building alternate binaries
e.g. adding features ordinarily compiled out
2022-07-19 09:09:05 +10:00
Peter Barker c0243772b4 waf: add --define command-line option
Allows CPP defines to be specified on command-line

Eases enable/disable of optional features
2022-07-19 09:09:05 +10:00
Peter Barker 6c17fd7bac waf: build Richenpower on SITL by default 2022-07-19 09:09:05 +10:00
Andrew Tridgell 0d508750bc Tools: fixed the filter test tool for instance IMU data
and use indexed log search
2022-07-19 06:28:18 +10:00
Henry Wurzburg 406d03559f Tools:Add build option for Ublox 2022-07-18 16:50:31 +01:00
Peter Barker 4561e78dd5 AP_Periph: include GCS_MAVLink.h for firmware version type define 2022-07-16 17:15:52 +10:00
Leonard Hall 0405451463 SITL: Fix BaroWindCorrection Test 2022-07-15 09:59:44 +09:00
Leonard Hall 7a5c71d8a4 Tools: Update Callisto Model 2022-07-15 09:59:44 +09:00
Peter Barker bceaa10794 autotest: add a test for rally point altitudes 2022-07-14 11:49:53 +10:00
Andy Piper 591f43e7d0 scripts: add TRAMP to build options 2022-07-14 09:23:59 +10:00
Pierre Kancir 99ef5f5957 Tools: create an ardupilot entrypoint instead of hacking .bashrc on docker 2022-07-13 18:45:44 +10:00
Tamas Nepusz 19bc7ebebe build_bootloaders.py should invoke bin2hex.py with the same Python interpreter as its own 2022-07-13 17:24:19 +10:00
Randy Mackay 67520c55d5 Tools: move Karuizawa location 2022-07-12 21:29:24 +09:00
TunaLobster 670378dc73 Tools: rstemit.py: Change Range to be clearer meaning 2022-07-12 12:58:39 +10:00
Andrew Tridgell 4d4a1ddd42 waf: setup UBSAN_ENABLED define 2022-07-12 11:00:08 +10:00
Andrew Tridgell 2f7a8769c0 autotest: added --ubsan and --ubsan-abort to sim_vehicle.py and autotest.py
allows for undefined behaviour checking in SITL
2022-07-12 11:00:08 +10:00
Andrew Tridgell acf56204f2 waf: added --ubsan and --ubsan-abort options 2022-07-12 11:00:08 +10:00
Iampete1 1a70f9fffc Tools: scripts: build options: update AP_AIS_ENABLED to AP_AIS_ENABLED 2022-07-12 09:39:54 +10:00
Iampete1 28989f1838 Tools: ardupilotwaf: add AP_AIS to build 2022-07-12 09:39:54 +10:00
Peter Barker 2ca68da77a autotest: correct setting mode by number 2022-07-12 08:51:21 +10:00
Peter Barker a672c7df97 autotest: add test for changing modes by mode number
Useful for when you don't have a mapping entry for the mode number yet
2022-07-12 08:51:21 +10:00
Peter Barker 72734d38de autotest: add test for AUTO_LAND_TO_BRAKE
Having some terrain-based issues with BRAKE mode
2022-07-10 20:59:52 +10:00
Peter Barker 7647e38f3f autotest: create get_home_tuple_from_mission method
Useful if you want to start a mission where a saved waypoint file's home location is
2022-07-10 20:59:52 +10:00
Peter Barker 0ec06511ae Tools: build_options: mount backends depend on mount being enabled 2022-07-08 16:00:57 +10:00
Peter Barker 86096261d0 autotest: add new wait_and_maintain_range method 2022-07-07 21:29:43 +10:00
Peter Barker e77d0ce1a4 autotest: rewrite speedtofly test using wait_airspeed 2022-07-07 21:29:43 +10:00
Pierre Kancir 2b4a68fdbe CI: remove xenial from env config 2022-07-06 18:06:47 +10:00
Pierre Kancir ba9c72f1a3 Tools: use lastest python2 release for requests for pyhton2 distro 2022-07-06 18:06:47 +10:00
Pierre Kancir 8af5763af3 CI: fix arch dev env install 2022-07-06 18:06:47 +10:00
Pierre Kancir d2abd1eed9 Tools: fix configparser version for python2 2022-07-06 18:06:47 +10:00
Pierre Kancir d768462155 Tools: env install: use dot for wget to reduce terminal usage 2022-07-06 18:06:47 +10:00
Pierre Kancir 1b4a7b5adf Tools: fix env install for bionic 2022-07-06 18:06:47 +10:00
Pierre Kancir a6f32e1a24 Tools: Fix install script for various distro
remove disco and eoan that aren't working anymore.
fix buster, bionic and xenial that use python and not python2
2022-07-06 18:06:47 +10:00
Andrew Tridgell 53eb0191b1 Tools: fixed typo 2022-07-06 16:54:48 +10:00
xiao 084bae21ef HAL_ChibiOS: hwdef: MFE-PixSurveyA1 rename PixSurveyA1 2022-07-05 17:44:03 +10:00
xiao b1638f4e9d Tools: added MFE-PixSurveyA1 board ID 2022-07-05 17:44:03 +10:00
Andrew Tridgell 003fef229c Tools: disable convertgpx step in autotest
this is taking 5 hours to run. It just isn't worth it
2022-07-04 20:05:06 +10:00
Andrew Tridgell 6eb406b2d6 Tools: support triple notch in FilterTool 2022-07-03 20:36:16 +10:00
Andy Piper 8799b3839a autotest: add triple notch test. 2022-07-03 18:21:41 +10:00
Andy Piper f2aa6e99c3 autotest: test pre and post filter logging in FFT test 2022-07-03 18:19:55 +10:00
Peter Barker 215842fe82 Tools: add tests for ICE Planes 2022-07-01 19:33:51 +10:00