Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ardupilot: added MCU_STATUS message #224

Merged
merged 1 commit into from
Aug 24, 2021
Merged

ardupilot: added MCU_STATUS message #224

merged 1 commit into from
Aug 24, 2021

Conversation

tridge
Copy link
Collaborator

@tridge tridge commented Aug 23, 2021

used for H7 MCU monitoring. MCU temperature is useful for overheating, and the voltage range gives us an idea of how stable the power supply is

Comment on lines 1742 to 1745
<field type="uint16_t" name="MCU_temperature" units="cdegC">MCU Internal temperature</field>
<field type="uint16_t" name="MCU_voltage" units="mV">MCU voltage</field>
<field type="uint16_t" name="MCU_voltage_min" units="mV">MCU voltage minimum</field>
<field type="uint16_t" name="MCU_voltage_max" units="mV">MCU voltage maximum</field>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MCU_ and MCU seem a touch redundant here.

Copy link
Collaborator Author

@tridge tridge Aug 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, we could also monitor the supply voltage in the future, the description does need to be specific. The MCU is capable of monitoring different voltage types

<field type="uint8_t" name="id" instance="true">MCU instance</field>
<field type="uint16_t" name="MCU_temperature" units="cdegC">MCU Internal temperature</field>
<field type="uint16_t" name="MCU_voltage" units="mV">MCU voltage</field>
<field type="uint16_t" name="MCU_voltage_min" units="mV">MCU voltage minimum</field>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<field type="uint16_t" name="MCU_voltage_min" units="mV">MCU voltage minimum</field>
<field type="uint16_t" name="MCU_voltage_min" units="mV">Minimum voltage measured</field>

@tridge
Copy link
Collaborator Author

tridge commented Aug 23, 2021

need to change temperature to signed

Copy link

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go after making temperature signed

used for H7 MCU monitoring
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.

3 participants