STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
ActuatorCommander.cpp File Reference
#include "control/ActuatorCommander.hpp"
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <unistd.h>
#include <algorithm>
#include <cerrno>
#include <chrono>
#include <cstring>
#include <fstream>
#include <iostream>
#include <mutex>
#include <sstream>
#include <thread>
#include <tuple>
#include "config/Config.hpp"
#include "elodin/DatabaseConfig.hpp"
#include "DiabloPacketUtils.h"
#include "comms/CommsMessage.hpp"
Include dependency graph for ActuatorCommander.cpp:

Go to the source code of this file.

Namespaces

namespace  sequencer

Typedefs

using sequencer::ActuatorCommandedMsg = comms::CommsMessage<uint64_t, uint8_t, uint8_t>

Functions

static uint8_t sequencer::actuator_elodin_low_byte (uint32_t board_id, uint8_t local_channel)
 Elodin low byte for [0x32, lo]: (board_slot - 1) * 0x20 + local_channel; slot = board_id % 10, 0 → 10.
static std::string sequencer::trimVal (const std::string &s)
static std::string sequencer::toLower (std::string s)