pincode_door 
Vars | |
airlock_bolt_state | Current airlock bolt state from update packets. If it's mismatched, we correct our state. |
---|---|
airlock_state | Current airlock state from update packets. If it's mismatched, we correct our state. |
allow_lock_open | Is this door allowed to be held open (Press * while unlocked) |
command_time | Timestamp for 4-second grace period. |
control_mode | Control Mode |
correct_pin | Pin to compare to, if null, we need to collect one. |
current_state | Current state machine state |
door_state_timeout | Get our initial airlock state within 10 seconds. |
door_timer | Door autoclose timer |
dwell_time | Airlock open duration |
expected_airlock_state | Expected airlock state |
expected_bolt_state | Expected bolt state |
fault_string | Recoverable fault string |
pin_buffer | Pin buffer |
pin_length | Pin length |
tag_request_exit | Request-Exit Button ID |
tag_slave | Slaved pad ID |
tag_target | Target airlock ID |
Procs | |
control_airlock | Send airlock control packet. Also updates expected states. |
doorstop | (if allowed) stop the timer and hold the door open. |
draw_pin_dots | Draws the pin position indicators, Cut out for cleanliness so it can be called in std_in(). |
fast_update_doortimer | Calculate the door open header, Cut out so it can safely be placed in tick() |
fault | Soft-Halt |
pin_accepted | Fired on accepting a pin, If we have a dwell time, start the timer.
skip_action - Skip action, just restart the timer. |
timer_expire | Fired upon the expiration (or manual triggering therein) of the door timer. This never gets called if the dwell time is zero. |
Var Details
airlock_bolt_state 
Current airlock bolt state from update packets. If it's mismatched, we correct our state.
airlock_state 
Current airlock state from update packets. If it's mismatched, we correct our state.
allow_lock_open 
Is this door allowed to be held open (Press * while unlocked)
command_time 
Timestamp for 4-second grace period.
control_mode 
Control Mode
correct_pin 
Pin to compare to, if null, we need to collect one.
current_state 
Current state machine state
door_state_timeout 
Get our initial airlock state within 10 seconds.
door_timer 
Door autoclose timer
dwell_time 
Airlock open duration
expected_airlock_state 
Expected airlock state
expected_bolt_state 
Expected bolt state
fault_string 
Recoverable fault string
pin_buffer 
Pin buffer
pin_length 
Pin length
tag_request_exit 
Request-Exit Button ID
tag_slave 
Slaved pad ID
tag_target 
Target airlock ID
Proc Details
control_airlock
Send airlock control packet. Also updates expected states.
doorstop
(if allowed) stop the timer and hold the door open.
draw_pin_dots
Draws the pin position indicators, Cut out for cleanliness so it can be called in std_in().
fast_update_doortimer
Calculate the door open header, Cut out so it can safely be placed in tick()
fault
Soft-Halt
pin_accepted
Fired on accepting a pin, If we have a dwell time, start the timer.
skip_action
- Skip action, just restart the timer.
timer_expire
Fired upon the expiration (or manual triggering therein) of the door timer. This never gets called if the dwell time is zero.