mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
committed by
Peter Johnson
parent
877a9eae1f
commit
f4779379c3
@@ -309,4 +309,4 @@ double HALSIM_GetAccelerometerZ(int32_t index) {
|
||||
void HALSIM_SetAccelerometerZ(int32_t index, double z) {
|
||||
SimAccelerometerData[index].SetZ(z);
|
||||
}
|
||||
}
|
||||
} // extern "C"
|
||||
|
||||
@@ -192,4 +192,4 @@ HAL_Bool HALSIM_GetAnalogGyroInitialized(int32_t index) {
|
||||
void HALSIM_SetAnalogGyroInitialized(int32_t index, HAL_Bool initialized) {
|
||||
SimAnalogGyroData[index].SetInitialized(initialized);
|
||||
}
|
||||
}
|
||||
} // extern "C"
|
||||
|
||||
@@ -550,4 +550,4 @@ void HALSIM_SetAnalogInAccumulatorDeadband(int32_t index,
|
||||
int32_t accumulatorDeadband) {
|
||||
SimAnalogInData[index].SetAccumulatorDeadband(accumulatorDeadband);
|
||||
}
|
||||
}
|
||||
} // extern "C"
|
||||
|
||||
@@ -135,4 +135,4 @@ HAL_Bool HALSIM_GetAnalogOutInitialized(int32_t index) {
|
||||
void HALSIM_SetAnalogOutInitialized(int32_t index, HAL_Bool initialized) {
|
||||
SimAnalogOutData[index].SetInitialized(initialized);
|
||||
}
|
||||
}
|
||||
} // extern "C"
|
||||
|
||||
@@ -254,4 +254,4 @@ void HALSIM_SetAnalogTriggerTriggerMode(int32_t index,
|
||||
HALSIM_AnalogTriggerMode triggerMode) {
|
||||
SimAnalogTriggerData[index].SetTriggerMode(triggerMode);
|
||||
}
|
||||
}
|
||||
} // extern "C"
|
||||
|
||||
@@ -303,4 +303,4 @@ int32_t HALSIM_GetDIOFilterIndex(int32_t index) {
|
||||
void HALSIM_SetDIOFilterIndex(int32_t index, int32_t filterIndex) {
|
||||
SimDIOData[index].SetFilterIndex(filterIndex);
|
||||
}
|
||||
}
|
||||
} // extern "C"
|
||||
|
||||
@@ -192,4 +192,4 @@ int32_t HALSIM_GetDigitalPWMPin(int32_t index) {
|
||||
void HALSIM_SetDigitalPWMPin(int32_t index, int32_t pin) {
|
||||
SimDigitalPWMData[index].SetPin(pin);
|
||||
}
|
||||
}
|
||||
} // extern "C"
|
||||
|
||||
@@ -485,4 +485,4 @@ void HALSIM_SetEncoderSamplesToAverage(int32_t index,
|
||||
int32_t samplesToAverage) {
|
||||
SimEncoderData[index].SetSamplesToAverage(samplesToAverage);
|
||||
}
|
||||
}
|
||||
} // extern "C"
|
||||
|
||||
@@ -448,4 +448,4 @@ double HALSIM_GetPCMCompressorCurrent(int32_t index) {
|
||||
void HALSIM_SetPCMCompressorCurrent(int32_t index, double compressorCurrent) {
|
||||
SimPCMData[index].SetCompressorCurrent(compressorCurrent);
|
||||
}
|
||||
}
|
||||
} // extern "C"
|
||||
|
||||
@@ -250,4 +250,4 @@ double HALSIM_GetPDPCurrent(int32_t index, int32_t channel) {
|
||||
void HALSIM_SetPDPCurrent(int32_t index, int32_t channel, double current) {
|
||||
SimPDPData[index].SetCurrent(channel, current);
|
||||
}
|
||||
}
|
||||
} // extern "C"
|
||||
|
||||
@@ -361,4 +361,4 @@ HAL_Bool HALSIM_GetPWMZeroLatch(int32_t index) {
|
||||
void HALSIM_SetPWMZeroLatch(int32_t index, HAL_Bool zeroLatch) {
|
||||
SimPWMData[index].SetZeroLatch(zeroLatch);
|
||||
}
|
||||
}
|
||||
} // extern "C"
|
||||
|
||||
@@ -251,4 +251,4 @@ HAL_Bool HALSIM_GetRelayReverse(int32_t index) {
|
||||
void HALSIM_SetRelayReverse(int32_t index, HAL_Bool reverse) {
|
||||
SimRelayData[index].SetReverse(reverse);
|
||||
}
|
||||
}
|
||||
} // extern "C"
|
||||
|
||||
@@ -887,4 +887,4 @@ int32_t HALSIM_GetRoboRioUserFaults3V3(int32_t index) {
|
||||
void HALSIM_SetRoboRioUserFaults3V3(int32_t index, int32_t userFaults3V3) {
|
||||
SimRoboRioData[index].SetUserFaults3V3(userFaults3V3);
|
||||
}
|
||||
}
|
||||
} // extern "C"
|
||||
|
||||
@@ -306,4 +306,4 @@ double HALSIM_GetSPIAccelerometerZ(int32_t index) {
|
||||
void HALSIM_SetSPIAccelerometerZ(int32_t index, double z) {
|
||||
SimSPIAccelerometerData[index].SetZ(z);
|
||||
}
|
||||
}
|
||||
} // extern "C"
|
||||
|
||||
Reference in New Issue
Block a user