-
Notifications
You must be signed in to change notification settings - Fork 0
Envision implementing unit tests for the phantom camera #4
Description
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:
- info.sensor
- info.snsversion
- info.cfa
- info.filter
Versions and identification
- info.hwver
- info.kernel
- info.swver
- info.xver
- info.model
- info.pver
- info.sver
- info.serial
- info.name ?
Capabilities
- info.features
- info.imgformats
- info.videosystems
- info.maxcines
- info.xmax, info.ymax
- info.xinc, info.yinc
- info.winx, info.winy
- info.kernsz, info.memsz, info.cinemem
- info.mdepths
- info.expdead
- info.minexp
- info.xblock, info.yblock
- info.pixps
- info.rotps, info.fotps
- info.minfrate, info.maxrate
- info.tmodel
- info.magtp
- info.rtobyteps
- info.rtopacket, info.rtopacketovhead, info.rtofrovhead
- info.rto_channels
Color correction (non concerned)
Nothing important to check
Camera status monitoring
- info.modes
Meta stucture
- meta.name, meta.lens, meta.fstop, meta.flen, meta.comment, meta.xset
Cam structure
Contains global user-alterable settings that aren’t tied to a particular cine.
Camera Sync Options
- cam.syncing
- cam.frdelay
- cam.rtoen
- cam.rtotfr ?
- cam.membpp (see
acqmode)
Global camera options
- cam.trigpol
- cam.trigfilt
- cam.startonacq
- cam.tsformat
- cam.tcmode
- cam.master ?
- cam.apoffdis
- cam.longread
- cam.cines (see
partition) - cam.dark
- cam.mode (see info.modes and
iload)
Eth structure
This section is probably quite important as it is directly related to the network settings of the camera.
Network settings
- eth.ip
- eth.netmask
- eth.broadcast
- eth.gateway
- eth.mtu
- eth.xip (10GE connection ip)
- eth.xnetmask
- eth.xbroadcast
Video structure
General video output controls (are we concerned by this ? TODO: test these params out)
- video.system (see spec sheet for associated values)
- video.output
- video.fields
- video.widescreen
- video.genlock
- video.vfmode
On screen display control
definitely not concerned by this
Video scaling
- video.uzoom
- video.vox, video.voy
- video.vow, video.voh,
- video.vw, video.vh
Video image adjustments (TODO: check if is relevant)
- video.adj.red, video.adj.green, video.adj.blue
- video.adj.toe
- video.adj.gamma, video.adj.rgamma, video.adj.bgamma
- video.adj.gain
- video.adj.offset
- video.adj.flare
- video.adj.hue, video.adj.sat
- video.adj.rped, video.adj.gped, video.adj.bped
- video.adj.chroma, video.adj.tone
- video.adj.matrix
- video.adj.log
[...] other params, maybe not important
Irig structure
Structure containing the status of the camera timebase and range data acquisition unit. updated ~1Hz.
- irig.sec, irig.yearbegin
- irig.flags (See flags in spec sheet)
- irig.signal
- irig.gps
- irig.range
Mag (Cinemag) structure (important ?)
- mag.state
- mag.progress
- mag.protect
- mag.size
- mag.used
- mag.takes
- mag.version
- mag.id
- mag.runstop
- mag.type
defc (default cine) structure
Variables that control the camera image capture process.
- defc.res
- defc.rate
- defc.exp
- defc.edrexp
- defc.ptframes
- defc.shoff
- defc.ramp
- defc.bcount, defc.bperiod
- defc.hqenable
- defc.decimation
- defc.frcount, defc.frsize
- defc.aexpmode, defc.aexpcomp
- defc.meta.ox, defc.meta.oy, defc.meta.w, defc.meta.h, defc.meta.ow, defc.meta.oh, defc.meta.crop, defc.meta.?
Cf structure (storage device) (important ?)
See spec sheet for flag vals
- cf.state
- cf.action
- cf.size
- cf.used
- cf.progress
- cf.errrcode
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
- c#.state
- c#.frcount
- c#.firstfr, c#.lastfr
- c#.format
- c#.in, c#.out
memory allocation
- c#.start, c#.len
- c#.frsize, c#.frspace
trigger time
- c#.trigtime.secs, c#.trigtime.frac
acquisition parameters
- See
defc
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.
- c#.cam (see cam substructure for verification)
- c#.info (idem)
- c#.adj (idem)
- c#.meta.pbrate
- c#.meta.tcrate
- c#.meta.uuid, c#.meta.system
- c#.meta.system
- c#.meta.trigtc
- c#.meta.pax, c#.meta.pay
- c#.meta.paox, c#.meta.paoy
- c#.meta.ox, c#.meta.oy, c#.meta.ow, c#.meta.oh, c#.meta.w, c#.meta.h, c#.meta.crop, c#.meta.resize, c#.meta.gps ?
Usets (important ?)
Probably not important
hw (Do not touch)
Auto structure ( important ?)
- auto.flashsave
- auto.filesave
- auto.videoplay
- auto.acqrestart
- auto.bref ?
- auto.firstframe, auto.lastframe
- auto.loops
- auto.speed
- auto.progress, auto.bref_progress
- auto.trigger, auto.trigger.x, auto.trigger.y, auto.trigger.w, auto.trigger.h, auto.trigger.threshold, auto.trigger.area, auto.trigger.speed, auto.trigger.mode