1#ifndef FSW_CONTROL_CONTROLLER_LUT_HPP
2#define FSW_CONTROL_CONTROLLER_LUT_HPP
28 return !
axes_.empty();
38 bool evaluate(
const std::map<std::string, double>& point,
39 std::map<std::string, double>& out)
const;
bool load(const std::string &path)
Load LUT from binary file.
std::vector< Axis > axes_
bool is_loaded() const
True if a LUT is loaded and ready for evaluation.
std::vector< Output > outputs_
bool evaluate(const std::map< std::string, double > &point, std::map< std::string, double > &out) const
Evaluate LUT at the given point.
Motorized ball valve position: raw ADC counts -> % open.
std::vector< double > grid
std::vector< double > data
std::vector< uint32_t > shape