47938 Commits

Author SHA1 Message Date
Jacob Dahl
6a1e609e3c kill of sensor_range_finder abstraction completely 2025-09-24 21:59:34 -08:00
Jacob Dahl
32c1364c27 simplify rotation logic, fix timeout check 2025-09-22 19:52:32 -08:00
Jacob Dahl
771d2ecf52 ecl_info to printf 2025-09-22 19:17:07 -08:00
Jacob Dahl
9833a2d864 add baro to high rate sensors 2025-09-22 19:03:29 -08:00
Jacob Dahl
d72685120c move init 2025-09-22 18:57:54 -08:00
Jacob Dahl
349bd6175c remove useless parameter EKF2_RNG_PITCH, remove sensor namespace, continue cleanup 2025-09-22 18:54:03 -08:00
Jacob Dahl
2dd864a87a update comment 2025-09-22 18:22:14 -08:00
Jacob Dahl
613a784ce2 change quality check to time based, refactor and clean up 2025-09-22 18:18:42 -08:00
Jacob Dahl
75f3768be6 add TODO 2025-09-22 17:29:20 -08:00
Jacob Dahl
b59e81fbf2 fix comment, use noise as uncertainty 2025-09-22 17:27:47 -08:00
Jacob Dahl
e2c40ee4bb revert sim changes 2025-09-22 17:26:42 -08:00
Jacob Dahl
17413fb5c0 remove notes 2025-09-22 17:24:50 -08:00
Jacob Dahl
ca3ad3d63d clean up 2025-09-22 17:23:43 -08:00
Jacob Dahl
1e12fe13d4 rename file 2025-09-22 17:06:41 -08:00
Jacob Dahl
9cfb42ec03 add back optical flow terrain fusion 2025-09-22 17:05:23 -08:00
Jacob Dahl
50d3b7e1ff fake measurement while on ground if signal quality is 0 2025-09-22 17:01:25 -08:00
Jacob Dahl
5598581c4e add meeting with ben notes 2025-09-22 16:36:38 -08:00
Jacob Dahl
ae39d6831f update gz models submodule 2025-09-22 16:36:37 -08:00
Jacob Dahl
ed4d93b9e6 reduce tilt to 10deg, fix tilt check 2025-09-22 16:36:15 -08:00
Jacob Dahl
ac0b769feb decouple optical flow tilt from range tilt, always publish baro bias 2025-09-22 16:36:14 -08:00
Jacob Dahl
fbb5f220bd update comments 2025-09-22 16:35:02 -08:00
Jacob Dahl
34a643fcda update notes 2025-09-22 16:35:02 -08:00
Jacob Dahl
02eb031ab7 update variable name, fix covariances 2025-09-22 16:35:02 -08:00
Jacob Dahl
5fb3846b50 it builds 2025-09-22 16:35:02 -08:00
Jacob Dahl
878c049215 port over relevant code from other branch 2025-09-22 16:35:01 -08:00
Beat Küng
9670eb69b3 commander: use double literals to avoid implicit conversion
Fixes a CI failure for fuzzing and macos:
https://github.com/PX4/PX4-Autopilot/actions/runs/17906277709/job/50907922642

/__w/PX4-Autopilot/PX4-Autopilot/src/modules/commander/Commander.cpp:471:37: fatal error: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion]
  470 |                         bool ret = send_vehicle_command(vehicle_command_s::VEHICLE_CMD_EXTERNAL_ATTITUDE_ESTIMATE,
      |                                    ~~~~~~~~~~~~~~~~~~~~
  471 |                                                         0.f, 0.f, heading, 0.f, 0.f, 0.f, heading_accuracy);
      |                                                                                      ^~~
1 error generated.
2025-09-22 09:31:26 -07:00
Beat Küng
061f34919e ci: JasonEtco/create-an-issue needs permissions to create issues 2025-09-22 09:31:26 -07:00
Claudio Chies
b730acfc76 BOARDS: MISC: remove "auto-generated" for files which are not autogenerated anymore 2025-09-22 15:02:24 +02:00
Claudio Chies
d3acee315a BAT: Consolidate the highest feasible number of batteries into just 3 2025-09-22 15:02:24 +02:00
Claudio Chies
f90d6c03fc LOG: increase number of loggable batteries to 3 2025-09-22 15:02:24 +02:00
H S Helson Go
b081cf5c31
ucrxe_dds_client: Implement simple parameter-driven message namespace (#25444)
* ucrxe_dds_client: Implement simple parameter-driven message namespace

* chore: remove change of parameter_reference.md

Signed-off-by: Beniamino Pozzan <beniamino.pozzan@gmail.com>

---------

Signed-off-by: Beniamino Pozzan <beniamino.pozzan@gmail.com>
Co-authored-by: Beniamino Pozzan <beniamino.pozzan@gmail.com>
2025-09-20 16:32:00 +01:00
Alex Klimaj
91fa0f4693
boards: ark x20 and f9p gps (#25149)
* boards: ark x20 gps

* update startup

* fix cmake variants

* boards: ark f9p gps

* ark x20 gps add serial dma hrt call

* update gps submodule with x20 support

* update default constellations

* fix mag rotation
2025-09-19 10:06:03 -08:00
Hamish Willee
799f910ca9
uORB message layout fixes (#25581)
* uORB message layout fixes

* Apply suggestions from code review

---------

Co-authored-by: PX4BuildBot <bot@pixhawk.org>
2025-09-19 09:06:01 +10:00
bresch
c06ba93175 mc-auto: handle EKF heading reset 2025-09-18 17:00:16 +02:00
bresch
82308da18d ekf2: support heading external update from MAV_CMD_EXTERNAL_ATTITUDE_ESTIMATE 2025-09-18 17:00:16 +02:00
bresch
eba0b99950 ekf2: remove unnecessary code
The delta angles are now correctly accumulated in case
multiple resets are triggered during the same epoch
2025-09-18 17:00:16 +02:00
bresch
361d66bb44 ekf2: add reporting of gnss_vel status flag 2025-09-18 17:00:16 +02:00
Silvan Fuhrer
d2e4d85bce Add Altitude Cruise mode
-add new NAVIGATION_STATE_ALTITUDE_VOYAGER
-this mode does require manual control to enter
-but you can disable the manual control loss failsafe to continue
flying in case of manual control loss
-for MC: in throttle and yaw are controlled like in Altitude mode,
the tilt is controlled via integrated rate input (similar to Acro,
but with tilt limit)

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2025-09-18 15:50:10 +02:00
Matthias Grob
5c5bf0b83d Remove parameters MPC_{XY/Z/YAW}_MAN_EXPO and use default value instead 2025-09-18 15:50:10 +02:00
Matthias Grob
5b94557310 Sticks: change internal order and sign of stick positions 2025-09-18 15:50:10 +02:00
Matthias Grob
234e4688b0 Sticks: calculate expo only upon getter call 2025-09-18 15:50:10 +02:00
Matthias Grob
2e910fe185 FlightTask{Altitude+Orbit}: use getter for specific stick value instead of entire array 2025-09-18 15:50:10 +02:00
Matthias Grob
2bf9fce577 Sticks: globalize MPC_HOLD_DZ to MAN_DEADZONE 2025-09-18 15:50:10 +02:00
mahima-yoga
a9720cf1ef FixedWingModeManager: use Sticks library 2025-09-18 15:50:10 +02:00
mahima-yoga
a514289a68 Move Stick class into a globally available library 2025-09-18 15:50:10 +02:00
Pernilla
2cb97e79b9
FlightTaskManualAccelerationSlow: Acquire gimbal control until expected IDs are reported (#25565)
* Acquire control until expected id s are reported

* require an updated message and allow release in case early exit of FlightTask

* FlightTask Gimbal: acquiring logic simplification suggestion

* formatting

---------

Co-authored-by: Matthias Grob <maetugr@gmail.com>
2025-09-18 11:09:09 +02:00
Hamish Willee
e8ccb23dc8
PurePursuitStatus.msg - whitespace indentation (#25544) 2025-09-18 17:33:36 +10:00
Hamish Willee
dd65380bf3
Ark GNSS CAN - link to the DroneCAN docs for fixed base (#25382)
* Ark GNSS CAN - link to the DroneCAN docs for fixed base

* Update docs/en/dronecan/ark_rtk_gps.md
2025-09-17 22:58:56 -08:00
Hamish Willee
0303d36e60
RoverAttitudeSetpoint et al - whitespace (#25545)
* RoverAttitudeSetpoint - whitespace

* Format RoverAttitudeStatus.msg for consistency

* Format RoverPositionSetpoint.msg for consistency

* Format msg/RoverRateSetpoint.msg for consistency

* Format msg/RoverRateStatus.msg for consistency

* Format msg/RoverSpeedSetpoint.msg for consistency

* Reformat RoverSpeedStatus.msg for consistency

* Fix formatting of pid_yaw_rate_integral field

* Fix formatting in RoverSteeringSetpoint.msg

* Fix formatting in RoverThrottleSetpoint.msg

* Apply suggestions from code review
2025-09-18 15:59:54 +10:00
Alex Espinoza
78d602e68a
switched instructions for cloning Micro-XRCE-DDS from v2.4.2 to v2.4.3 (#25525)
* switched instructions for clodning Micro-XRCE-DDS from v2.4.2 to v2.4.3 since v2.4.2 references a bad fast-dds tag that doesnt build

* reverted uxrce instructions changes from docs/ko docs/uk and docs/zh sin
ce they are generated automatically and should not be changed manually
2025-09-17 11:57:32 +10:00