|
Resurgence (PY2022)
Codebase for the Husky Robotics 2021-2022 rover Resurgence
|
Types for use in the world interface. More...
Classes | |
| class | bad_datapoint_access |
| class | CameraHandle |
| class | DataPoint |
| Represents data measured using a sensor at a given time. More... | |
| class | LimitSwitchData |
| A class that represents limit switches from a specific motor. More... | |
Typedefs | |
| using | dataclock = std::chrono::steady_clock |
| The clock used for time measurements for data. | |
| using | datatime_t = std::chrono::time_point<dataclock> |
| A point in time as measured by dataclock. | |
| using | landmarks_t = std::vector<DataPoint<navtypes::point_t>> |
| A data structure that represents when each landmark was seen. | |
| using | CameraFrame = std::pair<cv::Mat, uint32_t> |
| A pair of a camera frame and its corresponding frame number. | |
| using | CameraID = std::string |
| The type of a camera id. | |
Enumerations | |
| enum class | indication_t { off , autonomous , teleop , arrivedAtDest } |
| An indication enum, used to command the LED to flash different signals. | |
| enum class | motorid_t { leftTread , rightTread , armBase , shoulder , elbow , forearm , wristDiffRight , wristDiffLeft , hand , drillActuator , drillMotor , fourbar1 , fourbar2 , scienceServoBoard , scienceStepperBoard } |
| The motors on the robot. | |
| enum class | mountedperipheral_t { none , arm , science } |
| the mounted peripheral on the robot. | |
| enum class | jointid_t { armBase , shoulder , elbow , forearm , wristPitch , wristRoll , hand , handActuator , ikForward , ikUp , fourBarLinkage , drillActuator , drillMotor } |
| enum class | servoid_t { microscope , syringe , cuvette , filter , soilBox } |
| enum class | stepperid_t { plunger , judges , mast , lock , lazySusan } |
Variables | |
| constexpr auto | all_jointid_t |
| constexpr auto | name_to_jointid |
| constexpr auto | all_servoid_t |
| constexpr auto | name_to_servoid |
| constexpr auto | servoid_to_servo_num |
| constexpr auto | all_stepperid_t |
| constexpr auto | name_to_stepperid |
| constexpr auto | stepperid_to_stepper_num |
| constexpr size_t | N_LIMIT_SWITCH = 8 |
| The maximum number of limit switches associated with any motor. | |
| constexpr int | LIMIT_SWITCH_LIM_MIN_IDX = 0 |
| constexpr int | LIMIT_SWITCH_LIM_MAX_IDX = 1 |
Types for use in the world interface.
| using robot::types::landmarks_t = std::vector<DataPoint<navtypes::point_t>> |
A data structure that represents when each landmark was seen.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |