2
3
4
5
6
7
8
9
10
11
12
13
14
15
22#include "core/macros.h"
23#include "core/CartesianVector.hpp"
24#include "six_dof_dynamics/DCM.hpp"
25#include "six_dof_dynamics/Frame.hpp"
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
56 void loadKernels(std::vector<std::string> kernel_list);
105 std::vector<std::string> _spice_bodies;
108 std::string _central_body;
111 bool _manual_set =
false;
114 bool _kernels_loaded =
false;
117 double _tmp_state[6];
119 double _tmp_dbl[3][3];
123 double _ftmtrx[6][6];
The Spice Manager is a single class instance to manage spice frames and return SPICE states.
Definition spiceutils.h:49
void setCentralBody(const std::string ¢ral_body)
Function to set the central body in the SPICE manager.
Definition spiceutils.cpp:87
clockwerk::DCM< double > getSpiceAttitude(const std::string &body_name, double tdb_time)
Function to return the attitude of a SPICE body relative to central body.
Definition spiceutils.cpp:111
void loadKernels(std::vector< std::string > kernel_list)
A function to load in a list of SPICE kernels.
Definition spiceutils.cpp:29
double getGravitationalParameter(const std::string &body_name)
Function to return the gravitational parameter for a SPICE body.
Definition spiceutils.cpp:92
std::string centralBody()
Function to output the current central body.
Definition spiceutils.h:73
clockwerk::CartesianVector< double, 3 > getSpicePosition(const std::string &body_name, double tdb_time)
Function to return the position of a SPICE body relative to central body.
Definition spiceutils.cpp:99
clockwerk::CartesianVector< double, 3 > getSpiceAngularVelocity(const std::string &body_name, double tdb_time)
Function to return the angular velocity of a SPICE body relative to central body.
Definition spiceutils.cpp:126
void registerSpiceBody(const std::string &body_name)
Function to register a spice body with the spice manager.
Definition spiceutils.cpp:43
std::string getBodyFrameName(const std::string &body_name)
Get the frame name associated with a body.
Definition spiceutils.cpp:70
clockwerk::CartesianVector< double, 3 > getSpiceVelocity(const std::string &body_name, double tdb_time)
Function to return the velocity of a SPICE body relative to central body.
Definition spiceutils.cpp:105
#define CartesianVector3D
Definition macros.h:54
#define DCMD
Definition macros.h:70
Class to propagate CR3BP dynamics in characteristic units.
Definition ConfigurationWriter.cpp:18
void loadKernel(std::string kernel)
A function to load in a sinle spice kernel.
Definition spiceutils.cpp:25