STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
fsw::control::ControllerService::PWMConfig Struct Reference

#include <ControllerService.hpp>

Collaboration diagram for fsw::control::ControllerService::PWMConfig:
[legend]

Public Attributes

PWMTarget fuel
PWMTarget ox
uint16_t actuator_port = 5005
std::string bind_address = "0.0.0.0"
 Local address PWM commands leave from; "0.0.0.0" leaves the NIC to the kernel.
float frequency_hz = 10.0f
uint32_t duration_ms = 1000

Detailed Description

Definition at line 46 of file ControllerService.hpp.

Member Data Documentation

◆ actuator_port

uint16_t fsw::control::ControllerService::PWMConfig::actuator_port = 5005

Definition at line 49 of file ControllerService.hpp.

Referenced by main().

◆ bind_address

std::string fsw::control::ControllerService::PWMConfig::bind_address = "0.0.0.0"

Local address PWM commands leave from; "0.0.0.0" leaves the NIC to the kernel.

Resolved by the caller (see net/DaqInterface.hpp) — this is the fire path, and it must not reach the actuator board over whichever interface the route table happened to prefer.

Definition at line 54 of file ControllerService.hpp.

Referenced by main(), and combined_fsw_gui.UDPReceiver::run().

◆ duration_ms

uint32_t fsw::control::ControllerService::PWMConfig::duration_ms = 1000

Definition at line 56 of file ControllerService.hpp.

Referenced by main().

◆ frequency_hz

float fsw::control::ControllerService::PWMConfig::frequency_hz = 10.0f

Definition at line 55 of file ControllerService.hpp.

Referenced by main().

◆ fuel

PWMTarget fsw::control::ControllerService::PWMConfig::fuel

Definition at line 47 of file ControllerService.hpp.

Referenced by main().

◆ ox

PWMTarget fsw::control::ControllerService::PWMConfig::ox

Definition at line 48 of file ControllerService.hpp.

Referenced by main().


The documentation for this struct was generated from the following file: