mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 15:09:19 +02:00
vigilance system fixes
This commit is contained in:
@@ -579,6 +579,7 @@ class TSecuritySystem
|
||||
double press_timer = 0.0;
|
||||
|
||||
double velocity = 0.0;
|
||||
bool power = false;
|
||||
|
||||
double AwareDelay = 30.0;
|
||||
double AwareMinSpeed = 0.0;
|
||||
@@ -591,7 +592,7 @@ public:
|
||||
void acknowledge_press();
|
||||
void acknowledge_release();
|
||||
void cabsignal_reset();
|
||||
void update(double dt, double Vel);
|
||||
void update(double dt, double Vel, bool pwr);
|
||||
void set_cabsignal();
|
||||
bool is_blinking() const;
|
||||
bool is_vigilance_blinking() const;
|
||||
|
||||
Reference in New Issue
Block a user