Motion Master 6.0.0-alpha.111
Next-generation motion control software
Loading...
Searching...
No Matches
plant_model_fit.cc File Reference
#include "plant_model_fit.h"
#include <chrono>
#include <cstddef>
#include <format>
#include <nlohmann/json.hpp>
#include <string>
#include <vector>
Include dependency graph for plant_model_fit.cc:

Namespaces

namespace  mm
 

Functions

std::string mm::plantMeasurementCsv (const node::PlantMeasurement &measurement)
 Renders a measurement as the CSV identify_plant_model reads.
 
std::string mm::identifyPlantModelRequest (const node::PlantMeasurement &measurement, double startFrequencyHz, double endFrequencyHz)
 Builds the request body of one identify_plant_model call.
 
std::expected< node::PlantModelFit, std::string > mm::parseIdentifyPlantModelReply (int status, const std::string &body)
 Reads the program's reply.
 
node::PlantModelFitFn mm::makePlantModelFit (const std::optional< auto_tuning::Client > &client)
 The fit callback for the procedure registry.