Template Function joint_trajectory_controller::mapping

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) to t2 indices. If t1 is "{C, B}" and t2 is "{A, B, C, D}", the associated mapping vector is "{2, 1}".