Class Interpolation1D

Class Documentation

class Interpolation1D

Public Types

enum InterpolationType

Values:

enumerator ZERO_ORDER_HOLD
enumerator LINEAR

Public Functions

Interpolation1D(rclcpp::Node &node)
bool appendPoint(double x, double y)
size_t numPoints() const
std::pair<double, double> getPoint(size_t index) const
void removePoint(size_t index)
void clear()
InterpolationType interpolationType()
std::string interpolationTypeString() const
void setInterpolationType(InterpolationType type)
bool readFromParameter(const std::string &param_name)
double minX() const
double maxX() const
inline double eval(double x) const