Commit Graph

63320 Commits

Author SHA1 Message Date
Andrew Tridgell bf9f3b8660 AP_Scripting: added notch_switch example
switch between two notch setups using attenuation change
2024-05-29 12:56:43 +10:00
Andrew Tridgell 8f9bf6793b Tools: fixed language checker invocation 2024-05-29 12:56:43 +10:00
Henry Wurzburg f5f78b7711 AP_HAL_ChibiOS:Improve SDMODELH7V2 definition 2024-05-29 10:40:03 +10:00
Alex Burka c027c2e978 docker: add usage instructions to BUILD.md 2024-05-29 08:31:11 +09:00
Alex Burka dcf41cfe81 docker: fix docker detection in install-prereqs-ubuntu.sh
The standard "are we in docker" checks don't seem to work during a
build, so just use an environment variable.
2024-05-29 08:31:11 +09:00
Alex Burka 32fc9853f0 docker: configure environment for STM compilation 2024-05-29 08:31:11 +09:00
Alex Burka 832f7c93dd docker: install necessary python packages 2024-05-29 08:31:11 +09:00
Alex Burka e5e78d3e3f docker: only set env vars during prereq installation 2024-05-29 08:31:11 +09:00
Alex Burka 26596484ed docker: remove "waf" alias
It was difficult to use the alias, since aliases aren't inherited by
subshells, so the only way is to run `source ~/.ardpuilot_env` again
inside the container, which doesn't seem worth it to avoid a couple of
`./` which are in all of the documentation anyway.
2024-05-29 08:31:11 +09:00
petrosilius 1d810bfa6f AP_Scripting: added tracker Pelco-D control script
This script uses the scaled output from the antennatracker servos and map them to corresponding Pelco-D messages to be sent via a RS-485 interface to a motorized base (can be anything from motorized tracker to a PTZ camera).
If your FCU doesnt offer a RS-485 interface by default, you can use or TTL-RS485- or USB-RS485-adapters.

Pelco-D allows to control using either speed-/differential- or absolute-control control of the pan-/tilt-axis.
Currently the script uses speed based control using by mapping the "ContinuousRotation" type servos outputs to the corresponding Pelco-D messages.
The absolute control messages are implemented nevertheless for future use.

The script assumes therefor at least the following parameters to be set:

SCR_ENABLE = 1
SERVO_PITCH_TYPE = 2  # ContinuousRotation type servo
SERVO_YAW_TYPE = 2    # ContinuousRotation type servo
SERIALx_PROTOCOL = 28 # serial port used by luascript

Additionally the PITCH2SRV and YAW2SRV tuning needs to be done as described by the antennatracker description.
Also keep attention to the PITCH_MIN, PITCH_MAX and YAW_RANGE parameters to fit your Pelco-D hardware!
2024-05-28 17:42:52 +10:00
Peter Barker 5fe4fec6ab autotest.py: remove unused frame parameter 2024-05-28 17:39:08 +10:00
Randy Mackay 53f37a7457 Copter: 4.5.3 release notes 2024-05-28 13:19:03 +09:00
Randy Mackay 018c8f5027 Rover: 4.5.3 release notes 2024-05-28 13:18:54 +09:00
Randy Mackay c4b4e17e15 Tracker: 4.5.3 release notes 2024-05-28 13:18:45 +09:00
Randy Mackay 65e620aca0 Plane: 4.5.3 release notes 2024-05-28 14:06:56 +10:00
Andrew Tridgell e0af22ad8f SITL: update to work on newer cygwin versions 2024-05-28 11:33:38 +10:00
Iampete1 3f6ce2dc09 AP_DroneCAN: Serial: map baudrates so param works as expected 2024-05-28 10:27:20 +10:00
Peter Barker 720c8719dc waf: boards.py: use chibios_hwdef.py to get boards list 2024-05-28 10:25:39 +10:00
Peter Barker a669249416 GCS_MAVLink: default support for BATTERY2 sending to off
replaced by BATTERY_STATUS
2024-05-28 10:11:37 +10:00
Iampete1 f5e7bfcc48 AP_Scripting: remove support for REPL 2024-05-28 10:10:14 +10:00
Iampete1 061d610965 Tools: Scripts: run_lua_language_check: give hint about github-release-downloader 2024-05-28 10:04:15 +10:00
rotorman 23714969da Tools: adds Flywoo/Goku F405 HD 1-2S ELRS AIO v2 flight controller support
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2024-05-28 09:57:14 +10:00
rotorman 0962b759b0 AP_HAL_ChibiOS: adds Flywoo/Goku F405 HD 1-2S ELRS AIO v2 flight controller support
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2024-05-28 09:57:14 +10:00
MattKear ae38c96a04 Copter: use new surface distance library 2024-05-28 09:55:36 +10:00
MattKear 0a6fa4f886 AP_SurfaceDistance: Start library for tracking the floor/roof distance 2024-05-28 09:55:36 +10:00
Iampete1 e10b4abad8 ChibiOS: UART: Add support for RS-485 Driver Enable RTS flow control 2024-05-28 09:48:19 +10:00
Iampete1 e6a0abdfce AP_HAL_ChibiOS: hwdef.py: find alt function for UART RTS and add to init struct 2024-05-28 09:48:19 +10:00
Iampete1 0959930289 AP_BoardConfig: update RTSCTS param values for new option 2024-05-28 09:48:19 +10:00
Iampete1 50fd01af97 GCS_MAVLink: use new `flow_control_enabled` helper 2024-05-28 09:48:19 +10:00
Iampete1 713eda617f AP_Scripting: allow new flow control type in `set_flow_control` binding 2024-05-28 09:48:19 +10:00
Iampete1 d340f37678 AP_HAL: UARTDriver: Add new flow control option "FLOW_CONTROL_RTS_DE" for RS485 driver enable. 2024-05-28 09:48:19 +10:00
Thomas Watson 0956b4f65d AP_HAL_SITL: remove deprecated --uartX options
Code remains to check for use of these options and give an error which
contains the correct option to use, due to the non-intuitive mapping
between --uartX and --serialN.

A future version will remove that code too.
2024-05-28 09:23:39 +10:00
Thomas Watson 3d4490b339 Tools/ros2: remove forwarding of deprecated --uartX options 2024-05-28 09:23:39 +10:00
Thomas Watson d2456f4199 SITL: remove references to legacy UART order 2024-05-28 09:23:39 +10:00
Andy Piper 60493fd11c scripts: add iomcu-f103-8MHz-dshot to size_copmare_branches.py 2024-05-28 06:56:14 +10:00
burgeruser 1c64682602 IO_Firmware: bi-directional dshot on iomcu F103 8MHz 2024-05-28 06:56:14 +10:00
burgeruser 458cb0a1c9 AP_HAL_ChibiOS: bi-directional dshot on iomcu F103 8MHz 2024-05-28 06:56:14 +10:00
robsenseuser a1971bb5b7 board_types.txt: add Phenix board IDs
Reserve board IDs for Robsense PhenixProH7 Boards
2024-05-27 13:55:00 +10:00
Rhys Mainwaring 33d51d52ad AP_DDS: ensure zero rotation quaternions are normalised
- ROS expects quaternions to be normalised and the default message constructor does not enforce this.
- Fix normalisation for pose stamped.

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-05-26 09:46:48 +10:00
Ryan Friedman 8a58affe24 Tools: ros2: Fix plane launch headless
* Install models for other users
* Fix bool parsing in some launch args
2024-05-25 12:04:05 +10:00
Bob Long ead48b6737 Tools: fix handling of include files for Periph
This fix scans all the include files in a hwdef, not just one on the
first line.
2024-05-24 10:40:46 +10:00
Stephen Dade d16ff40162 RC_Channel: detect duplicate aux functions with an ID >256 2024-05-24 09:57:17 +10:00
Paul Riseborough 91423d4c71 AP_NavEKF3: Remove unncessary local position height reporting offset
The offset generated by the EK3_OGN_HGT_MASK parameter bit 2 option is applied to the baro or range finder sensor so it does not have to be applied to the local position height.
2024-05-23 10:35:51 +10:00
Paul Riseborough 5fded75eb6 AP_NavEKF3: Adjust sensor height when EK3_OGN_HGT_MASK bit 2 is set 2024-05-23 10:35:51 +10:00
Peter Barker ee7e8661ed autotest: add test for EK3_OGN_HGT_MASK bug 2024-05-23 10:35:51 +10:00
David O'Connor 77adb5586d AP_HAL_ChibiOS: Added mag and dataflash logging support to AnyLeaf H7 2024-05-23 09:48:02 +10:00
Peter Barker 7194c6e72e Tools: allow handling of AP_MAVLINK_MSG_HIL_GPS_ENABLED to be compiled out 2024-05-23 09:16:32 +10:00
Peter Barker b7cf418d1e GCS_MAVLink: allow handling of AP_MAVLINK_MSG_HIL_GPS_ENABLED to be compiled out 2024-05-23 09:16:32 +10:00
Peter Barker 05b8c28ea9 AP_GPS: allow handling of AP_MAVLINK_MSG_HIL_GPS_ENABLED to be compiled out 2024-05-23 09:16:32 +10:00
Alex Burka 8e399cffbe AP_InternalError: fix signedness issue with snprintf 2024-05-22 23:22:23 +10:00