mahima-yoga
fa168c4d4f
address review comments
2025-05-21 16:08:27 +02:00
mahima-yoga
d44991f33a
batteryCheck: change log level to 'warning' for low and critical battery.
2025-05-21 16:08:27 +02:00
mahima-yoga
0b3b5d9450
framework: only log "Failsafe activated" when failsafe action =! Warn.
2025-05-21 16:08:27 +02:00
Matthias Grob
30df381f0e
multicopter_autonomous_params: adjust yaw acceleration and maximum rate for exclusive use with HeadingSmoothing
2025-05-21 13:25:46 +02:00
Matthias Grob
a8f5b6dc1b
FlightTaskOrbit: also use HeadingSmoothing to avoid steps during the approach
2025-05-21 13:25:46 +02:00
Matthias Grob
70ad2e6fe5
FlightTaskAuto: Smooth yaw follow-up, bring back necessary previous yaw setpoint and reset smoothing when yaw is not locked
2025-05-21 13:25:46 +02:00
Dawid Rudy
508dc030b8
Smooth yaw by limiting acceleration
2025-05-21 13:25:46 +02:00
Matthias Grob
0b3fc0a62d
SIH: add Hexacopter X
...
to enable easy simulation of a motor failure.
2025-05-20 13:23:08 +02:00
Hamish Willee
c2f872c558
docs: put RC modules into their own category ( #24847 )
2025-05-20 07:34:20 +02:00
Michael Smith
0f2012ba06
MSP_OSD Update: Add original battery status msg. ( #24872 )
...
Co-authored-by: Michael <mfs3ee@gmail.com >
2025-05-19 16:01:02 -08:00
Li-Tianming
815a339684
MSP_OSD code changes to support OpenIPC, DJI O3/O4 OSD rendering ( #24695 )
...
* Change MSP_OSD message content and rendering process
* Finish MSP_OSD battery message construct
* Finish MSP_OSD `display message` construct
HOL|DSAM|N
* Finish MSP_FC_VARIANT(0x02) message
BTFL
* Finish MSP_OSD RSSI message
📶 10%
* Finish MSP_OSD GPS message
🛰 10
🌐 000.000000
🌐 00.000000
* Finish MSP_OSD PITCH ROLL message
🔃 -10.5
🔁 13.2
* Change struct filed name
* Change OSD message postion
* Finish MSP_OSD PITCH Altitude message
🔝 15.2
* Finish MSP_OSD distanceToHome message
🏠 5000
* Add Hide/Show option for ALT and homeDist
* Format the code by `make format`
* Clean up stray text
* Remove other commented out dead code
* Change `sprintf()` to `snprintf()`
* Add msg field comment in `display_message` construct
* Init str buffer to 0, Change refresh rate back to 100ms
* Explicit conversion float to double
---------
Co-authored-by: Li.Tianming <Li.Tianming@example.com >
Co-authored-by: Li.Tianming <Li.Tianming>
2025-05-16 11:33:40 -08:00
Vincent Poon
5a76868cff
Change INA238_SHUNT Default Value for Consistency
...
Change INA238_SHUNT Default Value from 0.0003 to 0.0005 for Consistency with INA226 & INA228.
2025-05-15 11:04:21 +12:00
Hamish Willee
fa2b8cbd49
RC driver config Kconfig -typo ( #24848 )
2025-05-14 10:10:44 -08:00
Julian Oes
bf9167da50
ina238: actually run it
...
Without this the driver would not run when started from the
i2c_launcher.
2025-05-14 07:34:02 -07:00
Julian Oes
abf903a851
ina2xx: params require reboot
2025-05-14 07:34:02 -07:00
Julian Oes
117f198891
ina228/ina238: correctly set ADC range
...
It turns out that we set the ADC range incorrectly leading to the
measured current being capped at a certain level as the ADC on the
sensor saturates.
Instead, we need to set the range according to the formula given in the
interface datasheet.
2025-05-14 07:34:02 -07:00
Jacob Dahl
7ac85d8f99
adis16507: enhance driver to handle and recover from all failure modes ( #24691 )
...
* adis16507: enhance driver to handle and recover from all failure modes
- Clean up driver
- Add optional hardware reset
- Fix scale and range for 125 deg/s variant
- Handle communication errors when read returns zeroes
- Improved perf counters
* change prints to PX4_DEBUG, define BURST_READ_CMD, do both soft and hard reset, use ScheduleNow instead of 1ms delay, change read/write stall period to SPI_STALL value
2025-05-13 09:42:19 -06:00
chfriedrich98
ce9dd237a9
rover: handle invalid bearing setpoint
2025-05-13 10:23:35 +02:00
chfriedrich98
1857920a5f
rover: clean up velocity setpoint
2025-05-13 10:23:35 +02:00
chfriedrich98
b727ce86a0
rover: clean up speed terminology
2025-05-13 10:23:35 +02:00
Jacob Dahl
1d5e58b948
mavlink: set system clock from SYSTEM_TIME ( #24807 )
...
* mavlink: set system clock from SYSTEM_TIME message if behind by more than 60 seconds
2025-05-12 16:11:16 -08:00
Ramon Roche
688e6aafae
ci: introduce px4-dev container with multi arch support ( #24022 )
2025-05-07 12:12:27 -04:00
chfriedrich98
2d23fda77d
rtl_direct: fix function naming
2025-05-07 17:42:07 +02:00
chfriedrich98
4e436cc64e
rover: update land detector
2025-05-07 17:42:07 +02:00
chfriedrich98
771d09b968
navigator: reset next WP in mission fast reverse
2025-05-07 17:42:07 +02:00
chfriedrich98
b78b063fd8
rover: skip to LAND on direct RTL activation
2025-05-07 17:42:07 +02:00
chfriedrich98
f13f9b2240
rover: update rtl time estimator
2025-05-07 17:42:07 +02:00
Matthias Grob
87db286a88
pps_capture_params: clarify description ( #24641 )
2025-05-07 11:15:20 +10:00
bresch
6b8bf80423
ekf2-mag: never skip post-takeoff mag yaw reset
2025-05-06 11:24:31 -04:00
chfriedrich98
4e17c5496c
mecanum: streamline flow of information
2025-05-05 11:38:17 +02:00
chfriedrich98
04512ee91f
mecanum: separate velocity control
2025-05-05 11:38:17 +02:00
Julian Oes
3c39095271
[Sponsored by Holybro] Support for Kakute H743-Wing ( #24669 )
...
* hrt: Fix PPM input on channel 2
The CCMR1_PPM define for PPM input on channel 2 was incorrectly set to 2,
which was setting bits for channel 1 instead of channel 2. This prevented
PPM input from functioning properly on channel 2.
Changed CCMR1_PPM for channel 2 from 2 to (1 << 8), which correctly
configures the CC2S bits for input capture mode on TI2.
This fixes an issue noted in the existing code comment:
"FIXME! There is an interaction in the CCMR registers that prevents
using Chan 1 as the timer and chan 2 as the PPM"
Tested on STM32H743 with PPM input on PC7 (TIM8_CH2).
* rc_input: enable sharing serial and PPM pin
By setting RC_SERIAL_PORT_SHARED_PPM_PIN_GPIO_RX it is now possible to
use the same pin on the STM32 for PPM input as well as serial input.
* boards: Add support for Holybro KakuteH7-Wing
2025-05-04 14:44:11 -08:00
Jacob Dahl
2fece23c64
gz small improvements ( #24761 )
...
* gz: print version number in init, remove gst plugin spam, rename function
* fix 0 timestamp issue by waiting for clock callback before subscribing to other topics. Refactor to cleanup topic subscriptions
* format
* change gzerr to gzwarn
2025-05-04 14:41:19 -08:00
Marco Hauswirth
f0fdf0b53b
EKF2: distinguish airspeed source and use synthetic for wind
...
Enable wind-dead-reckoning with airspeed source to synthetic airspeed
2025-05-02 13:37:18 +02:00
Silvan
6d12b04bb0
VTOL: do central handling of airspeed measurement
...
- only use data from airspeed_validated topic if source is SENSOR
- add 1s timeout (set to NAN if older)
- use FW_USE_AIRSPD consitently (treat the same as CAS=NAN)
Signed-off-by: Silvan <silvan@auterion.com >
2025-05-02 13:37:18 +02:00
Silvan
f7bb5d13f7
At every consumation of AirspeedValidated, check for SOURCE
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-05-02 13:37:18 +02:00
Marco Hauswirth
5842c991ec
AirspeedSelector: add synthetic airspeed option
...
Synthetic airspeed is calculated based on the thrust setpoint
and the thrust<->airpseed model as configured in the parameters.
2025-05-02 13:37:18 +02:00
Marco Hauswirth
c3c863ad95
AirspeedSelector: clean up in preparation of synthetic airspeed
2025-05-02 13:37:18 +02:00
bresch
e7250bc8d5
ekf2: do not let mag heading and declination update xy gyro biases
...
This can destabilize the tilt estimate when the mag field is disturbed
2025-05-02 10:23:43 +02:00
bresch
a40377e544
ekf2: always update IMU filters
2025-05-02 10:23:43 +02:00
bresch
6a105bcbdb
ekf2-grav: accelerate tilt alignment
2025-05-02 10:23:43 +02:00
bresch
c59101e8ed
ekf2-gravity: do not estimate accel bias when gravity fusion is active
...
Gravity fusion uses the bias corrected accelerometer data to correct the
tilt estimate. We should not continue to estimate the accel bias when
this is active as it creates an unwanted feedback loop.
2025-05-02 10:23:43 +02:00
bresch
ee30b70a3c
ekf2-gravity: start based on accel LPF instead of peak hold
...
This prevent rapid switching in presence of noise and the innovation
filter is good at rejecting spikes
2025-05-02 10:23:43 +02:00
bresch
6ec6f1b297
ekf2-decl: do not always update tilt
2025-05-02 10:23:43 +02:00
Daniel Agar
38d67f5a93
drivers/ins/vectornav: bump cmake minimum to 3.5
2025-04-30 18:12:33 -04:00
chfriedrich98
39fa8b5550
differential: migrate state machine to velocity control
2025-04-29 14:49:44 +02:00
chfriedrich98
16c9c175ae
differential: streamline flow of information
2025-04-29 14:49:44 +02:00
chfriedrich98
0ab9071606
differential: seperate velocity control
2025-04-29 14:49:44 +02:00
bresch
b5f011a31f
cal: transpose rotation instead of computing inverse
...
This is equivalent for an orthonormal matrix
2025-04-29 10:26:51 +02:00
Silvan Fuhrer
03c7e7aa08
FW Rate Controller: scale static trim offsets with airspeed
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-04-28 13:34:04 +02:00