Track.cpp
Go to the documentation of this file.
1
#include "
Track.h
"
2
3
namespace
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
{
12
throw
error::WrongValueTypeInKeyframe(
13
id
,
value
.index(), keyframes.front().value.index());
14
}
15
}
16
17
}
// namespace armarx::trajectory
armarx::trajectory::VariantValue
std::variant< float, Eigen::MatrixXf, Eigen::Quaternionf > VariantValue
Variant for trajectory values.
Definition:
VariantValue.h:12
cxxopts::empty
bool empty(const std::string &s)
Definition:
cxxopts.hpp:234
cxxopts::value
std::shared_ptr< Value > value()
Definition:
cxxopts.hpp:855
armarx::trajectory
Definition:
exceptions.cpp:3
Track.h
RobotAPI
libraries
SimpleTrajectory
Track.cpp
Generated on Sat Mar 29 2025 09:17:31 for armarx_documentation by
1.8.17