Table Of Contents

Search

Enter search terms or a module, class or function name.

sensor_models module

Sensor Models module for attitude determination and control system.

This module implements models for sensor estimates in inertial coordinates that are subsequently used by the actual sensor simulation in sensors.py.

sensor_models.compute_earth_direction(r)

Estimates the direction vector to the Earth

Parameters:r (numpy ndarray) – the inertial position of the spacecraft (m)
Returns:
the direction vector to the Earth as measured by the
sensor in inertial coordinates
Return type:numpy ndarray
sensor_models.compute_local_magnetic_field(r)

Computes the local magnetic field using a simple dipole model

Parameters:r (numpy ndarray) – the inertial position of the spacecraft (m)
Returns:
the vector representing the local magnetic field
measured in inertial coordinates
Return type:numpy ndarray
Scroll To Top