anise
anise copied to clipboard
Support SPK Type 9 - Lagrange Unequal Time Steps
Purpose
Be able to convert a BSP file of Type 9 to an ANISE trajectory file.
SPICE organization
+--------+
| x(1) |
/ +--------+
/ | y(1) |
/ +--------+
/ | z(1) |
+-----------------------+ / +--------+
| State 1 | < |dx(1)/dt|
+-----------------------+ \ +--------+
| State 2 | \ |dy(1)/dt|
+-----------------------+ \ +--------+
. \ |dz(1)/dt|
. +--------+
.
+-----------------------+
| State N |
+-----------------------+
| Epoch 1 |
+-----------------------+
| Epoch 2 |
+-----------------------+
.
.
.
+-----------------------+
| Epoch N |
+-----------------------+
| Epoch 100 | (First directory)
+-----------------------+
.
.
.
+-----------------------+
| Epoch ((N-1)/100)*100 | (Last directory)
+-----------------------+
| Polynomial degree |
+-----------------------+
| Number of states |
+-----------------------+
Test requirements
- [ ] Find a public BSP Type 8 file
- [ ] Ensure correct parsing
- [ ] Ensure correct copying of the data
- [ ] Ensure correct computation of states