mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-06 03:31:43 +00:00
Merge branch 'main' into 2027
This commit is contained in:
@@ -139,6 +139,10 @@ void XRP::HandleServoSimValueChanged(const wpi::json& data) {
|
||||
deviceId = 4;
|
||||
} else if (data["device"] == "servo2") {
|
||||
deviceId = 5;
|
||||
} else if (data["device"] == "servo3") {
|
||||
deviceId = 6;
|
||||
} else if (data["device"] == "servo4") {
|
||||
deviceId = 7;
|
||||
}
|
||||
|
||||
if (deviceId != -1 && servoData.find("<position") != servoData.end()) {
|
||||
|
||||
Reference in New Issue
Block a user