Skip to content

Best way to handle packets of TM of varying rates #3022

Answered by zimri-leisher
gmarchetx asked this question in Q&A
Discussion options

You must be logged in to vote

Don't mean to butt in, but if I understand your problem right, you might be able to solve this problem by using a single TlmPacketizer.

  1. Make a rate group for each telemetry rate (1 Hz, 10 Hz, 0.5 Hz, etc)
  2. Have the rate group call a Sched port on each component which has telemetry at the given rate, and have that Sched port only call tlmWrite_XYZ for each channel at that rate. For example, see BufferManager.SchedIn.
  3. Have TlmPacketizer.Run called at a frequency which is the lowest common denominator of the telemetry rates (in this case, 10 Hz)
  4. Have TlmPacketizer::PACKET_UPDATE_MODE set to PACKET_UPDATE_ON_CHANGE

This should allow you to have several different rates of telemetry coming fro…

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@timcanham
Comment options

@timcanham
Comment options

@gmarchetx
Comment options

@zimri-leisher
Comment options

Answer selected by gmarchetx
@timcanham
Comment options

@gmarchetx
Comment options

@timcanham
Comment options

@gmarchetx
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants