Daedalus Dock - Modules - TypesVar Details - Proc Details

access_door

Vars

airlock_bolt_stateCurrent airlock bolt state from update packets. If it's mismatched, we correct our state.
airlock_stateCurrent airlock state from update packets. If it's mismatched, we correct our state.
allow_lock_openIs this door allowed to be held open (Press * while unlocked)
command_timeTimestamp for 4-second grace period.
control_modeControl Mode
current_stateCurrent state machine state
door_state_timeoutGet our initial airlock state within 10 seconds.
door_timerDoor autoclose timer
dwell_timeAirlock open duration
expected_airlock_stateExpected airlock state
expected_bolt_stateExpected bolt state
fault_stringRecoverable fault string
tag_request_exitRequest-Exit Button ID
tag_slaveSlaved pad ID
tag_targetTarget airlock ID

Procs

acceptedFired on accepting a pin, If we have a dwell time, start the timer. skip_action - Skip action, just restart the timer.
control_airlockSend airlock control packet. Also updates expected states.
doorstop(if allowed) stop the timer and hold the door open.
fast_update_doortimerCalculate the door open header, Cut out so it can safely be placed in tick()
faultSoft-Halt
timer_expireFired 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

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

tag_request_exit

Request-Exit Button ID

tag_slave

Slaved pad ID

tag_target

Target airlock ID

Proc Details

accepted

Fired on accepting a pin, If we have a dwell time, start the timer. skip_action - Skip action, just restart the timer.

control_airlock

Send airlock control packet. Also updates expected states.

doorstop

(if allowed) stop the timer and hold the door open.

fast_update_doortimer

Calculate the door open header, Cut out so it can safely be placed in tick()

fault

Soft-Halt

timer_expire

Fired upon the expiration (or manual triggering therein) of the door timer. This never gets called if the dwell time is zero.