Haptic Controller
Loading...
Searching...
No Matches
mapping.hpp File Reference

Go to the source code of this file.

Functions

std::vector< float > rt_to_ht (std::vector< float > joint_angles)
 Converts the joint angles from the robot to haptic space.
 
std::vector< float > ht_to_rt (std::vector< float > joint_angles)
 Converts the joint angles from the haptic to robot space.
 

Function Documentation

◆ ht_to_rt()

std::vector< float > ht_to_rt ( std::vector< float > joint_angles)

Converts the joint angles from the haptic to robot space.

Parameters
joint_anglesThe joint angles in the haptic space.
Returns
The joint angles in the robot space.

Definition at line 17 of file mapping.hpp.

◆ rt_to_ht()

std::vector< float > rt_to_ht ( std::vector< float > joint_angles)

Converts the joint angles from the robot to haptic space.

Parameters
joint_anglesThe joint angles in the robot space.
Returns
The joint angles in the haptic space.

Definition at line 7 of file mapping.hpp.