TeensyNanoExoCode
Loading...
Searching...
No Matches
Enumerations
config_defs Namespace Reference

Namespace that defines numeric coding for different keys values. These are used throughout the code. More...

Enumerations

enum class  board_name : uint8_t { AK_board = 1 }
 
enum class  board_version : uint8_t { zero_one = 1 , zero_three = 2 , zero_four = 3 , zero_five_one = 4 }
 
enum class  battery : uint8_t { smart = 1 , dumb = 2 }
 
enum class  exo_name : uint8_t {
  bilateral_ankle = 1 , bilateral_hip = 2 , bilateral_hip_ankle = 3 , left_ankle = 4 ,
  right_ankle = 5 , left_hip = 6 , right_hip = 7 , left_hip_ankle = 8 ,
  right_hip_ankle = 9 , test = 10 , right_knee = 11
}
 
enum class  exo_side : uint8_t { bilateral = 1 , left = 2 , right = 3 }
 
enum class  JointType { hip = 1 , knee = 2 , ankle = 3 }
 
enum class  motor : uint8_t {
  not_used = 1 , AK60 = 2 , AK80 = 3 , AK60_v1_1 = 4 ,
  AK60_v1_1_T = 5
}
 
enum class  gearing : uint8_t { gearing_1_1 = 1 , gearing_2_1 = 2 , gearing_3_1 = 3 , gearing_4_5_1 = 4 }
 
enum class  joint_id : uint8_t {
  left = 0b01000000 , right = 0b00100000 , hip = 0b00000001 , knee = 0b00000010 ,
  ankle = 0b00000100 , left_hip = left|hip , left_knee = left|knee , left_ankle = left|ankle ,
  right_hip = right|hip , right_knee = right|knee , right_ankle = right|ankle
}
 
enum class  hip_controllers : uint8_t {
  disabled = 1 , zero_torque = 2 , heel_toe = 3 , extension_angle = 4 ,
  franks_collins_hip = 5 , bang_bang = 6 , late_stance = 7 , gait_phase = 8 ,
  user_defined = 9 , sine = 10 , stasis = 11 , perturbation = 12 ,
  parabolic = 13 , constant_torque = 14 , ptb_general = 15
}
 
enum class  knee_controllers : uint8_t {
  disabled = 1 , zero_torque = 2 , user_defined = 3 , sine = 4 ,
  stasis = 5 , perturbation = 6 , constant_torque = 7 , elbow_min_max = 8
}
 
enum class  ankle_controllers : uint8_t {
  disabled = 1 , zero_torque = 2 , pjmc = 3 , zhang_collins = 4 ,
  user_defined = 5 , sine = 6 , stasis = 7 , perturbation = 8 ,
  constant_torque = 9 , ptb_general = 10 , gasp = 11 , elbow_min_max = 12 ,
  calibr_manager = 13
}
 
enum class  flip_dir : uint8_t { neither = 1 , left = 2 , right = 3 , both = 4 }
 

Detailed Description

Namespace that defines numeric coding for different keys values. These are used throughout the code.

Enumeration Type Documentation

◆ ankle_controllers

enum class config_defs::ankle_controllers : uint8_t
strong
Enumerator
disabled 
zero_torque 
pjmc 
zhang_collins 
user_defined 
sine 
stasis 
perturbation 
constant_torque 
ptb_general 
gasp 
elbow_min_max 
calibr_manager 

◆ battery

enum class config_defs::battery : uint8_t
strong
Enumerator
smart 
dumb 

◆ board_name

enum class config_defs::board_name : uint8_t
strong
Enumerator
AK_board 

◆ board_version

enum class config_defs::board_version : uint8_t
strong
Enumerator
zero_one 
zero_three 
zero_four 
zero_five_one 

◆ exo_name

enum class config_defs::exo_name : uint8_t
strong
Enumerator
bilateral_ankle 
bilateral_hip 
bilateral_hip_ankle 
left_ankle 
right_ankle 
left_hip 
right_hip 
left_hip_ankle 
right_hip_ankle 
test 
right_knee 

◆ exo_side

enum class config_defs::exo_side : uint8_t
strong
Enumerator
bilateral 
left 
right 

◆ flip_dir

enum class config_defs::flip_dir : uint8_t
strong
Enumerator
neither 
left 
right 
both 

◆ gearing

enum class config_defs::gearing : uint8_t
strong
Enumerator
gearing_1_1 
gearing_2_1 
gearing_3_1 
gearing_4_5_1 

◆ hip_controllers

enum class config_defs::hip_controllers : uint8_t
strong
Enumerator
disabled 
zero_torque 
heel_toe 
extension_angle 
franks_collins_hip 
bang_bang 
late_stance 
gait_phase 
user_defined 
sine 
stasis 
perturbation 
parabolic 
constant_torque 
ptb_general 

◆ joint_id

enum class config_defs::joint_id : uint8_t
strong
Enumerator
left 
right 
hip 
knee 
ankle 
left_hip 
left_knee 
left_ankle 
right_hip 
right_knee 
right_ankle 

◆ JointType

enum class config_defs::JointType
strong
Enumerator
hip 
knee 
ankle 

◆ knee_controllers

enum class config_defs::knee_controllers : uint8_t
strong
Enumerator
disabled 
zero_torque 
user_defined 
sine 
stasis 
perturbation 
constant_torque 
elbow_min_max 

◆ motor

enum class config_defs::motor : uint8_t
strong
Enumerator
not_used 
AK60 
AK80 
AK60_v1_1 
AK60_v1_1_T