IMS2  Pre-Alpha
An Orbiter add-on to allow on-runtime construction of spacecraft from predefined modules
IMS_Autopilot_Killrot Class Reference

Simple Killrot AP implementation. Override Orbiters stock killrot, which doesn't handle IMS vessels too well since it can't see the thrusters true capabilities. More...

Inheritance diagram for IMS_Autopilot_Killrot:
IMS_Autopilot_Base

Public Member Functions

 IMS_Autopilot_Killrot (IMS2 *vessel)
 
void PreStep (double simdt)
 Called by IMS2 every frame. Use to manage autopilot state and call operations. More...
 
- Public Member Functions inherited from IMS_Autopilot_Base
 IMS_Autopilot_Base (IMS2 *vessel)
 
virtual void SetActive (bool active)
 Engages or disengages the autopilot. More...
 

Additional Inherited Members

- Protected Attributes inherited from IMS_Autopilot_Base
bool running = false
 
IMS2 * vessel
 
map< int, IMS_AutopilotOperation_Base * > operations
 Used to store an instance of all operation this autopilot uses.
 

Detailed Description

Simple Killrot AP implementation. Override Orbiters stock killrot, which doesn't handle IMS vessels too well since it can't see the thrusters true capabilities.

Member Function Documentation

void IMS_Autopilot_Killrot::PreStep ( double  simdt)
virtual

Called by IMS2 every frame. Use to manage autopilot state and call operations.

Parameters
simdtSimtime elapsed since the last frame;

Implements IMS_Autopilot_Base.


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