mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Fix compilation error in elevator trapezoid profile example (#1826)
Merging #1815 broke it, then #1814 was merged before fixing the failure.
This commit is contained in:
committed by
Peter Johnson
parent
a3dd84e854
commit
fdc098267e
@@ -44,7 +44,7 @@ class Robot : public frc::TimedRobot {
|
||||
frc::Joystick m_joystick{1};
|
||||
frc::Encoder m_encoder{1, 2};
|
||||
frc::Spark m_motor{1};
|
||||
frc2::PIDController m_controller{1.3, 0.0, 0.7, kDt.to<double>()};
|
||||
frc2::PIDController m_controller{1.3, 0.0, 0.7, kDt};
|
||||
|
||||
frc::TrapezoidProfile::Constraints m_constraints{1.75_mps, 0.75_mps_sq};
|
||||
frc::TrapezoidProfile::State m_goal;
|
||||
|
||||
Reference in New Issue
Block a user