WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
DirectionalAdaptiveGuidance.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/*
17Directional Adaptive Guidance task header file
18
19Author: Alex Reynolds
20*/
21/*
22Metadata for MS GUI:
23imdata = {"exclude" : True}
24*/
25
26#ifndef DIRECTIONAL_ADAPTIVE_GUIDANCE_H
27#define DIRECTIONAL_ADAPTIVE_GUIDANCE_H
28
29#include "simulation/Model.h"
32
33namespace warptwin {
34
56 MODEL(DirectionalAdaptiveGuidance)
57 public:
58 // Model params
59 // NAME TYPE DEFAULT VALUE
63 SIGNAL(mu, double, warpos::earth_wgs84.mu)
65 SIGNAL(a_weight, double, 0.0)
67 SIGNAL(e_weight, double, 0.0)
69 SIGNAL(i_weight, double, 0.0)
71 SIGNAL(RAAN_weight, double, 0.0)
73
74 // Model inputs
75 // NAME TYPE DEFAULT VALUE
78 SIGNAL(thrust_force, double, 1.0)
80 SIGNAL(a_target, double, 0.0)
82 SIGNAL(e_target, double, 0.0)
84 SIGNAL(i_target, double, 0.0)
86 SIGNAL(RAAN_target, double, 0.0)
88 SIGNAL(pos_pci, CartesianVector3, CartesianVector3({0.0, 0.0, 0.0}))
90 SIGNAL(vel_pci, CartesianVector3, CartesianVector3({0.0, 0.0, 0.0}))
92
93 // Model outputs
94 // NAME TYPE DEFAULT VALUE
97 SIGNAL(accel_pnt_pci, CartesianVector3, CartesianVector3({0.0, 0.0, 0.0}))
99
100 protected:
101 int16 execute();
102
108 };
109
110}
111
112#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
SIGNAL(_mu, double, warpos::earth_wgs84.mu)
MODEL(DirectionalAdaptiveGuidance) public CartesianVector3 _calcForceRswFromAlphaBeta(double alpha, double beta)
Weighted Directional Adaptive Guidance for Low Thrust Maneuvering.
Definition DirectionalAdaptiveGuidance.cpp:126
@ MODEL
Simplified dynamics model representing motion in the circular restricted 3 body problem.
Definition ImNode.h:31
int16 execute() override
Function to check monitor input conditions and set trigger flag accordingly. Should be implemented in...
double alpha[9]
Definition nrlmsise-00.cpp:77