Spacecraft Models Package 2.0
Spacecraft Models for DSim
Public Member Functions | Protected Attributes | List of all members
imager Class Reference

Imager model that outputs centroids. More...

#include <imager.h>

Inherits dsim_model.

Public Member Functions

 imager (dsim_model_setup *setup)
 Constructor.
 
void initialize_data ()
 Initialize outlets and output variables.
 
void initialization_complete ()
 Finish initialization.
 
void post_calculate ()
 Computation done after numerical integration.
 

Protected Attributes

dsim_variable focalLength_dsim
 Focal length.
 
dsim_variable centroid_dsim
 Centroids.
 
dsim_variable mBodyToImager_dsim
 Transformation matrix from body to imager.
 
dsim_variable positionImager_dsim
 Position of the imager.
 
dsim_variable kAberration_dsim
 Aberration corrections.
 
dsim_variable parent_position_dsim
 Parent position.
 
dsim_variable parent_velocity_dsim
 Parent velocity.
 
dsim_variable parent_quaternion_dsim
 Parent quaternion.
 
dsim_variable parent_rotational_velocity_dsim
 Parent rotational velocity.
 

Detailed Description

Imager model that outputs centroids.

Pinhole camera model. Specify the number of pixels and their size, 
which along with the focal length is used to compute the field of view.
Finds the centroids of stars, spacecraft, and planets in the camera FOV.
Models eclipses of stars by other objects.
Has effects of aberration on centroid location.
Hooks up to the SPICE gravity model, all spacecraft in simulation (targets?).
Requires three data files: star catalog, landmark catalog (for planets), and target catalog for
points on a spacecraft. Defaults are provided or these can be changed in the simulation setup.
The unit vector of the boresight is along +z.
If pointed at a calibration target will send out calibration data.

The documentation for this class was generated from the following files: