2023-Robot
Robot code for 2023 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{InterpMapPoint{-1.0, -1.0},
19 // InterpMapPoint{-0.75, -0.4},
20 InterpMapPoint{-0.15, 0.0},
21 InterpMapPoint{0.15, 0.0},
22 // InterpMapPoint{0.75, 0.4},
23 InterpMapPoint{1.0, 1.0}};
24 [[maybe_unused]] constexpr std::array driveRotSpeed{
25 InterpMapPoint{-1.0, -1.0}, InterpMapPoint{-0.15, 0.0}, InterpMapPoint{0.15, 0.0}, InterpMapPoint{1.0, 1.0}};
26 [[maybe_unused]] constexpr std::array shoulderSpeed{
27 InterpMapPoint{-1.0, -0.5}, InterpMapPoint{-0.2, 0.0}, InterpMapPoint{0.2, 0.0}, InterpMapPoint{1.0, 0.5}};
28 [[maybe_unused]] constexpr std::array armExtensionSpeed{
29 InterpMapPoint{-1.0, -0.5}, InterpMapPoint{-0.2, 0.0}, InterpMapPoint{0.2, 0.0}, InterpMapPoint{1.0, 0.5}};
30 [[maybe_unused]] constexpr std::array wristSpeed{
31 InterpMapPoint{-1.0, -0.1}, InterpMapPoint{-0.2, 0.0}, InterpMapPoint{0.2, 0.0}, InterpMapPoint{1.0, 0.1}};
32 [[maybe_unused]] constexpr std::array ouiOuiSpeed{
33 InterpMapPoint{-1.0, -0.1}, InterpMapPoint{-0.5, 0.0}, InterpMapPoint{0.5, 0.0}, InterpMapPoint{1.0, 0.1}};
34 [[maybe_unused]] constexpr std::array bashSpeed{
35 InterpMapPoint{-1.0, -0.25}, InterpMapPoint{-0.2, 0.0}, InterpMapPoint{0.2, 0.0}, InterpMapPoint{1.0, 0.25}};
36} // namespace controllerMap
Definition interpolation_maps.h:15
constexpr std::array driveRotSpeed
Definition interpolation_maps.h:24
constexpr std::array shoulderSpeed
Definition interpolation_maps.h:26
constexpr std::array armExtensionSpeed
Definition interpolation_maps.h:28
constexpr std::array ouiOuiSpeed
Definition interpolation_maps.h:32
constexpr std::array bashSpeed
Definition interpolation_maps.h:34
constexpr std::array wristSpeed
Definition interpolation_maps.h:30
constexpr std::array driveSpeed
Definition interpolation_maps.h:18
Point that helps generate an interpolation map.
Definition interpolation.h:18