WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
EarthObservationModel.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/*
17Flat plate drag model header file
18
19Author: Alex Reynolds
20*/
21/*
22Metadata for MS GUI:
23imdata = {"exclude" : True}
24*/
25
26#ifndef MODELS_SENSORS_EARTH_OBSERVATION_MODEL_H
27#define MODELS_SENSORS_EARTH_OBSERVATION_MODEL_H
28
29#include "simulation/Model.h"
31
32namespace warptwin {
33
40 MODEL(EarthObservationModel)
41 public:
42 // Model params
43 // NAME TYPE DEFAULT VALUE
46 SIGNAL(off_nadir_mask_rad, double, 1.0)
48 SIGNAL(spacecraft_frame, Frame*, nullptr)
52 SIGNAL(planet_rotating_frame, Frame*, nullptr)
54 SIGNAL(target_lat_rad, double, 0.0)
56 SIGNAL(target_lon_rad, double, 0.0)
58
59 // Model inputs
60 // NAME TYPE DEFAULT VALUE
62
64
65 // Model outputs
66 // NAME TYPE DEFAULT VALUE
69 SIGNAL(obs_time_s, double, 0.0)
71 SIGNAL(total_visits, int, 0)
73 SIGNAL(range, double, 0.0)
75 SIGNAL(range_rate, double, 0.0)
77 SIGNAL(look_angle, double, 0.0)
79 SIGNAL(visible, bool, true)
81
82 protected:
83 int16 start() override;
84 int16 execute() override;
85
86 GroundStationModel _gs;
87
89 };
90
91}
92
93#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
Frame class definition.
Definition Frame.h:96
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
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...
bool _seen_last_step
Definition EarthObservationModel.h:88
GroundStationModel _gs
Definition EarthObservationModel.h:86