Spacecraft Control Framework 1.0
Spacecraft Control Library
sc_sensor.h
Go to the documentation of this file.
1/*
2 * sensor.h
3 *
4 * Programmers: Mike Paluszek
5 *
6 * Copyright 2010 Princeton Satellite Systems. All rights reserved.
7 *
8 * Aerodynamic functions.
9 */
10
17#ifndef __SC_SENSOR__
18#define __SC_SENSOR__
19
20#ifdef AS_OS_WINDOWS
21#include "matrixlib.h"
22#else
23#include <MatrixLib/MatrixLib.h>
24#endif
25
26#include "sc_constants.h"
27
28extern "C++"
29{
31 ml_matrix radar_model( const ml_matrix& x, const ml_matrix& qECIToBody, const ml_matrix& qBodyToRadar, const ml_matrix& omegaBody, const ml_matrix& rRadarBody );
33 ml_matrix quaternion_update_from_delta ( const ml_matrix& x, const ml_matrix& q );
35 ml_matrix star_measurement_nonlinear ( const ml_matrix& pixel_meas );
37 ml_matrix attitude_propagation( const ml_matrix& omega, const ml_matrix& q, double dT );
39 ml_matrix sensor_cone( const ml_matrix& cone_angle, const ml_matrix& r0, const ml_matrix& q, const ml_matrix& u, const ml_matrix& rC, double rE, double lD = 0 );
40
41}
42
43#endif
Physical and mathematical constants.
ml_matrix quaternion_update_from_delta(const ml_matrix &x, const ml_matrix &q)
Update a quaternion from a delta quaternion.
Definition: sc_sensor.cc:70
ml_matrix radar_model(const ml_matrix &x, const ml_matrix &qECIToBody, const ml_matrix &qBodyToRadar, const ml_matrix &omegaBody, const ml_matrix &rRadarBody)
A radar model that returns azimuth, elevation, range and range rate.
Definition: sc_sensor.cc:31
ml_matrix attitude_propagation(const ml_matrix &omega, const ml_matrix &q, double dT)
Propagate a quaternion.
Definition: sc_sensor.cc:111
ml_matrix star_measurement_nonlinear(const ml_matrix &pixel_meas)
Compute the h, R and delta measurements from star data.
Definition: sc_sensor.cc:89
ml_matrix sensor_cone(const ml_matrix &cone_angle, const ml_matrix &r0, const ml_matrix &q, const ml_matrix &u, const ml_matrix &rC, double rE, double lD=0)
Rays from the apex of conical shell. The first column is the apex (r0) r0 is in m by rC and rE are in...
Definition: sc_sensor.cc:181