Template Function joint_trajectory_controller::mapping
Defined in File trajectory.hpp
Function Documentation
-
template<class T>
inline std::vector<size_t> joint_trajectory_controller::mapping(const T &t1, const T &t2) - Returns:
The map between
t1
indices (implicitly encoded in return vector indices) tot2
indices. Ift1
is"{C, B}"
andt2
is"{A, B, C, D}"
, the associated mapping vector is"{2, 1}"
. return empty vector ift1
is not a subset oft2
.