Commit Graph

59695 Commits

Author SHA1 Message Date
Ryan Friedman 1ae25d9a61 Docker: Add args to allow changing base image
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-24 09:55:51 +10:00
Pierre Kancir d78fe1ad99 AP_HAL_SITL: fix possible divide by 0 on synth.hpp 2023-08-24 07:46:20 +10:00
Andrew Tridgell b3954afe52 Copter: add friend for AP_ExternalControl_Copter 2023-08-24 07:46:06 +10:00
Ryan Friedman 4447e87098 Tools: Build DDS tests in CI
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-24 07:46:06 +10:00
Ryan Friedman d31896a545 AP_DDS: Stub out external odom
* Implement frame ID checking and test it
* Implement the visual odom function that does narrowing to floats
* Normalize quaternions from ROS
* Supply 0 error to EKF
* Handle external odomo only if HAL_VISUALODOM_ENABLED is defined
* Implement odom timestamping and improve docs
* Add unit tests
* Add a CONFIG file for DDS

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-24 07:46:06 +10:00
Tom Pittenger 732cd31f27 GCS_MAVLink: MSG_HOME_POSITION to use NaN for invalid 2023-08-23 08:53:29 -07:00
muramura 79a59d2739 Copter: The preprocessor determines whether rangefinder initialization is possible 2023-08-23 22:31:15 +10:00
Peter Barker 380a1fe738 Rover: accept MAV_CMD_NAV_RETURN_TO_LAUNCH as both long and int 2023-08-23 21:29:00 +10:00
Peter Barker b93e1d471f autotest: add test for Rover MAV_CMD_NAV_RETURN_TO_LAUNCH 2023-08-23 21:29:00 +10:00
muramura 6820e96ca8 Copter: Change from fast_loop method to FAST_TASK(NFC) 2023-08-23 19:24:01 +09:00
Andy Piper f7c86cc06a AP_NavEKF: fallback to no baro on boards that have no baro 2023-08-23 18:25:26 +10:00
Paul Riseborough 5aa7bd0b7a AP_NavEKF3: Allow operation with EK3_SRCx_POSZ = 0 (NONE) 2023-08-23 18:25:26 +10:00
Paul Riseborough 2572c9be48 AP_NavEKF: Allow EK3_SRCx_POSZ to be set to 0 (NONE) 2023-08-23 18:25:26 +10:00
Andy Piper cfd03aace7 github: reduce ccache percentage to allow tests to pass 2023-08-23 18:25:26 +10:00
Andy Piper c57efa1b20 AP_NavEKF3: allow high values of EK3_ALT_M_NSE for boards without baros 2023-08-23 18:25:26 +10:00
Randy Mackay 9d09739044 AP_Mount: Viewpro supports get rangefinder distance 2023-08-23 18:09:56 +10:00
Andy Piper a47009e103 autotest: autotest autotune without filtering updates 2023-08-23 18:06:22 +10:00
Andy Piper 8f644f473c AP_Vehicle: add autotune options 2023-08-23 18:06:22 +10:00
Andy Piper 15655a9c24 Plane: add AUTOTUNE_OPTIONS flags to allow filter updates to be disabled 2023-08-23 18:06:22 +10:00
Andy Piper ee883b6ad0 APM_Control: allow autotune FLTD and FLTT updates to be disabled 2023-08-23 18:06:22 +10:00
Peter Barker 81326a17db hwdef: qiotek: correct HAL_BATT_MONITOR_DEFAULT define name 2023-08-23 17:20:20 +10:00
Pierre Kancir 875f834e93 Tools: remove bionic fixed package as we move to py3 2023-08-23 17:15:56 +10:00
Pierre Kancir 69a42cafb3 Tools: update pip as part of install to prevent issues 2023-08-23 17:15:56 +10:00
Pierre Kancir 17b1a4c387 .github: don't tests everyting for environment tests workflow change 2023-08-23 17:15:56 +10:00
Pierre Kancir f7ddb69367 .github: fix environement test workflow 2023-08-23 17:15:56 +10:00
Pierre Kancir e9bcf3b8df Tools: disable pip install progress bar on github action 2023-08-23 17:15:56 +10:00
Pierre Kancir 2b8a605fd2 Tools: use venv on Archlinux to fix install 2023-08-23 17:15:56 +10:00
Pierre Kancir be74f7b480 Tools: switch bionic to python3 to fix install 2023-08-23 17:15:56 +10:00
bugobliterator c0bc2d4106 bootloaders: update CubeRed bootloaders to fix mavlink reboot issue 2023-08-23 17:08:26 +10:00
Peter Barker 0bcb3ece85 Rover: rely on magic conversion to handle DO_SET_REVERSE as both int/long 2023-08-23 16:12:21 +10:00
Peter Barker 6a6a0b36c9 autotest: add test for Rover reversing in guided 2023-08-23 16:12:21 +10:00
Tom Pittenger ed43f095ce AP_HAL_ChibiOS: add AP_BATTERY_ESC_TELEM_OUTBOUND_ENABLED to defaults_periph 2023-08-22 16:14:36 -07:00
Tom Pittenger 2057a1871b Tools/scripts/build_features: add BATTERY_ESC_TELEM_OUTBOUND_ENABLED 2023-08-22 16:14:36 -07:00
Tom Pittenger 21ead4e8e3 AP_Battery: add param _ESC_ID to write to ESC_Telem 2023-08-22 16:14:36 -07:00
Tom Pittenger dbe0aac73f AP_ESC_Telem: update_telem_data to be public 2023-08-22 16:14:36 -07:00
Tom Pittenger 5ddb649ed1 Update libraries/AP_Networking/AP_Networking.cpp
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2023-08-22 09:25:42 -07:00
muramura 4bad05c49c AP_Logger:AP_Networking: If initialization fails, the process is terminated 2023-08-22 09:25:42 -07:00
muramura 75a279a11d AP_Networking: Delete entity class pointer 2023-08-22 09:25:42 -07:00
Ryan Friedman d76bf320de Tools: Enforce astyle on AP_ExternalControl
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-22 18:21:23 +10:00
Andrew Tridgell 62f9aa5d79 Rover: dummy implementation of AP_ExternalControl 2023-08-22 18:21:23 +10:00
Andrew Tridgell 56dcad3cc2 Plane: dummy AP_ExternalControl implementation 2023-08-22 18:21:23 +10:00
Andrew Tridgell 847c7980c7 AP_DDS: use AP_ExternalControl for velocity control
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Co-authored-by: Andrew Tridgell <tridge60@gmail.com>
2023-08-22 18:21:23 +10:00
Andrew Tridgell 10435ca3c4 waf: added AP_ExternalControl to set of libraries 2023-08-22 18:21:23 +10:00
Andrew Tridgell c452325de2 Copter: added AP_ExternalControl support
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Co-authored-by: Andrew Tridgell <tridge60@gmail.com>
2023-08-22 18:21:23 +10:00
Andrew Tridgell 0f624089f8 AP_ExternalControl: external control library for MAVLink,lua and DDS
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Co-authored-by: Andrew Tridgell <tridge60@gmail.com>
2023-08-22 18:21:23 +10:00
Andy Piper 37a3f85a9a AP_HAL_ChibiOS: add 8 bi-directional dshot channels to KakuteH7-Wing 2023-08-22 11:08:14 +10:00
Andrew Tridgell 4f0ba39b64 AP_Param: fixed parameter defaults array length handling
we need to add up the total for all comma separated parameter files
2023-08-22 11:07:30 +10:00
Willian Galvani 158b99c20a AP_MotorsUGV: add asymmetry factor for skid-steering
Co-authored-by: Iampete1 <iampete@hotmail.co.uk>
2023-08-22 09:14:42 +09:00
Peter Barker 460faa8659 Rover: pass mavlink_message_t to handle_command_*_packet
the "special case" blocks are getting longer and longer.  Merge the switch statements for the command type to be handled by passing around the message.
2023-08-22 10:11:33 +10:00
Peter Barker 0bf4a0a39a Blimp: pass mavlink_message_t to handle_command_*_packet
the "special case" blocks are getting longer and longer.  Merge the switch statements for the command type to be handled by passing around the message.
2023-08-22 10:11:33 +10:00