mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpiutil] Rename Color constants to all caps
This commit is contained in:
@@ -62,8 +62,8 @@ class Arm {
|
||||
wpi::MechanismLigament2d* m_armTower =
|
||||
m_armBase->Append<wpi::MechanismLigament2d>(
|
||||
"Arm Tower", 30, -90_deg, 6,
|
||||
wpi::util::Color8Bit{wpi::util::Color::kBlue});
|
||||
wpi::util::Color8Bit{wpi::util::Color::BLUE});
|
||||
wpi::MechanismLigament2d* m_arm = m_armBase->Append<wpi::MechanismLigament2d>(
|
||||
"Arm", 30, m_armSim.GetAngle(), 6,
|
||||
wpi::util::Color8Bit{wpi::util::Color::kYellow});
|
||||
wpi::util::Color8Bit{wpi::util::Color::YELLOW});
|
||||
};
|
||||
|
||||
@@ -66,7 +66,7 @@ class Robot : public wpi::TimedRobot {
|
||||
wpi::MechanismLigament2d* m_wrist =
|
||||
m_elevator->Append<wpi::MechanismLigament2d>(
|
||||
"wrist", 0.5, 90_deg, 6,
|
||||
wpi::util::Color8Bit{wpi::util::Color::kPurple});
|
||||
wpi::util::Color8Bit{wpi::util::Color::PURPLE});
|
||||
};
|
||||
|
||||
#ifndef RUNNING_WPILIB_TESTS
|
||||
|
||||
Reference in New Issue
Block a user