Open kubiak-jpl opened 6 months ago
This isn't a bug; it's in the language specification. Limits are for numeric types only. In particular, it is not clear what a low or high limit should mean for a Boolean value. Boolean values are not ordered. Consider switching the output to a numeric type if you want to define limits for it.
Maybe this a feature request then. I do think there would be value in telemetry limits for non-numeric types. I don't think of these as numeric limits so much as warnings to the GDS user that a telemetry value requires attention. In that sense it would make sense for boolean and enumeration channels to have channel limits.
Sure, we could add the feature of specifying red, orange, and yellow values (as opposed to limits) for any telemetry channel type. Can you open a discussion topic on this, to get input from others? Then we can close this issue.
Problem Description
Unable to use telemetry limits with boolean types. The
fpp-to-xml
script is unable to generate an XML file. Here is an example built from theRef
deploymentVersion 1:
Version 2:
Context / Environment
Execute
fprime-util version-check
and share the output.Also observed on
How to Reproduce
SignalGen.fpp
Ref
deployment. Observe the following errorExpected Behavior
Expect to be able to use telemetry limits with Boolean telemetry types