Peter Barker
5a65632a2d
AP_Mission: allow payload place to be compiled out of code
2023-10-27 14:15:53 +11:00
Peter Barker
bf59fbc6d9
Copter: payloadplace: avoid using auto_takeoff functionality
...
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
the methods being called to a lot more than we need or want them to.
In particular, they mix both horizontal and vertical control, but also may or may not run based on various aircraft conditions.
Simplify by simply calling position controller.
2023-10-27 14:15:53 +11:00
Peter Barker
a820612fc9
Copter: payloadplace: fold methods back into caller
...
Co-authored-by: Leonard Hall <leonardthall@gmail.com>
these methods don't really add much, and prohibit future refactoring
2023-10-27 14:15:53 +11:00
Peter Barker
af949590f8
Copter: remove unimplemented method declaration
2023-10-27 14:15:53 +11:00
Peter Barker
e2157d8b9f
Copter: remove un-needed PayloadPlace::run_should_run
...
make this look like the other handling, especially in terms of what we do if we shouldn't be running
2023-10-27 14:15:53 +11:00
Peter Barker
5820a9bc2f
Copter: encapsulate PayLoadPlace state and methods into existing struct
...
... and make it a class
2023-10-27 14:15:53 +11:00
Peter Barker
ba72b7edfd
hwdef: fix speedybeef4v3 build
...
double-definition
2023-10-26 18:15:30 +11:00
Peter Barker
8e5708b6f2
speedybeef4: remove redefinition of AP_BATTERY_SYNTHETIC_CURRENT_ENABLED
2023-10-26 18:15:30 +11:00
Peter Barker
f5045384cf
hwdef: correct ReaperF745 build
2023-10-26 18:15:30 +11:00
Peter Barker
b757319245
hwdef: fix KakuteF4Mini build
...
redefinition
2023-10-26 18:15:30 +11:00
Peter Barker
38db3d8cbc
hwdef: fix F35Lightning build
...
.... and remove redundantdefine
2023-10-26 18:15:30 +11:00
Peter Barker
14e0a1028c
Rover: remove MSG_BATTERY_STATUS from steams if AP_BATTERY_ENABLED is false
2023-10-26 13:23:57 +11:00
Peter Barker
6cfc6f56cb
Blimp: remove MSG_BATTERY_STATUS from steams if AP_BATTERY_ENABLED is false
2023-10-26 13:23:57 +11:00
Peter Barker
c3e5ea0b0f
ArduSub: remove MSG_BATTERY_STATUS from steams if AP_BATTERY_ENABLED is false
2023-10-26 13:23:57 +11:00
Peter Barker
edb4f25953
ArduPlane: remove MSG_BATTERY_STATUS from steams if AP_BATTERY_ENABLED is false
2023-10-26 13:23:57 +11:00
Peter Barker
d46859aa96
ArduCopter: remove MSG_BATTERY_STATUS from steams if AP_BATTERY_ENABLED is false
2023-10-26 13:23:57 +11:00
Peter Barker
e85f843c5d
CS_MAVLink: tidy use of AP_BATTERY_ENABLED defines
...
remove entire functions rather than just their content
2023-10-26 13:23:57 +11:00
Peter Barker
e110ee5537
autotest: stop using removed MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS
2023-10-26 13:19:59 +11:00
Peter Barker
2412ba495d
GCS_MAVLink: remove handling of PREFLIGHT_SET_SENSOR_OFFSETS
...
This was the old offboard-calibration code.
We've checked MAVProxy, QGC and MissionPlanner and they're not using this code.
The onboard calibration stuff is better.
2023-10-26 13:19:59 +11:00
Peter Barker
740b939aa5
GCS_MAVLink: handle control-high-latency as both long and int
2023-10-26 13:19:29 +11:00
Peter Barker
5e55e143cc
autotest: test MAV_CMD_CONTROL_HIGH_LATENCY as both long and int
2023-10-26 13:19:29 +11:00
Minderring
62af92ef8a
AP_Bootloader: add board id for MICOAIR405
2023-10-25 10:21:26 -07:00
Michael du Breuil
bed58d9952
Blimp: Support not sending a status text on state change
2023-10-25 09:39:51 -07:00
Michael du Breuil
5e44b2ea52
Rover: Support not sending a status text on state change
2023-10-25 09:39:51 -07:00
Michael du Breuil
d42a3ee971
Copter: Support not sending a status text on state change
2023-10-25 09:39:51 -07:00
Michael du Breuil
9e07fbd949
Sub: Support not sending a status text on state change
2023-10-25 09:39:51 -07:00
Michael du Breuil
28d4603a46
Plane: Support not sending a status text on state change
2023-10-25 09:39:51 -07:00
Michael du Breuil
45786a33e6
AP_Arming: Do not send a status text on state change
2023-10-25 09:39:51 -07:00
Iampete1
83a31ac371
AP_Compass: add big comment explaining calculate_heading maths, add consts and use wrap_PI helper
2023-10-25 15:57:16 +01:00
Peter Barker
73be6c55f7
Tools: add Sagetech MXS simulator
2023-10-25 20:06:47 +11:00
Peter Barker
fd67c71eb0
SITL: add Sagetech MXS simulator
2023-10-25 20:06:47 +11:00
Peter Barker
6d1d9df875
AP_HAL_SITL: add Sagetech MXS simulator
2023-10-25 20:06:47 +11:00
Andy Piper
9ba9553d96
AP_HAL_ChibiOS: NFC refactor of dshot/bdshot in preparation for bdshot on iomcu
2023-10-25 19:30:35 +11:00
Andy Piper
7ca2a4da56
AP_InertialSensor: remove ICM42xxx defaults
2023-10-25 19:23:11 +11:00
Andrew Tridgell
2688848cd1
AP_InertialSensor: fixed orientation of batch sampled data
...
we need to rotate the data so that FFT displays match the configured
orientation
2023-10-25 19:23:11 +11:00
Andrew Tridgell
0ebf9e7af5
AP_InertialSensor: pre-fetch instances for use in filter setup
...
we use the instance numbers during filter configuration to check if
fast sampling is enabled. We need to ensure these instance numbers
have been setup before the filtering functions get called
2023-10-25 19:23:11 +11:00
Andy Piper
a9e0bf070c
AP_InertialSensor: ensure indirect registers are not modified with sensors active on ICM-42688
2023-10-25 19:23:11 +11:00
Andy Piper
da0b1402d3
AP_InertialSensor: add high-resolution reads for ICM45686
...
enable high-resolution support on all ICM4xxxx sensors
create INS_HIRES_SAMPLE mask
adjust high-resolution sampling for correct byte ordering and depth
correct high resolution scaling on 18bit ICM4xxxx IMUs
control highres via HAL_INS_HIGHRES_SAMPLE
2023-10-25 19:23:11 +11:00
Andy Piper
fee43af729
AP_HAL_ChibiOS: enable highres sampling on CubeOrangePlus
2023-10-25 19:23:11 +11:00
Peter Barker
b86c5b7eea
hwdef: remove unused HAL_NO_LOGGING define from hwdefs
2023-10-25 19:17:18 +11:00
Peter Barker
28e89505fe
hwdef: remove redundant HAL_GCS_ENABLED lines
2023-10-25 19:17:18 +11:00
Rhys Mainwaring
23244eda9e
Rover: implement external control
...
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
Rover: update comment in Rover/AP_ExternalControl_Rover.h
Co-authored-by: Nick E <NExton@sypaq.com.au>
2023-10-25 10:05:08 +11:00
Rhys Mainwaring
d82f3e9591
AP_DDS: use TopicIndex enum to index topics table
...
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-10-25 10:04:14 +11:00
rishabsingh3003
221628c396
Tools: Update new rangefinders in build_options.py
2023-10-25 10:03:54 +11:00
rishabsingh3003
5db60eb9ac
AP_RangeFinder: Allow new Maxsonar I2C reading even if reading fails
2023-10-25 10:03:54 +11:00
rishabsingh3003
de61ac3055
AP_RangeFinder: Parse signal strength and status for TOFSenseFI2c
2023-10-25 10:03:54 +11:00
rishabsingh3003
9a02967e3d
AP_RangeFinder: Add NoopLoop TOFSenseF I2c driver
2023-10-25 10:03:54 +11:00
Paweł Rozenblut
1c6b4debe2
Plane: send attitude target message implementation (for quadplanes)
...
Minor modification - implementation of the send_attitude_target msg. streaming (for quadplanes). The code is analogous in its structure and functionality to the implementation in Copter
Co-Authored-By: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2023-10-25 09:53:13 +11:00
Andrew Tridgell
030dfe2fa1
SITL: use AP_BUILD_ROOT
2023-10-25 09:50:08 +11:00
Andrew Tridgell
04bbe648e6
HAL_SITL: use AP_BUILD_ROOT
2023-10-25 09:50:08 +11:00