2#include "../../../../tests/catch2/catch.hpp"
3#include "../generated/logCodes.hpp"
4#include "../types/ttmmod_params.hpp"
5#include "../types/generated/ttmmod_params_generated.h"
6#include "../types/flatbuffer_log.hpp"
48 CTtmmodParams_0(uint8_t modState_,
double modFreq_,
double modRad_,
double offset1_,
double offset2_) {
60 void* buffPtr = tp.builder.GetBufferPointer();
92 flatlogs::logHeader::createLog<MagAOX::logger::ttmmod_params>(logBuffer
102 GIVEN(
"a ttmmod_params log code")
104 WHEN(
"random values for fields")
CTtmmodParams_0(uint8_t modState_, double modFreq_, double modRad_, double offset1_, double offset2_)
bool verify(const typename MagAOX::logger::ttmmod_params::messageT &msg)
int8_t logPrioT
The type of the log priority code.
std::shared_ptr< char > bufferPtrT
The log entry buffer smart pointer.
const MagAOX::logger::Ttmmod_params_fb * GetTtmmod_params_fb(const void *buf)
static constexpr logPrioT LOG_DEFAULT
Used to denote "use the default level for this log type".
static flatlogs::msgLenT length(const fbMessage &msg)
Get the length of the message.
The type of the input message.
static bool verify(flatlogs::bufferPtrT &logBuff, flatlogs::msgLenT len)
A fixed-width timespec structure.
const double ttmmodParamsOffset1_0
SCENARIO("Create ttmmod_params 0", "[a log item]")
const double ttmmodParamsModFreq_0
const uint8_t ttmmodParamsModState_0
const double ttmmodParamsOffset2_0
const double ttmmodParamsModRad_0