001// Copyright (c) FIRST and other WPILib contributors. 002// Open Source Software; you can modify and/or share it under the terms of 003// the WPILib BSD license file in the root directory of this project. 004 005package edu.wpi.first.math.controller; 006 007import edu.wpi.first.math.controller.proto.DifferentialDriveWheelVoltagesProto; 008import edu.wpi.first.math.controller.struct.DifferentialDriveWheelVoltagesStruct; 009 010/** Motor voltages for a differential drive. */ 011public class DifferentialDriveWheelVoltages { 012 public double left; 013 public double right; 014 015 public static final DifferentialDriveWheelVoltagesProto proto = 016 new DifferentialDriveWheelVoltagesProto(); 017 public static final DifferentialDriveWheelVoltagesStruct struct = 018 new DifferentialDriveWheelVoltagesStruct(); 019 020 public DifferentialDriveWheelVoltages() {} 021 022 public DifferentialDriveWheelVoltages(double left, double right) { 023 this.left = left; 024 this.right = right; 025 } 026}