Commit Graph

46804 Commits

Author SHA1 Message Date
yaapu 592fba7416 AP_Frsky_Telem: frame 0x5007 refactoring 2021-03-19 22:35:16 +11:00
murata 0536be1c88 AP_NavEKF: Change misnomer (NFC) 2021-03-19 17:49:27 +11:00
murata a5b6ce9220 AP_NavEKF2: Change misnomer (NFC) 2021-03-19 17:49:27 +11:00
Michael du Breuil 9abf91c86e AP_Periph: Allow skipping the BatteryInfo model_name
This saves a shocking amount of bandwidth. On a CubeOrange-periph
build sending just baro data and 2 battery info's this results in 25%
less bandwidth being used. (Also given that we still have a instance id,
and can get the CAN node's descriptor in the general case this is not
costing us any information).
2021-03-19 17:35:54 +11:00
Samuel Tabor d578b4d3db AP_Soaring: Fix incorrect use of aparm.loiter_radius. 2021-03-19 17:00:08 +11:00
Peter Barker 936aa63135 AP_Param: remove confusing comment
The code refered to is within is_sentinel - and it has a copy of the
comment
2021-03-19 12:21:25 +11:00
Peter Barker e567cca230 autotest: drain mav before receiving system_time in get_sim_time 2021-03-19 09:46:45 +11:00
Peter Barker 8901efd69d autotest: start and stop MAVProxy for alttype and surface tracking tests
autotest doesn't currently supply terrain tiles, so MAVProxy must be
started
2021-03-19 09:46:45 +11:00
Peter Barker 19e5351631 autotest: start and stop mavproxy for setpoint tests
These work in terrain frame - but autotest won't satisfy terrain
requests yet
2021-03-19 09:46:45 +11:00
Peter Barker 462ac255a3 autotest: start MAVProxy only as needed for testing 2021-03-19 09:46:45 +11:00
Peter Barker 4269cf52a2 autotest: split application of default parameters and defaultfile parameters
ensures all vehicles have LOG_DISARMED
2021-03-19 09:46:45 +11:00
Peter Barker 37efb1cbeb autotest: Copter sim passes default file instead of setting parms
We're now waiting for the vehicle simulation to provide us a heartbeat
for a non-generic frame before considering it good to fly.

Unfortunately, Copter relies on the parameter file to tell it which
frame to use - and we don't apply parameters from parameter files until
after we've checked the heartbeat.

Passing the file into ArduPilot on the commandline means we don't have
this problem.
2021-03-19 09:46:45 +11:00
Peter Barker dbee2e5d71 autotest: ignore type=0 heartbeat packets on SITL start
Until ArduCopter allocates its motors backend we emit a generic type,
for which there is no mode map in pymavlink.

So don't consider the reboot complete until we see a valid heartbeat.
2021-03-19 09:46:45 +11:00
yaapu ec15614e11 Tools:autotest: added frsky passthrough autotest for terrain message frame 0x500B 2021-03-18 21:43:48 +11:00
yaapu 45f7cb0c82 AP_Frsky_Telem: added passthrough frame 0x500B for height above terrain 2021-03-18 21:43:48 +11:00
Pierre Kancir 3f204d976e Tools: split coverage script for easier update 2021-03-18 21:33:01 +11:00
Peter Barker 5e63ed908e AP_Logger: loosen constraint on failing to log replay block
// things will almost certainly go sour.  However, if we are not
    // logging while disarmed then the EKF can be started and trying
    // to log things even 'though the backends might be saying "no".
2021-03-18 19:38:43 +11:00
Peter Barker 120167f799 autotest: fix fly_square mission
waypoint doesn't change until mission is running
2021-03-18 17:02:06 +11:00
Peter Barker 42eec13f5e autotest: adjust CAN test for lack of MAVProxy 2021-03-18 13:50:57 +11:00
murata 6c67e191d4 AP_Mission: Change the description(NFC) 2021-03-18 12:32:59 +11:00
Peter Barker 21c124ab47 autotest: tidy set_parameters
Remove commented code, add more to the verbose option
2021-03-18 11:29:45 +11:00
4712 38ea1296ca Update serial-4way-if to v20005
Reservation of an MCU_ID area to simplificate adding of upcoming BLHeli_32 MCU.
2021-03-18 08:10:08 +11:00
4712 6956abdb45 Some fixes for AP_BLHeli
Added ACK_I_INVALID_CHANNEL as response for cmd_DeviceReset cmd_DeviceInitFlash on bad channel selection
Fixed params for MSP_MOTOR_CONFIG
Adapted some timeouts
2021-03-18 08:10:08 +11:00
yaapu 59c5bbc8b8 AP_BLHeli: added missing ack to MSP_SET_MOTOR message 2021-03-18 08:10:08 +11:00
Stavros Korokithakis f6fc6d22da autotest: Fix the climb-before-turn test 2021-03-18 07:37:21 +11:00
Pierre Kancir 717b06d635 .semaphore: add base semaphore.yml 2021-03-18 07:13:47 +11:00
Randy Mackay 5912052a39 AP_RangeFinder: lightware legacy I2C retry count to 20
This is consistent with the non-legacy I2C protocol
2021-03-17 21:23:14 +09:00
Tatsuya Yamaguchi 941c5f8179 Copter: add EKF failsafe notify tones 2021-03-17 20:29:32 +09:00
Tatsuya Yamaguchi e134d12e32 AP_Notify: add EKF failsafe notify tones 2021-03-17 20:29:32 +09:00
Pierre Kancir 311a4ed0c7 Tools: correct package_is_installed check 2021-03-17 21:32:30 +11:00
Pierre Kancir 881e42c337 Tools: Give a better chance on default install to get the right package version 2021-03-17 21:32:30 +11:00
roger b02f868793 Tools: make build installation script compatible with most Linux distros
Signed-off-by: <73884126+ardugitter@users.noreply.github.com>
2021-03-17 21:32:30 +11:00
Samuel Tabor 36428f5074 Tools: Handle repeated add-param-file arguments to sim_vehicle.py. 2021-03-17 19:43:03 +11:00
Iampete1 660d301f9b Plane: chan param converison 2021-03-17 19:18:46 +11:00
Iampete1 733db3de19 RC_Channel: add MODE_SWITCH_RESET option 2021-03-17 19:18:46 +11:00
Iampete1 cca5e62c89 Plane: move RST_SWITCH_CH to RCx_OPTION 2021-03-17 19:18:46 +11:00
Iampete1 2d91679ec2 RC_Channel: add FBWA_TAILDRAGGER option 2021-03-17 19:18:46 +11:00
Iampete1 7226a3a9dc Plane: move FBWA_TDRAG_CHAN to RC Options 2021-03-17 19:18:46 +11:00
Iampete1 77e1092f46 RC_Channel: do_aux_function_mission_reset to virtual 2021-03-17 19:18:46 +11:00
Iampete1 5f555e5314 Plane: move CHUTE_CHAN to RC Options 2021-03-17 19:18:46 +11:00
Iampete1 eeab196d91 Plane: move RST_MISSION_CH to RC option 2021-03-17 19:18:46 +11:00
Pierre Kancir ebe841ba70 Tools: param_parse: validate empty description and fields 2021-03-17 18:54:53 +11:00
Kawamura 15421c16d1 Tools: add psutil for kill_tasks_psutil in sim_vehicle.py 2021-03-17 18:52:22 +11:00
Iampete1 58860205ea AP_Scripting: add manual i2c get device bindings 2021-03-17 18:50:05 +11:00
Iampete1 166aedf1be AP_Scripting: add I2CDevice to auto bindings 2021-03-17 18:50:05 +11:00
Iampete1 1f0e36e10d AP_Scripting: add i2c scan example 2021-03-17 18:50:05 +11:00
Iampete1 7b3097972b AP_Scripting: generator: support pointer semaphore flag 2021-03-17 18:50:05 +11:00
Iampete1 c54634e86b AP_Scripting: generator: finish off refence access implmentation 2021-03-17 18:50:05 +11:00
Iampete1 8effa59d10 AP_Scripting: generator: support method alias and sanitised names 2021-03-17 18:50:05 +11:00
Peter Hall 9997981702 AP_Scripting: generator: support literal singltons that do not need to be fetched 2021-03-17 18:50:05 +11:00