- added debug switch FS_DEBUG. With FS_DEBUG
- learn and eval Fs statistics - extra Gui element - lower Sample rate - try to detect replay mode - changes to FSM control git-svn-id: http://moon:8086/svn/software/trunk/projects/FsTrack@188 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
+13
-5
@@ -10,9 +10,18 @@
|
||||
|
||||
struct FlightData
|
||||
{
|
||||
enum State
|
||||
{
|
||||
STATE_INVALID = 0,
|
||||
STATE_STOPPED,
|
||||
STATE_PAUSED,
|
||||
STATE_ACTIVE,
|
||||
};
|
||||
|
||||
FlightData() {}
|
||||
~FlightData() {}
|
||||
bool isFsReady, isFsDialog, isPaused, isParked, isOnGround, isReplay;
|
||||
State state;
|
||||
bool isReady, isPaused, isParked, isOnGround;
|
||||
unsigned long timeZulu;
|
||||
double lat, lon, alt_meter, alt_feet, gl_meter, bank_deg, pitch_deg, hdgTrue_deg, hdgMag_deg, gs_meterPerSec, gs_knots, tas_knots, ias_knots, bpa_knots, vs_feetPerMin, magVar_deg;
|
||||
double framerate;
|
||||
@@ -24,15 +33,14 @@ struct FlightData
|
||||
char atcFlightIDStr[12];
|
||||
char atcAirlineStr[24];
|
||||
char atcAircraftTypeStr[24];
|
||||
|
||||
|
||||
const FlightData& operator=(const FlightData &rhs)
|
||||
{
|
||||
isFsReady = rhs.isFsReady;
|
||||
isFsDialog = rhs.isFsDialog;
|
||||
state = rhs.state;
|
||||
isReady = rhs.isReady;
|
||||
isPaused = rhs.isPaused;
|
||||
isParked = rhs.isParked;
|
||||
isOnGround = rhs.isOnGround;
|
||||
isReplay = rhs.isReplay;
|
||||
lat = rhs.lat;
|
||||
lon = rhs.lon;
|
||||
alt_meter = rhs.alt_meter;
|
||||
|
||||
Reference in New Issue
Block a user