Resurgence (PY2022)
Codebase for the Husky Robotics 2021-2022 rover Resurgence
Loading...
Searching...
No Matches
robot::potparams_t Struct Reference

Represents parameters defining a potentiometer scale. More...

#include <real_world_constants.h>

Public Attributes

uint16_t adc_lo
 The "low" point on the ADC scale.
 
int32_t mdeg_lo
 The "low" point on the joint rotation scale.
 
uint16_t adc_hi
 The "high" point on the ADC scale.
 
int32_t mdeg_hi
 The "high" point on the joint rotation scale.
 

Detailed Description

Represents parameters defining a potentiometer scale.

Contains two joint angles in millidegrees and their associated potentiometer ADC values; this defines a linear scale from potentiometer ADC value to joint angle that can be sent to the motor boards for position control and feedback.


The documentation for this struct was generated from the following file: