7std::vector<float>
rt_to_ht(std::vector<float> joint_angles)
9 const auto yaw = joint_angles.at(0);
10 const auto curl = joint_angles.at(1) + joint_angles.at(2);
17std::vector<float>
ht_to_rt(std::vector<float> joint_angles)
19 const auto yaw = joint_angles.at(0);
20 const auto curl1 = joint_angles.at(1) / 2;
21 const auto curl2 = joint_angles.at(1) / 2;
22 return {yaw, curl1, curl2};
std::vector< float > ht_to_rt(std::vector< float > joint_angles)
Converts the joint angles from the haptic to robot space.
std::vector< float > rt_to_ht(std::vector< float > joint_angles)
Converts the joint angles from the robot to haptic space.