WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
LlaDeticStateInit.h
Go to the documentation of this file.
1/******************************************************************************
2* Copyright (c) ATTX INC 2025. All Rights Reserved.
3*
4* This software and associated documentation (the "Software") are the
5* proprietary and confidential information of ATTX, INC. The Software is
6* furnished under a license agreement between ATTX and the user organization
7* and may be used or copied only in accordance with the terms of the agreement.
8* Refer to 'license/attx_license.adoc' for standard license terms.
9*
10* EXPORT CONTROL NOTICE: THIS SOFTWARE MAY INCLUDE CONTENT CONTROLLED UNDER THE
11* INTERNATIONAL TRAFFIC IN ARMS REGULATIONS (ITAR) OR THE EXPORT ADMINISTRATION
12* REGULATIONS (EAR99). No part of the Software may be used, reproduced, or
13* transmitted in any form or by any means, for any purpose, without the express
14* written permission of ATTX, INC.
15******************************************************************************/
16/*
17Object state initialization from detic LLA coordinates header file
18
19Author: James Tabony
20*/
21/*
22Metadata for MS GUI:
23imdata = {"exclude" : True}
24*/
25
26#ifndef MODELS_STATES_LLA_DETIC_STATE_INIT_H
27#define MODELS_STATES_LLA_DETIC_STATE_INIT_H
28
29#include "simulation/Model.h"
30#include "frames/frameutils.h"
33
34namespace warptwin {
35
41 MODEL(LlaDeticStateInit)
42 public:
43 // Model params
44 // NAME TYPE DEFAULT VALUE
48 SIGNAL(eq_radius, double, warpos::earth_wgs84.eq_radius)
51 SIGNAL(flattening, double, warpos::earth_wgs84.flattening)
53 SIGNAL(lat, double, 0.0)
55 SIGNAL(lon, double, 0.0)
57 SIGNAL(alt, double, 0.0)
59
60 // Model inputs
61 // NAME TYPE DEFAULT VALUE
63
65
66 // Model outputs
67 // NAME TYPE DEFAULT VALUE
70 SIGNAL(pos__pcr, CartesianVector3, CartesianVector3({0.0,0.0,0.0}))
72
73 protected:
74 int16 start() override;
75
76 // Internal variable for error tracking
77 int _error;
78
79 // Internal variable for the output before dumping
81 };
82
83}
84
85#endif
#define SIGNAL(NAME, TYPE, INITIAL_VALUE)
Definition appmacros.h:27
#define START_PARAMS
Definition appmacros.h:42
#define END_OUTPUTS
Definition appmacros.h:33
#define END_PARAMS
Definition appmacros.h:47
#define START_OUTPUTS
Definition appmacros.h:28
#define END_INPUTS
Definition appmacros.h:40
#define START_INPUTS
Definition appmacros.h:35
#define CartesianVector3
Definition mathmacros.h:43
PlanetDefaults earth_wgs84
Definition planetdefaults.cpp:22
Class to propagate CR3BP dynamics in characteristic units.
Definition statistics.hpp:22
int16 start() override
Class to execute logging.
SIGNAL(_mu, double, warpos::earth_wgs84.mu)
MODEL(LlaDeticStateInit) public int _error
Model to produce position/velocity vector from a set of detic latitude, longitude,...
Definition LlaDeticStateInit.h:41
@ MODEL
Simplified dynamics model representing motion in the circular restricted 3 body problem.
Definition ImNode.h:31
CartesianVector3 _pos__pcr
Definition LlaDeticStateInit.h:80