nasa/fprime

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

Open

#2,827 创建于 2024年8月6日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)C++ (9,718 star) (1,249 fork)batch import
F´ GDSbughelp wanted

描述

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.

贡献者指南

GDS does not show units when telemetry formatted as struct is expanded · nasa/fprime#2827 | Good First Issue