DCode

Covers Engine 2.0.0

task_timeline

Schedule independently running DCode sequence buckets against a signed T-/T+ mission clock.

Syntax

task_timeline <name> [frequency_hz] [priority]:

Available in

  • File scope

Native C++

Unavailable in Native C++; select Lua for a file containing task_timeline.

Lifecycle

Ticks at a configurable frequency (default 10 Hz), with the same frequency and timing diagnostics as periodic tasks. Crossed buckets run once. Lifecycle sections are explicit; holds freeze the clock, pause active waits, run written hold handlers, and release timeline authority.

Runtime sections

  • clock
  • at
  • execute
  • hold
  • resume
  • stop
  • abort

Generated channels

  • <name>_running
  • <name>_hold
  • <name>_mission_time
  • <name>_effective_t0
  • <name>_clock_running
  • <name>_aborted
  • <name>_current_line
  • <name>_target_frequency
  • <name>_actual_frequency
  • <name>_timing_status
  • <name>_execution_time
  • <name>_missed_cycles
  • <name>_failed_cycles

Example

task_timeline timeline_name:
    clock:
        start: T-30m

    at T-20m (operation):
        execute:
            command |task_running| = 1