STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_ball_valve_config.cpp File Reference
#include <iostream>
#include <stdexcept>
#include <string>
#include "config/Config.hpp"
Include dependency graph for test_ball_valve_config.cpp:

Go to the source code of this file.

Functions

static void require (bool condition, const char *what)
int main ()

Variables

static const char * kConfig

Function Documentation

◆ main()

◆ require()

void require ( bool condition,
const char * what )
static

Definition at line 11 of file test_ball_valve_config.cpp.

Referenced by main().

Variable Documentation

◆ kConfig

const char* kConfig
static
Initial value:
= R"(
[boards.act_11]
type = "ACTUATOR"
board_id = 11
active_connectors = [1, 2]
[boards.ball_valve_board]
type = "BALL_VALVE"
board_id = 71
ip = "192.168.2.71"
active_connectors = [1]
[actuator_roles]
"Ball Valve NC" = ["NC", 1, 71]
"Ball Valve NO" = ["NO", 1, 71]
"Actuator NO" = ["NO", 2, 11]
"Actuator NC" = ["NC", 1, 11]
)"

Definition at line 16 of file test_ball_valve_config.cpp.