Skip to content

Add common source of 3D velocity#11627

Closed
breadoven wants to merge 295 commits into
iNavFlight:release/9.1from
breadoven:abo_3Dvel_update
Closed

Add common source of 3D velocity#11627
breadoven wants to merge 295 commits into
iNavFlight:release/9.1from
breadoven:abo_3Dvel_update

Conversation

@breadoven
Copy link
Copy Markdown
Collaborator

Use a common source of 3D velocity.

daijoubu and others added 30 commits February 5, 2026 19:43
… the MATEKF765SE. Allocate memory for the bxCan write and read messages.
…dle to the CAN instance to avoid a dangling pointer.
…fer and the task reads from the ring buffer.

Fix missing include for math.h
Expand dronecan_messages_unittest.cc from 5 to 14 tests covering
NodeStatus, Fix v1, Auxiliary, boundary values, and data type
verification. Create canard_unittest.cc with 30 tests for the
libcanard core: init/node ID, memory pool, CRC-16/CCITT, float16
conversion, transfer ID logic, DLC conversion, single/multi-frame
TX, RX frame processing, and pool statistics.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The BatteryInfo message already contains current data which was being
stored in dronecanBattSensorGetAmperage(), but this wasn't integrated
with INAV's battery metering system.

Changes:
- Add CURRENT_SENSOR_CAN enum value in battery_config_structs.h
- Add case handler in battery.c to read current from DroneCAN
- Update settings.yaml to expose CAN option for current_meter_type

Users can now select 'CAN' as the current_meter_type in CLI when using
DroneCAN-compatible battery sensors.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Create docs/DroneCAN.md with comprehensive guide covering:
  - Supported features (GPS, battery voltage/current)
  - Configuration settings
  - Hardware setup and wiring
  - Troubleshooting guide
  - Message type reference
- Update docs/Battery.md current_meter_type table to include all
  sensor types (ESC, SMARTPORT, CAN) and link to DroneCAN docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
daijoubu and others added 19 commits May 29, 2026 20:36
…mic-m-divider

fix: make PLL2M dynamic to keep VCO=800MHz for any HSE frequency (closes iNavFlight#11594)
Fix: Prioritize Airspeed over GPS for turn acceleration compensation
…2688-devhw

Fix ICM42688 bus device hardware type on GEPRC targets
…x_fixed_value

VTOL.md: Rename smix max fixed value
* Add new target: AEDROXH7 (Airbot Systems AEDROX H7)

STM32H743 flight controller with ICM42688P gyro, W25N01G NAND flash,
DPS310 baro, MAX7456 analog OSD, HD OSD via MSP DisplayPort, and
8 motor outputs split across TIM1 and TIM8.

SPI3 MOSI on PB2 requires explicit GPIO_AF7_SPI3 override.
Magnetometer enabled on I2C1 (hardware present, not in BF config).

* AEDROXH7: replace UART4 with DroneCAN on PD0/PD1

PD0/PD1 connect to the CAN transceiver (CANL/CANH pads visible on
board), not to a user-accessible UART4 header. Replace UART4 with
USE_DRONECAN defines. CAN standby pin TBD pending INAV syntax
confirmation.

* AEDROXH7: add CAN1_STANDBY PD3 (not yet tested)

* CI: re-trigger build to pick up fc_msp.c sign-compare fix in maintenance-9.x
…nance-10.x

Removes the DroneCAN DSDLC library (lib/main/Dronecan -- entirely new in 10.x)
and reverts STM32F4/F7/H7 HAL libraries to their maintenance-9.x versions.
932 files. No post-merge commits touched lib/ -- this is a clean mechanical revert.
Reverts 319 STM32CubeF7 SDK extraction files introduced by the accidental
maintenance-10.x merge. No post-merge commits touched this directory --
this is a clean mechanical revert.
This reverts commit 10343b4, reversing
changes made to bb61218.
…-merge

Revert accidental merge of maintenance-10.x into maintenance-9.x
Removed redundant phrases and clarified manufacturer information.
…e-ordering-stdperiph

drivers: fix DMA request disable ordering in timer IRQ handlers and stop functions
Add support for XTX XT25F128F nor flash chip
…WINGMINI

Add FlyingRC F4Wing Mini target updates
@qodo-code-review
Copy link
Copy Markdown
Contributor

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@breadoven breadoven changed the base branch from maintenance-9.x to release/9.1 June 6, 2026 09:39
@breadoven breadoven changed the base branch from release/9.1 to maintenance-10.x June 6, 2026 09:41
@breadoven breadoven closed this Jun 6, 2026
@breadoven breadoven reopened this Jun 6, 2026
@qodo-code-review
Copy link
Copy Markdown
Contributor

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@breadoven breadoven changed the base branch from maintenance-10.x to release/9.1 June 6, 2026 09:46
@breadoven breadoven closed this Jun 6, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 6, 2026

Test firmware build ready — commit e0ae485

Download firmware for PR #11627

238 targets built. Find your board's .hex file by name on that page (e.g. MATEKF405SE.hex). Files are individually downloadable — no GitHub login required.

Development build for testing only. Use Full Chip Erase when flashing.

@breadoven breadoven deleted the abo_3Dvel_update branch June 6, 2026 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.