![]() |
WarpTwin
Documentation for WarpTwin models and classes.
|
#include <chrono>#include "simulation/Model.h"#include "simulation/NormalRandom.hpp"#include "schedules/TableScheduler.hpp"Go to the source code of this file.
Classes | |
| struct | warptwin::Inputs |
| struct | warptwin::Outputs |
Namespaces | |
| namespace | warptwin |
| Class to propagate CR3BP dynamics in characteristic units. | |
Functions | |
| virtual int16 | warptwin::registerApp (warpos::App &app, int16 slot) |
| Function to register apps with the table scheduler. | |
| int16 | warptwin::activate () override |
| MODEL(Servo) public int16 | warptwin::deactivate () override |
| Model to simulate a servo's motion. | |
| int16 | warptwin::start () override |
| Class to execute logging. | |
| int16 | warptwin::execute () override |
| Function to check monitor input conditions and set trigger flag accordingly. Should be implemented in derived class. | |
| int16 | warptwin::_executeScheduleStep (const clockwerk::Time &step_time) |
| Execute schedule step given current step time. | |
Variables | |
| MODEL(SimTableScheduleModel) public Params | warptwin::params = Params(this, "params") |
| Model of simulated table schedule for flight software emulation. | |
| Inputs | warptwin::inputs = Inputs(this, "inputs") |
| Outputs | warptwin::outputs = Outputs(this, "outputs") |
| std::vector< std::pair< warpos::App *, int16 > > | warptwin::_registries |
| warpos::TableScheduler< 10 > * | warptwin::_ts_10 = nullptr |
| warpos::TableScheduler< 50 > * | warptwin::_ts_50 = nullptr |
| warpos::TableScheduler< 100 > * | warptwin::_ts_100 = nullptr |
| warpos::TableScheduler< 200 > * | warptwin::_ts_200 = nullptr |
| warpos::TableScheduler< 1000 > * | warptwin::_ts_1000 = nullptr |
| clockwerk::Time | warptwin::_time_per_slot |
| clockwerk::Time | warptwin::_step_end_sys_time |
| clockwerk::Time | warptwin::_next_step_start |
| int | warptwin::_total_slots = 0 |
| std::vector< std::vector< double > > | warptwin::_timing_values_micros |
| The number of microseconds per app to run. | |
| std::vector< int > | warptwin::_schedule_mapping |
| Map schedule indices to timing vector. | |
| std::vector< warpos::App * > | warptwin::_app_record |
| Record of mapped apps. | |
| std::vector< std::string > | warptwin::_names |
| int16 | warptwin::_last_sch_step = 0 |
| bool | warptwin::_first_run = true |
| std::chrono::time_point< std::chrono::high_resolution_clock > | warptwin::_start_time |
| std::chrono::time_point< std::chrono::high_resolution_clock > | warptwin::_end_time |