15#if defined(ARDUINO_TEENSY36) || defined(ARDUINO_TEENSY41)
46 static uint8_t left_torque_sensor_used_count;
47 static uint8_t right_torque_sensor_used_count;
49 static uint8_t left_motor_used_count;
50 static uint8_t right_motor_used_count;
69 virtual void run_joint() = 0;
74 virtual void read_data();
80 virtual void check_calibration();
87 virtual void set_controller(uint8_t) = 0;
94 void set_motor(_Motor* new_motor);
124 TorqueSensor _torque_sensor;
125 _Controller* _controller;
147class HipJoint :
public _Joint
164 void set_controller(uint8_t);
168 ZeroTorque _zero_torque;
170 ExtensionAngle _extension_angle;
172 LateStance _late_stance;
173 GaitPhase _gait_phase;
174 FranksCollinsHip _franks_collins_hip;
178 Perturbation _perturbation;
179 Parabolic _parabolic;
180 ConstantTorque _constant_torque;
181 PtbGeneral _ptb_general;
187class KneeJoint :
public _Joint
204 void set_controller(uint8_t);
208 ZeroTorque _zero_torque;
212 Perturbation _perturbation;
213 ConstantTorque _constant_torque;
214 ElbowMinMax _elbow_min_max;
220class AnkleJoint :
public _Joint
237 void set_controller(uint8_t);
241 const float _imu_sample_rate_us{15000.0f};
242 float _previous_sample_us{0.0f};
243 AnkleAngles _ankle_angle;
245 ZeroTorque _zero_torque;
246 ProportionalJointMoment _proportional_joint_moment;
247 ZhangCollins _zhang_collins;
251 Perturbation _perturbation;
252 ConstantTorque _constant_torque;
253 PtbGeneral _ptb_general;
254 PropulsiveAssistive _propulsive_assistive;
255 ElbowMinMax _elbow_min_max;
256 CalibrManager _calibr_manager;
Declares for the different controllers the exo can use. Controllers should inherit from _Controller c...
Declares a class used to store data for the Exo to access.
Declares a class for controlling and reading sensors for a joint.
Declares a class used to interface with motors.
Declares the functions needed and defines mapping between the INI keys and the exo components.
Stores the different status messages for the system.
Declares the class that is used to interface with a torque sensor.
Class to store all the data related to the exo.
Definition ExoData.h:38
class to store information related to joint.
Definition JointData.h:33
joint_id
Definition ParseIni.h:106