nasa/fprime

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

已关闭

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

 (1 条评论) (0 个反应) (0 位负责人)C++ (1,249 个派生)batch import
F´ GDSbughelp wanted

仓库指标

星标
 (9,718 个星标)
PR 合并指标
 (平均合并 5天 15小时) (30 天内合并 65 个 PR)

描述

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.

贡献者指南