Track.cpp
Go to the documentation of this file.
1
#include "
Track.h
"
2
3
4
namespace
armarx::trajectory
5
{
6
7
template
<>
8
void
Track<VariantValue>::checkValueType(
const
VariantValue
&
value
)
9
{
10
if
(!
empty
() &&
value
.index() != keyframes.front().value.index())
11
{
12
throw
error::WrongValueTypeInKeyframe(
id
,
value
.index(), keyframes.front().value.index());
13
}
14
}
15
16
}
armarx::trajectory::VariantValue
std::variant< float, Eigen::MatrixXf, Eigen::Quaternionf > VariantValue
Variant for trajectory values.
Definition:
VariantValue.h:13
cxxopts::empty
bool empty(const std::string &s)
Definition:
cxxopts.hpp:255
cxxopts::value
std::shared_ptr< Value > value()
Definition:
cxxopts.hpp:926
armarx::trajectory
Definition:
exceptions.cpp:3
Track.h
RobotAPI
libraries
SimpleTrajectory
Track.cpp
Generated on Sat Oct 12 2024 09:14:11 for armarx_documentation by
1.8.17