WPILibC++
2024.3.2
WheelPositions.h
Go to the documentation of this file.
1
// Copyright (c) FIRST and other WPILib contributors.
2
// Open Source Software; you can modify and/or share it under the terms of
3
// the WPILib BSD license file in the root directory of this project.
4
5
#pragma once
6
7
#include <concepts>
8
9
namespace
frc
{
10
template
<
typename
T>
11
concept
WheelPositions
=
12
std::copy_constructible<T> &&
requires
(T a, T
b
,
double
t) {
13
{ a.Interpolate(
b
, t) } -> std::convertible_to<T>;
14
};
15
}
// namespace frc
frc::WheelPositions
Definition:
WheelPositions.h:11
frc
Definition:
AprilTagPoseEstimator.h:15
units::b
b
Definition:
data.h:44
frc
kinematics
WheelPositions.h
Generated on Wed Mar 13 2024 05:20:40 for WPILibC++ by
1.9.4