Test Pattern Setup with a Host
Setup
Add the following models to your targets list as air targets
- COMMON/RELEASE/V1/DB/DB_MOVING_MODELS/TESTPATTERNS/CONTRAST/CONTRAST_SPHERE/CONTRAST_SPHERE_5DEG.hie
- custom/MODELS/SURFACE_HIGHLIGHT_BRIGHTNESS/SURFACE_HIGHLIGHT_BRIGHTNESS.hie (in progress)
- custom/MODELS/SURFACE_HIGHLIGHT_BRIGHTNESS/SURFACE_CONTRAST_RATIO.hie (in progress)
- COMMON/RELEASE/V1/DB/DB_MOVING_MODELS/TESTPATTERNS/MISC/LARGE_BLACK_SPHERE/LARGE_BLACK_SPHERE.hie (need to provide)
- COMMON/RELEASE/V1/DB/DB_MOVING_MODELS/TESTPATTERNS/MISC/LIGHT_POINT_CONTRAST_40X40X4DEG/LIGHT_POINT_CONTRAST_40X40X4DEG_NO_BKGND.hie (need to provide)
- COMMON/RELEASE/V1/DB/DB_MOVING_MODELS/TESTPATTERNS/MISC/LIGHT_POINT_SIZE_48X4DEG/LIGHT_POINT_SIZE_48X4DEG_NO_BKGND.hie (need to provide)
- COMMON/RELEASE/V1/DB/DB_MOVING_MODELS/TESTPATTERNS/RESOLUTION/SMEAR/SMEAR.hie
Continuous FOV
Add the CONTRAST_SPHERE_5DEG.hie pattern and parent it to the ownship using Parent Entity ID 6001. Offset should be 0,0,0.
Light Point Size
Add the LARGE_BLACK_SPHERE.hie pattern to provide a base black background. It is advised to position the ownship eyepoint > 1000 feet in the air.
Add the LIGHT_POINT_SIZE_48X4DEG.hie pattern and parent it to the ownship using Parent Entity ID 6001.
Adjust pitch and heading of the pattern to center it on a channel.
Calculate the X, Y, and Z offset based on the desired range. 0 meters puts the pattern at 100 meters and 4 degrees
void testPatternWidget::sphericalToCartesian(double range, double heading, double pitch, double roll)
{
// get the radian values for _rho, _phi, and _theta
_rho = range;
_phi = (M_PI / 180.0) * (90.0 - pitch);
_theta = (M_PI / 180.0) * (90.0 - heading);
// convert the spherical radian values to Cartesian meter values
_x = _rho * sin(_phi) * cos(_theta);
_y = _rho * sin(_phi) * sin(_theta);
_z = _rho * cos(_phi);
// get heading, pitch, and roll so the pattern acts as a billboard
_h = (180.0 - (_theta * (180.0 / M_PI) + 90.0)) * -1;
_p = 180.0 - (_phi * (180.0 / M_PI) + 90.0);
_r = roll;
}
Repeat for the additional channels.
Light Point Contrast Ratio
Add the LARGE_BLACK_SPHERE.hie pattern to provide a base black background. It is advised to position the ownship eyepoint > 1000 feet in the air.
Add the LIGHT_POINT_SIZE_48X4DEG.hie pattern and parent it to the ownship using Parent Entity ID 6001.
Adjust pitch and heading of the pattern to center it on a channel.
Calculate the X, Y, and Z offset based on the desired range. 0 meters puts the pattern at 100 meters and 4 degrees. See code above.
Repeat for the additional channels.
Smear
Add the SMEAR.hie pattern and parent it to the ownship using Parent ID 6001.
Move the pattern across the screen with the pitch and yaw values. mova_hv[x].position.orient.yaw, mova_hv[x].orient.pitch
Surface Highlight Brightness
Will create a static pattern with boxes based on channel orientation sent by Geoff.
Add the SURFACE_HIGHLIGHT_BRIGHTNESS_TH73_L7.hie pattern and parent it to the ownship using Parent Entity ID 6001. Offset should be 0,0,0.
Surface Contrast Ratio
Will create a static pattern with boxes based on channel orientation sent by Geoff.
Add the SURFACE_CONTRAST_RATIO_TH73_L7.hie pattern and parent it to the ownship using Parent Entity ID 6001. Offset should be 0,0,0.