robot-rust 0.2.1

The robot-rust project, bindings for wpilib, ctre, and rev in rust.
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.

#pragma once

#include "units/voltage.h"

namespace frc {

/**
 * Motor voltages for a differential drive.
 */
struct DifferentialDriveWheelVoltages {
  /// Left wheel voltage.
  units::volt_t left = 0_V;

  /// Right wheel voltage.
  units::volt_t right = 0_V;
};

}  // namespace frc

#include "frc/controller/proto/DifferentialDriveWheelVoltagesProto.h"
#include "frc/controller/struct/DifferentialDriveWheelVoltagesStruct.h"