linear.cpp
Go to the documentation of this file.
1 #include "linear.h"
2 
3 
4 namespace armarx::trajectory
5 {
6 
7  template <>
9  {
10  // dont use std::get
11  return std::visit(Linear {t}, lhs, rhs);
12  }
13 
14 }
armarx::trajectory::VariantValue
std::variant< float, Eigen::MatrixXf, Eigen::Quaternionf > VariantValue
Variant for trajectory values.
Definition: VariantValue.h:13
armarx::trajectory::interpolate::Linear
Linear interpolation visitor: Interpolates between the given values linearly.
Definition: linear.h:13
linear.h
armarx::trajectory
Definition: exceptions.cpp:3
armarx::aron::data::visit
requires isVisitor< VisitorImplementation, typename VisitorImplementation::Input > void visit(VisitorImplementation &v, typename VisitorImplementation::Input &o)
Definition: Visitor.h:124
armarx::trajectory::interpolate::linear< VariantValue >
VariantValue linear< VariantValue >(float t, const VariantValue &lhs, const VariantValue &rhs)
Definition: linear.cpp:8