Go to the documentation of this file.
33 #include <math-utils/interpolator.h>
67 math::Interpolator<std::array<uint16_t, shadow::joint_count>,
68 std::array<double, shadow::joint_count>>>
69 joint_position_interpolator);
177 static std::unique_ptr<
178 math::Interpolator<std::array<uint16_t, shadow::joint_count>,
179 std::array<double, shadow::joint_count>>>
184 std::unique_ptr<pImpl>
impl_;
void print_fingers_positions()
Function used to print all fingers positions.
void read_raw_joints_positions()
read raw positions of hand's joints
shadow::RawHandCommand command_
Definition: shadow_hand.h:187
const shadow::RawHandState & state() const
read only access to hand state
HandID
List of known Shadow hands with their respective serial number.
Definition: common.h:48
void read_biotacs_pressures()
read pressure of biotac sensors
static std::unique_ptr< math::Interpolator< std::array< uint16_t, shadow::joint_count >, std::array< double, shadow::joint_count > > > default_joint_calibrator(shadow::HandID hand_id)
void write_joints_commands()
write joints commands
void print_biotacs_data()
Function used to print all biotacs datas (presure, temperature and electrode impedance) for all finge...
void read_biotacs_temperatures()
read temperatures of biotac sensors
void read_joints_positions()
read positions of hand's joints
void write()
write joints commands
shadow::RawHandState state_
Definition: shadow_hand.h:186
void read_biotacs_electrodes()
read contact electrodes values of biotac sensors
This class define an EtherCAT bus device.
Definition: bus_device.h:49
void print_fingers_torques()
Function used to print all fingers torques.
ShadowHand(shadow::HandID hand_id, shadow::BiotacMode biotac_electrode_mode, shadow::ControlMode control_mode, std::unique_ptr< math::Interpolator< std::array< uint16_t, shadow::joint_count >, std::array< double, shadow::joint_count >>> joint_position_interpolator)
Constructor of ShadowHand class.
ControlMode
Describes the hand control mode: torque or direct PWM motor control.
Definition: common.h:78
void read_joints_torques()
read torques of hand's joints
const shadow::RawHandCommand & command() const
read only access to hand command
std::unique_ptr< pImpl > impl_
Definition: shadow_hand.h:183
types needed to describe a shadow hand
Main header file for ethercatcpp-core.
BiotacMode
Describes the Biotac working mode: with or without the electrodes.
Definition: common.h:71
This class describe the full EtherCAT driver for the shadow hand.
Definition: shadow_hand.h:51
void read()
read all hand state data
pImpl & impl()
Definition: shadow_hand.h:189