40 ExoData(uint8_t* config_to_send);
void(* for_each_joint_function_t)(JointData *, float *)
Definition ExoData.h:31
Declares a class used to store data for leg to access.
Declares the functions needed and defines mapping between the INI keys and the exo components.
Stores the different status messages for the system.
Class to set an RGB LED to different colors based on the state of the system.
Class to store all the data related to the exo.
Definition ExoData.h:38
void for_each_joint(F &&func, float *args)
Definition ExoData.h:65
void set_default_parameters()
Set the default controller parameters for the current controller. These are the first row in the cont...
Definition ExoData.cpp:103
void for_each_joint(F &&func)
performs a function for each joint
Definition ExoData.h:55
bool user_paused
Definition ExoData.h:131
float battery_value
Definition ExoData.h:120
uint32_t mark
Definition ExoData.h:124
LegData right_leg
Definition ExoData.h:122
int error_joint_id
Definition ExoData.h:130
int error_code
Definition ExoData.h:129
JointData * get_joint_with(uint8_t id)
Get the joint pointer for a joint id.
Definition ExoData.cpp:56
uint8_t get_used_joints(uint8_t *used_joints)
Definition ExoData.cpp:37
uint8_t config_len
Definition ExoData.h:127
uint16_t get_status(void)
Get the status object.
Definition ExoData.cpp:98
void start_pretrial_cal()
Start the pretrial calibration process.
Definition ExoData.cpp:116
void print()
Prints all the exo data.
Definition ExoData.cpp:122
uint8_t * config
Definition ExoData.h:126
void reconfigure(uint8_t *config_to_send)
reconfigures the the exo data if the configuration changes after constructor called.
Definition ExoData.cpp:31
LegData left_leg
Definition ExoData.h:121
void set_status(uint16_t status_to_set)
Set the status object.
Definition ExoData.cpp:88
bool estop
Definition ExoData.h:119
bool sync_led_state
Definition ExoData.h:118
class to store information related to joint.
Definition JointData.h:33
class to store information related to the leg.
Definition LegData.h:30
JointData knee
Definition LegData.h:43
JointData ankle
Definition LegData.h:44
JointData hip
Definition LegData.h:42