ufo-kit / uca-phantom

A libuca plugin for the phantom high speed cameras
0 stars 0 forks source link

Envision implementing unit tests for the phantom camera #4

Open gabs1234 opened 1 year ago

gabs1234 commented 1 year ago

Test network com with phantom

TODO

Test Unit Structure members as per the PH16 spec sheet

See spec sheet for description of each member variable. More variables are listed out than needed. Before implementing these unit tests, one must first verify which variables need to be known for the general functionning of uca-phantom, which need to have a default value set and which are prone to be modified.

info structure

Sensor information:

Color correction (non concerned)

Nothing important to check

Camera status monitoring

Meta stucture

Cam structure

Contains global user-alterable settings that aren’t tied to a particular cine.

Camera Sync Options

Eth structure

This section is probably quite important as it is directly related to the network settings of the camera.

Network settings

Video structure

General video output controls (are we concerned by this ? TODO: test these params out)

Irig structure

Structure containing the status of the camera timebase and range data acquisition unit. updated ~1Hz.

Mag (Cinemag) structure (important ?)

defc (default cine) structure

Variables that control the camera image capture process.

Cf structure (storage device) (important ?)

See spec sheet for flag vals

Cine tables structure (important ?)

Array of cine structures -> used to store images and meta data (e.g timestamps). More todo in understanding how these structures are layed out in memory.

Status variables

memory allocation

trigger time

acquisition parameters

cam/info/adj/meta substructures

These copies are done at the time the cine recording ends, and reflects the meta values. in place at the time of recording.

Usets (important ?)

Probably not important

hw (Do not touch)

Auto structure ( important ?)