2025-Robot
Robot code for 2025 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
interpolation_maps.h
Go to the documentation of this file.
1
4
5#pragma once
6
7#include <units/angle.h>
8#include <units/angular_velocity.h>
9#include <units/length.h>
10
11#include <array>
12
14
15namespace controllerMap {
17
18 [[maybe_unused]] constexpr std::array driveSpeed{
19 InterpMapPoint{-1.0, -0.7}, InterpMapPoint{-0.15, 0.0}, InterpMapPoint{0.15, 0.0}, InterpMapPoint{1.0, 0.9}};
20 [[maybe_unused]] constexpr std::array driveSpeed_placing{
21 InterpMapPoint{-1.0, -0.35}, InterpMapPoint{-0.15, 0.0}, InterpMapPoint{0.15, 0.0}, InterpMapPoint{1.0, 0.35}};
22 [[maybe_unused]] constexpr std::array driveSpeed_placing_lowAlgae{
23 InterpMapPoint{-1.0, -0.4}, InterpMapPoint{-0.15, 0.0}, InterpMapPoint{0.15, 0.0}, InterpMapPoint{1.0, 0.4}};
24 [[maybe_unused]] constexpr std::array driveSpeed_intake{
25 InterpMapPoint{-1.0, -0.3}, InterpMapPoint{-0.15, 0.0}, InterpMapPoint{0.15, 0.0}, InterpMapPoint{1.0, 0.35}};
26 [[maybe_unused]] constexpr std::array driveSpeed_intakeAlgae{
27 InterpMapPoint{-1.0, -0.4}, InterpMapPoint{-0.15, 0.0}, InterpMapPoint{0.15, 0.0}, InterpMapPoint{1.0, 0.45}};
28 [[maybe_unused]] constexpr std::array driveRotSpeed{
29 InterpMapPoint{-1.0, -1.0}, InterpMapPoint{-0.15, 0.0}, InterpMapPoint{0.15, 0.0}, InterpMapPoint{1.0, 1.0}};
30 [[maybe_unused]] constexpr std::array driveRotSpeed_placing{
31 InterpMapPoint{-1.0, -0.5}, InterpMapPoint{-0.15, 0.0}, InterpMapPoint{0.15, 0.0}, InterpMapPoint{1.0, 0.5}};
32 [[maybe_unused]] constexpr std::array elevatorSpeed{
33 InterpMapPoint{-1.0, -0.5}, InterpMapPoint{-0.15, 0.0}, InterpMapPoint{0.15, 0.0}, InterpMapPoint{1.0, 0.5}};
34 [[maybe_unused]] constexpr std::array elevatorRotateSpeed{
35 InterpMapPoint{-1.0, -0.2}, InterpMapPoint{-0.15, 0.0}, InterpMapPoint{0.15, 0.0}, InterpMapPoint{1.0, 0.2}};
36 [[maybe_unused]] constexpr std::array climberSpeed{
37 InterpMapPoint{-1.0, -0.2}, InterpMapPoint{-0.15, 0.0}, InterpMapPoint{0.15, 0.0}, InterpMapPoint{1.0, 0.2}};
38} // namespace controllerMap
Definition interpolation_maps.h:15
constexpr std::array driveRotSpeed
Definition interpolation_maps.h:28
constexpr std::array driveSpeed_placing
Definition interpolation_maps.h:20
constexpr std::array driveSpeed_placing_lowAlgae
Definition interpolation_maps.h:22
constexpr std::array driveRotSpeed_placing
Definition interpolation_maps.h:30
constexpr std::array elevatorRotateSpeed
Definition interpolation_maps.h:34
constexpr std::array elevatorSpeed
Definition interpolation_maps.h:32
constexpr std::array driveSpeed_intakeAlgae
Definition interpolation_maps.h:26
constexpr std::array climberSpeed
Definition interpolation_maps.h:36
constexpr std::array driveSpeed_intake
Definition interpolation_maps.h:24
constexpr std::array driveSpeed
Definition interpolation_maps.h:18
Point that helps generate an interpolation map.
Definition interpolation.h:18