Track.cpp
Go to the documentation of this file.
1#include "Track.h"
2
3namespace armarx::trajectory
4{
5
6 template <>
7 void
8 Track<VariantValue>::checkValueType(const VariantValue& value)
9 {
10 if (!empty() && value.index() != keyframes.front().value.index())
11 {
13 id, value.index(), keyframes.front().value.index());
14 }
15 }
16
17} // namespace armarx::trajectory
std::variant< float, Eigen::MatrixXf, Eigen::Quaternionf > VariantValue
Variant for trajectory values.
std::shared_ptr< Value > value()
Definition cxxopts.hpp:855
bool empty(const std::string &s)
Definition cxxopts.hpp:234