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

Add documentation about raw vs normal values for parsed parameters #106

Conversation

medley56
Copy link
Owner

@medley56 medley56 commented Oct 9, 2024

Add support for float and string encoded enumerated lookups

Checklist

  • Changes are fully implemented without dangling issues or TODO items
  • Deprecated/superseded code is removed or marked with deprecation warning
  • Current dependencies have been properly specified and old dependencies removed
  • New code/functionality has accompanying tests and any old tests have been updated to match any new assumptions
  • The changelog.md has been updated

@medley56 medley56 self-assigned this Oct 9, 2024
@medley56 medley56 linked an issue Oct 9, 2024 that may be closed by this pull request
@medley56 medley56 force-pushed the 87-add-documentation-regarding-raw_packet_data-raw_value-and-value branch from ba02b71 to 445bc50 Compare October 10, 2024 00:00
Copy link
Collaborator

@greglucas greglucas left a comment

Choose a reason for hiding this comment

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

The code all looks good to me. A minor suggestion on docs.

As a side note, I would be amazed if someone in flight software wanted an enumerated float lookup, that seems very fragile... I can just imagine some floating point errors creeping into an exact lookup like that!

docs/source/users.md Outdated Show resolved Hide resolved
docs/source/users.md Show resolved Hide resolved
@medley56
Copy link
Owner Author

I totally agree about the float encoded enum. It's an absolutely terrible idea because of the imprecise storage of float values but XTCE allows it so I want to support it but document that it's a terrible idea 😆

Add example documentation for each parameter type
Add support for float and string encoded enumerated lookups
@medley56 medley56 force-pushed the 87-add-documentation-regarding-raw_packet_data-raw_value-and-value branch from 445bc50 to 2d775fb Compare October 10, 2024 20:53
@medley56 medley56 merged commit 502159d into main Oct 10, 2024
18 checks passed
@medley56 medley56 deleted the 87-add-documentation-regarding-raw_packet_data-raw_value-and-value branch October 10, 2024 21:21
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.

Add Documentation Regarding raw_packet_data, raw_value, and value
2 participants