mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
SCRIPT: wpiformat
This commit is contained in:
committed by
Peter Johnson
parent
ae6bdc9d25
commit
2109161534
@@ -54,10 +54,12 @@ class Robot : public wpi::TimedRobot {
|
||||
|
||||
// Create a motion profile with the given maximum velocity and maximum
|
||||
// acceleration constraints for the next setpoint.
|
||||
wpi::math::ExponentialProfile<wpi::units::meters, wpi::units::volts> m_profile{
|
||||
{10_V, 1_V / 1_mps, 1_V / 1_mps_sq}};
|
||||
wpi::math::ExponentialProfile<wpi::units::meters, wpi::units::volts>::State m_goal;
|
||||
wpi::math::ExponentialProfile<wpi::units::meters, wpi::units::volts>::State m_setpoint;
|
||||
wpi::math::ExponentialProfile<wpi::units::meters, wpi::units::volts>
|
||||
m_profile{{10_V, 1_V / 1_mps, 1_V / 1_mps_sq}};
|
||||
wpi::math::ExponentialProfile<wpi::units::meters, wpi::units::volts>::State
|
||||
m_goal;
|
||||
wpi::math::ExponentialProfile<wpi::units::meters, wpi::units::volts>::State
|
||||
m_setpoint;
|
||||
};
|
||||
|
||||
#ifndef RUNNING_WPILIB_TESTS
|
||||
|
||||
Reference in New Issue
Block a user