2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
Constants.h File Reference
#include <frc/PneumaticsModuleType.h>
#include <units/length.h>
#include <units/time.h>
#include <units/velocity.h>
#include <string>
#include "constants/addresses.h"
#include "constants/control_loops.h"
#include "constants/interpolation_maps.h"
#include "constants/measure_up.h"
#include "constants/motors.h"
#include "networktables/NetworkTable.h"
#include "networktables/NetworkTableInstance.h"

Go to the source code of this file.

Namespaces

namespace  speeds
 
namespace  speeds::drive
 
namespace  speeds::armKinematicSpeeds
 
namespace  indexes
 
namespace  indexes::swerveModules
 
namespace  paths
 
namespace  networkTables
 
namespace  networkTables::swerveHomes
 
namespace  networkTables::swerveHomes::keys
 
namespace  leds
 
namespace  camera
 
namespace  warning
 This is a bad idea...
 
namespace  warning::nuclear
 Are you sure you want to change this?!?!
 
namespace  warning::nuclear::option
 Turn back now!
 

Enumerations

enum class  ApproachDirection { Increasing , Decreasing }
 Designate the threshold approach direction. More...
 

Variables

constexpr double speeds::drive::aimBotMaxBias = 0.6
 
constexpr double speeds::drive::aimBotThresh = 0.1
 
constexpr units::velocity::feet_per_second_t speeds::drive::maxAngular = 12_fps
 
constexpr auto speeds::armKinematicSpeeds::effectorVelocity = 60_ips
 
constexpr auto speeds::armKinematicSpeeds::effectorAcceleration = 45_ips2
 
constexpr auto speeds::armKinematicSpeeds::effectorFastVelocity = 80_ips
 
constexpr auto speeds::armKinematicSpeeds::effectorFastAcceleration = 60_ips2
 
constexpr char indexes::swerveModules::frontLeftIndex = 0
 
constexpr char indexes::swerveModules::frontRightIndex = 1
 
constexpr char indexes::swerveModules::backRightIndex = 2
 
constexpr char indexes::swerveModules::backLeftIndex = 3
 
const std::string paths::swerveHomesPath = "homes/swerveHomes"
 
const std::string paths::wristHomesPath = "homes/wristHomes"
 
const std::string paths::shoulderHome = "homes/shoulderHome"
 
const std::string paths::extensionHomePath = "homes/extensionHome"
 
const std::string networkTables::swerveHomes::tableKey = "Argos"
 
const std::string networkTables::swerveHomes::keys::flHome = "swerveHomes/flHome"
 
const std::string networkTables::swerveHomes::keys::frHome = "swerveHomes/frHome"
 
const std::string networkTables::swerveHomes::keys::brHome = "swerveHomes/brHome"
 
const std::string networkTables::swerveHomes::keys::blHome = "swerveHomes/blHome"
 
const std::string networkTables::swerveHomes::keys::flHomeFullPath = "swerveHomes/flHome"
 
const std::string networkTables::swerveHomes::keys::frHomeFullPath = "swerveHomes/frHome"
 
const std::string networkTables::swerveHomes::keys::brHomeFullPath = "swerveHomes/brHome"
 
const std::string networkTables::swerveHomes::keys::blHomeFullPath = "swerveHomes/blHome"
 
constexpr units::time::second_t leds::requestLen = 2_s
 
constexpr char camera::reflectivePipeline = 1
 
constexpr char camera::aprilTagPipeline = 0
 
constexpr int camera::horizontalPixelResolution = 320
 
constexpr int camera::verticalPixelResolution = 240
 
constexpr auto camera::horizontalAngleResolution = 63.3_deg
 
constexpr auto camera::halfhorizontalAngleResolution = horizontalAngleResolution / 2
 
constexpr auto camera::verticalAngleResolution = 49.7_deg
 
constexpr bool warning::nuclear::option::wristEnabled = true
 

Enumeration Type Documentation

◆ ApproachDirection

enum class ApproachDirection
strong

Designate the threshold approach direction.

Enumerator
Increasing 
Decreasing