WPILibC++ 2024.3.2
DifferentialDriveWheelVoltages.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 "units/voltage.h"
8
9namespace frc {
10
11/**
12 * Motor voltages for a differential drive.
13 */
15 /// Left wheel voltage.
16 units::volt_t left = 0_V;
17
18 /// Right wheel voltage.
19 units::volt_t right = 0_V;
20};
21
22} // namespace frc
23
Definition: AprilTagPoseEstimator.h:15
Motor voltages for a differential drive.
Definition: DifferentialDriveWheelVoltages.h:14
units::volt_t right
Right wheel voltage.
Definition: DifferentialDriveWheelVoltages.h:19
units::volt_t left
Left wheel voltage.
Definition: DifferentialDriveWheelVoltages.h:16