STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
fsw::config::ControllerServiceConfig Struct Reference

#include <Config.hpp>

Collaboration diagram for fsw::config::ControllerServiceConfig:
[legend]

Public Attributes

uint16_t port = 9999
std::string host = "127.0.0.1"
uint32_t fire_duration_ms = 6000
uint32_t fire_extended_ms = 10000
bool sequencer_owns_valves = false
 Who drives the valves during the burn.

Detailed Description

Definition at line 55 of file Config.hpp.

Member Data Documentation

◆ fire_duration_ms

uint32_t fsw::config::ControllerServiceConfig::fire_duration_ms = 6000

Definition at line 58 of file Config.hpp.

Referenced by fsw::config::anonymous_namespace{Config.cpp}::from_table().

◆ fire_extended_ms

uint32_t fsw::config::ControllerServiceConfig::fire_extended_ms = 10000

Definition at line 59 of file Config.hpp.

Referenced by fsw::config::anonymous_namespace{Config.cpp}::from_table().

◆ host

std::string fsw::config::ControllerServiceConfig::host = "127.0.0.1"

◆ port

◆ sequencer_owns_valves

bool fsw::config::ControllerServiceConfig::sequencer_owns_valves = false

Who drives the valves during the burn.

Default false keeps the historical split, where the sequencer hands PWM roles to controller_service and tells it when the gate opens.

true means the sequencer owns them outright: it never sends FIRE_START, and the controller refuses to run its PWM gate at all. A rig with no PWM press valves wants this — otherwise the controller looks for roles it cannot find and, historically, fell back to hardcoded channel numbers that belonged to entirely different valves.

Definition at line 69 of file Config.hpp.

Referenced by fsw::config::anonymous_namespace{Config.cpp}::from_table().


The documentation for this struct was generated from the following file:
  • daq-server/diablo_server/lib/include/config/Config.hpp