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 | 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 { frontLeftWheel , frontLeftSwerve , frontRightWheel , frontRightSwerve , rearLeftWheel , rearLeftSwerve , rearRightWheel , rearRightSwerve , armBase , shoulder , elbow , forearm , wristDiffRight , wristDiffLeft , hand , activeSuspension , drillActuator , drillMotor } |
The motors on the robot. | |
enum class | mountedperipheral_t { none , arm , armServo , scienceStation , lidar } |
the mounted peripheral on the robot. | |
enum class | jointid_t { frontLeftSwerve , frontRightSwerve , rearLeftSwerve , rearRightSwerve , armBase , shoulder , elbow , forearm , wristPitch , wristRoll , hand , activeSuspension , ikForward , ikUp } |
Variables | |
constexpr auto | all_jointid_t |
constexpr auto | name_to_jointid |
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 |