2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
measure_up.h File Reference
#include <argos_lib/general/angle_utils.h>
#include <frc/geometry/Translation2d.h>
#include <units/angle.h>
#include <units/length.h>
#include <array>
#include "utils/path_planning/types.h"

Go to the source code of this file.

Namespaces

namespace  measure_up
 
namespace  measure_up::chassis
 
namespace  measure_up::swerve_offsets
 
namespace  measure_up::lifter
 
namespace  measure_up::lifter::arm_extension
 
namespace  measure_up::lifter::wrist
 
namespace  measure_up::lifter::shoulder
 
namespace  measure_up::lifter::armBar
 
namespace  measure_up::lifter::effector
 
namespace  measure_up::bash
 
namespace  measure_up::oui_oui_place
 
namespace  measure_up::camera
 

Variables

constexpr auto measure_up::bumperExtension = 3_in
 Distance from frame to outer edge of bumpers.
 
constexpr units::inch_t measure_up::chassis::width {26.0}
 
constexpr units::inch_t measure_up::chassis::length {33.0}
 
constexpr auto measure_up::swerve_offsets::frontLeftLOffset = 2.625_in
 
constexpr auto measure_up::swerve_offsets::frontLeftWOffset = 2.625_in
 
constexpr auto measure_up::swerve_offsets::frontRightLOffset = 2.625_in
 
constexpr auto measure_up::swerve_offsets::frontRightWOffset = 2.625_in
 
constexpr auto measure_up::swerve_offsets::backRightWOffset = 2.625_in
 
constexpr auto measure_up::swerve_offsets::backRightLOffset = 2.625_in
 
constexpr auto measure_up::swerve_offsets::backLeftWOffset = 2.625_in
 
constexpr auto measure_up::swerve_offsets::backLeftLOffset = 2.625_in
 
constexpr auto measure_up::lifter::fulcrumPosition = frc::Translation2d{-12_in, 50_in}
 
constexpr auto measure_up::lifter::arm_extension::homeExtension = 37.50_in
 
constexpr auto measure_up::lifter::arm_extension::maxExtension = 68.00_in
 
constexpr auto measure_up::lifter::arm_extension::minExtension = 38.00_in
 
constexpr auto measure_up::lifter::arm_extension::acceptErr = 0.5_in
 
constexpr auto measure_up::lifter::wrist::homeAngle = 0_deg
 
constexpr auto measure_up::lifter::wrist::minAngle = -180_deg
 
constexpr auto measure_up::lifter::wrist::invertedAngle = -180_deg
 
constexpr auto measure_up::lifter::wrist::nominalAngle = 0_deg
 
constexpr auto measure_up::lifter::wrist::maxAngle = 10_deg
 
constexpr auto measure_up::lifter::wrist::wristWidth = 17.0_in
 
constexpr auto measure_up::lifter::shoulder::homeAngle = 0_deg
 
constexpr auto measure_up::lifter::shoulder::minAngle = -56.5_deg
 
constexpr auto measure_up::lifter::shoulder::maxAngle = 7_deg
 
constexpr auto measure_up::lifter::shoulder::acceptErr = 2_deg
 
constexpr auto measure_up::lifter::shoulder::fixedBoomActuatorPosition
 Linear actuator mount point relative to robot origin.
 
constexpr auto measure_up::lifter::shoulder::actuatedBoomActuatorPosition
 
constexpr auto measure_up::lifter::armBar::centerOfRotDis = 1.35_in
 
constexpr auto measure_up::lifter::effector::effectorFromArm = frc::Translation2d{3.5_in, 1.5_in}
 
constexpr auto measure_up::bash::homeExtension = 4.25_in
 
constexpr auto measure_up::bash::retractedExtension = 4.5_in
 
constexpr auto measure_up::bash::deployedExtension = 24.5_in
 
constexpr auto measure_up::bash::minExtension = 4.5_in
 
constexpr auto measure_up::bash::maxExtension = 25_in
 
constexpr auto measure_up::oui_oui_place::lateralOffset = 7_in
 
constexpr auto measure_up::oui_oui_place::minAngle = -225_deg
 
constexpr auto measure_up::oui_oui_place::maxAngle = -36_deg
 
constexpr units::degree_t measure_up::oui_oui_place::stowAngle = maxAngle
 
constexpr units::degree_t measure_up::oui_oui_place::placeAngle = minAngle
 
constexpr auto measure_up::camera::cameraX = 0_in
 
constexpr auto measure_up::camera::cameraZ = 7.25_in
 
constexpr auto measure_up::camera::cameraMountAngle = 13.5_deg
 
constexpr auto measure_up::camera::vFov = 24.85_deg * 2
 
constexpr auto measure_up::camera::hFov = 29.8_deg * 2
 
constexpr auto measure_up::camera::bottomPoleTapeCenter = 24.125_in
 
constexpr auto measure_up::camera::bottomPoleTapeBottom = 22.125_in
 
constexpr auto measure_up::camera::upperPoleTapeCenter = 43.875_in
 
constexpr auto measure_up::camera::upperPoleTapeBottom = 41.875_in
 
constexpr auto measure_up::camera::offsetBetweenPoles = 17.0_in
 
constexpr auto measure_up::camera::upperPoleTargetAreaThreshold = 0.03
 
constexpr auto measure_up::camera::upperPoleTargetPitchThreshold = 3.0_deg
 
constexpr std::array< path_planning::ArmPathPoint, 13 > measure_up::PathPlanningKeepOutZone