IMS2  Pre-Alpha
An Orbiter add-on to allow on-runtime construction of spacecraft from predefined modules
IMS_AutopilotOperation_Base Class Referenceabstract
Inheritance diagram for IMS_AutopilotOperation_Base:
IMS_AutopilotOperation_Killrot

Public Member Functions

 IMS_AutopilotOperation_Base (IMS2 *vessel)
 
virtual bool Process (double simdt)=0
 Controll loop that applies AP operation to vessel. More...
 

Protected Attributes

IMS2 * vessel
 
IMS_RcsManagerrcs
 

Detailed Description

Base class for autopilot operations.

Autopilot operations should be small, encapsulated programs that execute one particular task. The idea here is that all the maneuvering logic is contained in these operations, while an IMS_Autopilot is tasked with keeping track of state and invoking appropriate operations at appropriate times.

Note
Operations should be stateless! It is the job of the containing IMS_Autopilot implementation to call the Process() method on an operation when needed.

Member Function Documentation

virtual bool IMS_AutopilotOperation_Base::Process ( double  simdt)
pure virtual

Controll loop that applies AP operation to vessel.

Parameters
simdtTimestep since last frame.
Returns
True if the operation considers itself completed, false otherwise

Implemented in IMS_AutopilotOperation_Killrot.


The documentation for this class was generated from the following file: