nasa/fprime

GDS does not show units when telemetry formatted as struct is expanded

Open

#2827 opened on Aug 6, 2024

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C++ (9,718 stars) (1,249 forks)batch import
F´ GDSbughelp wanted

Description

F´ Version 3.4.3
Affected Component fprime-gds

Feature Description

Format strings can be specified within an FPP structure:

        struct compTlm_t {
            B1TestOvr: bool
            B1ArrV: U16 format "{} mV"
            B1ArrI: U16 format "{} mA"
            B1MpptV: U16 format "{} mV"
            B1BattI: U16 format "{} mA"

The channels view shows that format string when it is collapsed:

image

But those same units are not shown when it is expanded:

image

The units provided by a user should be shown in both views.

Rationale

Units are important no matter what view a user chooses to inspect telemetry in. Some telemetry structures can be large, and they must be expanded for quick and easy readability.

Contributor guide