Skip to content

INA226 support for CubeOrangePlus#26101

Closed
MikeSchoderScout wants to merge 7 commits intoPX4:release/1.16from
ScoutCo:mts/ina226-support-cubeorangeplus
Closed

INA226 support for CubeOrangePlus#26101
MikeSchoderScout wants to merge 7 commits intoPX4:release/1.16from
ScoutCo:mts/ina226-support-cubeorangeplus

Conversation

@MikeSchoderScout
Copy link
Copy Markdown

  • Starts the INA226 driver based on the SENS_EN_INA226 param, now exposed
  • Fixes an issue where the BATTERY_STATUS message is incorrectly populated. MAVLINK spec and QGC expect the first cell block to contain the pack voltage if the power module does not export per-cell voltages, but this was not happening, resulting in QGC showing no battery info.
    • Note that richer battery info is available in the SYS_STATUS message (pack voltage, current, total discharge)

NickCurranScout and others added 7 commits October 9, 2025 12:58
* - Add parameters for mapping R/C autonomy consent switch
- Use R/C autonomy consent switch to trigger transmission of R/C consent debug Key/Value pair message

* - Rename to RC ESTOP switch
- Add RC ESTOP switch to manual control switches
- Move status messaging to ManualControl
- Simulate sticks moving for 2.5 seconds after RC ESTOP switch is engaged

* - Format

* - Fix newlines
- Fix issue in some compilers where constexpr std::array caused undefined reference

* - Support compilers without <array>

* - Format

* - Fix tidy issue

* - Update R/C ESTOP to override sticks with neutral deflections until real movement is detected

* - Fix logic bug

* - Fix accidental return in test

* - Formatter

* - Remove static assert

* - Satisfy the strlen police

* - No algorithm
* - Add helper script for building firmware bundles
- Fix issue where stick movement was always immediately detected upon ESTOP assertion

* - Format
* - Fix issue where the RC ESTOP message would indicate that the switch
  was disengaged once sticks were moved

* - Refactor RC ESTOP neutral sticks into state machine

* - Fix spamming R/C ESTOP override message

* - Format

* - Increase message interval

* - Tidy
@MikeSchoderScout MikeSchoderScout deleted the mts/ina226-support-cubeorangeplus branch December 12, 2025 16:49
@MikeSchoderScout MikeSchoderScout restored the mts/ina226-support-cubeorangeplus branch December 12, 2025 16:58
@MikeSchoderScout MikeSchoderScout deleted the mts/ina226-support-cubeorangeplus branch December 15, 2025 23:22
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.

2 participants