simonsobs / socs

Simons Observatory specific OCS agents.
BSD 2-Clause "Simplified" License
12 stars 12 forks source link

Backwards compatibility and packet drop counters #647

Open jlashner opened 3 months ago

jlashner commented 3 months ago

This PR is built on top of @ykyohei's branch to add packet drop book-keeping to the HWP encoder agent. The purpose of this is to add encoder packet versioning to remove tight coupling requirements between socs and sobonelib. Additionally, some changes were made to the way dropped packets were counted in order to get it to work on my test setup.

These changes correspond to this commit in the sobonelib branch: https://github.com/simonsobs/sobonelib/commit/aeb7e8523b2851e2de3b187ab770dfb936b1a01a

Description

This PR does makes the following changes:

Motivation and Context

This was required for getting packet drop testing working on my local beaglebone setup. Backwards compatibility stuff is so that we don't accidentally break other HWP systems on socs update.

How Has This Been Tested?

This has been tested on my local beaglebone with a fixed "HWP frequency"