|
HRI board firmware
v2.1
Microcontroller firmware of the board used during the HRI labs.
|
#include "haptic_controller.h"#include "communication.h"#include "drivers/adc.h"#include "drivers/incr_encoder.h"#include "drivers/hall.h"#include "drivers/callback_timers.h"#include "lib/utils.h"#include "torque_regulator.h"Macros | |
| #define | DEFAULT_HAPTIC_CONTROLLER_PERIOD 350 |
Functions | |
| void | hapt_Update () |
| Updates the haptic controller state. More... | |
| void | hapt_Init (void) |
| Initializes the haptic controller. More... | |
Variables | |
| volatile uint32_t | hapt_timestamp |
| volatile float32_t | hapt_hallVoltage |
| volatile float32_t | hapt_encoderPaddleAngle |
| volatile float32_t | hapt_motorTorque |
| #define DEFAULT_HAPTIC_CONTROLLER_PERIOD 350 |
| void hapt_Update | ( | void | ) |
Updates the haptic controller state.
| volatile float32_t hapt_encoderPaddleAngle |
| volatile float32_t hapt_hallVoltage |
| volatile float32_t hapt_motorTorque |
| volatile uint32_t hapt_timestamp |
1.8.13