mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
[copybara] mostrobotpy to allwpilib (#8503)
Resync with `mostrobotpy` This mostly involves the big "ignore almost everything in the HAL project" and some fixups for the Addressable LED classes. Required two small hand fixes to get it building over here with bazel, and with more compiler warnings on. I also manually zeroed out the `repo_url` field in the toml files to avoid unnecessary churn whenever it goes from a release build to a development build. I already did this with `version` field in there, and will do a follow up PR that updates the copybara script to do it automatically. --------- Co-authored-by: Default email <default@default.com>
This commit is contained in:
@@ -25,7 +25,7 @@ packages = ["src/native"]
|
||||
[[tool.hatch.build.hooks.robotpy.maven_lib_download]]
|
||||
artifact_id = "hal-cpp"
|
||||
group_id = "org.wpilib.hal"
|
||||
repo_url = "https://frcmaven.wpi.edu/artifactory/release-2027"
|
||||
repo_url = ""
|
||||
version = "0.0.0"
|
||||
|
||||
extract_to = "src/native/wpihal"
|
||||
|
||||
@@ -40,31 +40,12 @@ packages = ["hal"]
|
||||
|
||||
[tool.semiwrap]
|
||||
update_init = []
|
||||
|
||||
# NOTE: By default we ignore all HAL APIs, as most of them are exposed in WPILib
|
||||
# somewhere. If you find something that you need, file a bug and we can add it!
|
||||
|
||||
scan_headers_ignore = [
|
||||
"wpi/hal/Errors.h",
|
||||
"wpi/hal/HAL.h",
|
||||
"wpi/hal/IMU.h",
|
||||
"wpi/hal/IMUTypes.h",
|
||||
"wpi/hal/SystemServer.h",
|
||||
"wpi/hal/Types.h",
|
||||
"wpi/hal/Value.h",
|
||||
|
||||
"wpi/hal/cpp/fpga_clock.h",
|
||||
|
||||
"wpi/hal/handles/DigitalHandleResource.h",
|
||||
"wpi/hal/handles/IndexedClassedHandleResource.h",
|
||||
"wpi/hal/handles/IndexedHandleResource.h",
|
||||
"wpi/hal/handles/LimitedClassedHandleResource.h",
|
||||
"wpi/hal/handles/LimitedHandleResource.h",
|
||||
"wpi/hal/handles/UnlimitedHandleResource.h",
|
||||
|
||||
"wpi/hal/proto/*",
|
||||
|
||||
"wpi/hal/simulation/CanData.h",
|
||||
"wpi/hal/simulation/I2CData.h",
|
||||
"wpi/hal/simulation/NotifyListener.h",
|
||||
"wpi/hal/simulation/SimCallbackRegistry.h",
|
||||
"wpi/hal/simulation/SimDataValue.h",
|
||||
"wpi/hal/*",
|
||||
|
||||
# TODO: might want this in the future
|
||||
"mrc/*",
|
||||
@@ -81,56 +62,16 @@ depends = ["wpiutil", "ntcore"]
|
||||
|
||||
[tool.semiwrap.extension_modules."hal._wpiHal".headers]
|
||||
# hal
|
||||
AddressableLED = "wpi/hal/AddressableLED.h"
|
||||
AddressableLEDTypes = "wpi/hal/AddressableLEDTypes.h"
|
||||
AnalogInput = "wpi/hal/AnalogInput.h"
|
||||
CAN = "wpi/hal/CAN.h"
|
||||
CANAPI = "wpi/hal/CANAPI.h"
|
||||
CANAPITypes = "wpi/hal/CANAPITypes.h"
|
||||
CTREPCM = "wpi/hal/CTREPCM.h"
|
||||
Constants = "wpi/hal/Constants.h"
|
||||
Counter = "wpi/hal/Counter.h"
|
||||
DashboardOpMode = "wpi/hal/DashboardOpMode.hpp"
|
||||
DIO = "wpi/hal/DIO.h"
|
||||
# DMA = "hal/DMA.h"
|
||||
DriverStation = "wpi/hal/DriverStation.h"
|
||||
DriverStationTypes = "wpi/hal/DriverStationTypes.h"
|
||||
DutyCycle = "wpi/hal/DutyCycle.h"
|
||||
Encoder = "wpi/hal/Encoder.h"
|
||||
# Errors = "wpi/hal/Errors.h"
|
||||
Extensions = "wpi/hal/Extensions.h"
|
||||
# HAL = "wpi/hal/HAL.h"
|
||||
HALBase = "wpi/hal/HALBase.h"
|
||||
I2C = "wpi/hal/I2C.h"
|
||||
I2CTypes = "wpi/hal/I2CTypes.h"
|
||||
# IMU = "wpi/hal/IMU.h"
|
||||
# IMUTypes = "wpi/hal/IMUTypes.h"
|
||||
Main = "wpi/hal/Main.h"
|
||||
Notifier = "wpi/hal/Notifier.h"
|
||||
PWM = "wpi/hal/PWM.h"
|
||||
Ports = "wpi/hal/Ports.h"
|
||||
Power = "wpi/hal/Power.h"
|
||||
PowerDistribution = "wpi/hal/PowerDistribution.h"
|
||||
REVPH = "wpi/hal/REVPH.h"
|
||||
SerialPort = "wpi/hal/SerialPort.h"
|
||||
SimDevice = "wpi/hal/SimDevice.h"
|
||||
UsageReporting = "wpi/hal/UsageReporting.h"
|
||||
Threads = "wpi/hal/Threads.h"
|
||||
# Types = "wpi/hal/Types.h"
|
||||
# Value = "wpi/hal/Value.h"
|
||||
|
||||
# hal/cpp
|
||||
# fpga_clock = "wpi/hal/cpp/fpga_clock.h"
|
||||
|
||||
# hal/handles
|
||||
# DigitalHandleResource = "wpi/hal/handles/DigitalHandleResource.h"
|
||||
HandlesInternal = "wpi/hal/handles/HandlesInternal.h"
|
||||
# IndexedClassedHandleResource = "wpi/hal/handles/IndexedClassedHandleResource.h"
|
||||
# IndexedHandleResource = "wpi/hal/handles/IndexedHandleResource.h"
|
||||
# LimitedClassedHandleResource = "wpi/hal/handles/LimitedClassedHandleResource.h"
|
||||
# LimitedHandleResource = "wpi/hal/handles/LimitedHandleResource.h"
|
||||
# UnlimitedHandleResource = "wpi/hal/handles/UnlimitedHandleResource.h"
|
||||
|
||||
UsageReporting = "wpi/hal/UsageReporting.h"
|
||||
|
||||
[tool.semiwrap.extension_modules."hal.simulation._simulation"]
|
||||
name = "hal_simulation"
|
||||
@@ -139,24 +80,8 @@ depends = ["wpiutil", "ntcore"]
|
||||
yaml_path = "semiwrap/simulation"
|
||||
|
||||
[tool.semiwrap.extension_modules."hal.simulation._simulation".headers]
|
||||
AddressableLEDData = "wpi/hal/simulation/AddressableLEDData.h"
|
||||
AnalogInData = "wpi/hal/simulation/AnalogInData.h"
|
||||
CTREPCMData = "wpi/hal/simulation/CTREPCMData.h"
|
||||
# CanData = "wpi/hal/simulation/CanData.h"
|
||||
DIOData = "wpi/hal/simulation/DIOData.h"
|
||||
DigitalPWMData = "wpi/hal/simulation/DigitalPWMData.h"
|
||||
DriverStationData = "wpi/hal/simulation/DriverStationData.h"
|
||||
DutyCycleData = "wpi/hal/simulation/DutyCycleData.h"
|
||||
EncoderData = "wpi/hal/simulation/EncoderData.h"
|
||||
# I2CData = "wpi/hal/simulation/I2CData.h"
|
||||
MockHooks = "wpi/hal/simulation/MockHooks.h"
|
||||
NotifierData = "wpi/hal/simulation/NotifierData.h"
|
||||
# NotifyListener = "wpi/hal/simulation/NotifyListener.h"
|
||||
PWMData = "wpi/hal/simulation/PWMData.h"
|
||||
PowerDistributionData = "wpi/hal/simulation/PowerDistributionData.h"
|
||||
REVPHData = "wpi/hal/simulation/REVPHData.h"
|
||||
Reset = "wpi/hal/simulation/Reset.h"
|
||||
RoboRioData = "wpi/hal/simulation/RoboRioData.h"
|
||||
# SimCallbackRegistry = "wpi/hal/simulation/SimCallbackRegistry.h"
|
||||
# SimDataValue = "wpi/hal/simulation/SimDataValue.h"
|
||||
SimDeviceData = "wpi/hal/simulation/SimDeviceData.h"
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
functions:
|
||||
HAL_InitializeAddressableLED:
|
||||
HAL_FreeAddressableLED:
|
||||
HAL_SetAddressableLEDLength:
|
||||
HAL_SetAddressableLEDStart:
|
||||
HAL_SetAddressableLEDData:
|
||||
@@ -1,14 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
classes:
|
||||
HAL_AddressableLEDData:
|
||||
attributes:
|
||||
b:
|
||||
g:
|
||||
r:
|
||||
enums:
|
||||
HAL_AddressableLEDColorOrder:
|
||||
functions:
|
||||
format_as:
|
||||
ignore: true
|
||||
@@ -1,23 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
functions:
|
||||
HAL_InitializeAnalogInputPort:
|
||||
HAL_FreeAnalogInputPort:
|
||||
HAL_CheckAnalogModule:
|
||||
HAL_CheckAnalogInputChannel:
|
||||
HAL_SetAnalogInputSimDevice:
|
||||
HAL_SetAnalogSampleRate:
|
||||
HAL_GetAnalogSampleRate:
|
||||
HAL_SetAnalogAverageBits:
|
||||
HAL_GetAnalogAverageBits:
|
||||
HAL_SetAnalogOversampleBits:
|
||||
HAL_GetAnalogOversampleBits:
|
||||
HAL_GetAnalogValue:
|
||||
HAL_GetAnalogAverageValue:
|
||||
HAL_GetAnalogVoltsToValue:
|
||||
HAL_GetAnalogVoltage:
|
||||
HAL_GetAnalogAverageVoltage:
|
||||
HAL_GetAnalogLSBWeight:
|
||||
HAL_GetAnalogOffset:
|
||||
HAL_GetAnalogValueToVolts:
|
||||
@@ -1,16 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
functions:
|
||||
HAL_CAN_SendMessage:
|
||||
HAL_CAN_ReceiveMessage:
|
||||
HAL_CAN_OpenStreamSession:
|
||||
HAL_CAN_CloseStreamSession:
|
||||
HAL_CAN_ReadStreamSession:
|
||||
ignore: true # TODO: an array of messages
|
||||
HAL_CAN_GetCANStatus:
|
||||
classes:
|
||||
HAL_CANStreamMessage:
|
||||
attributes:
|
||||
messageId:
|
||||
message:
|
||||
@@ -1,13 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
functions:
|
||||
HAL_InitializeCAN:
|
||||
HAL_CleanCAN:
|
||||
HAL_WriteCANPacket:
|
||||
HAL_WriteCANPacketRepeating:
|
||||
HAL_WriteCANRTRFrame:
|
||||
HAL_StopCANPacketRepeating:
|
||||
HAL_ReadCANPacketNew:
|
||||
HAL_ReadCANPacketLatest:
|
||||
HAL_ReadCANPacketTimeout:
|
||||
@@ -1,26 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
functions:
|
||||
HAL_InitializeCTREPCM:
|
||||
HAL_FreeCTREPCM:
|
||||
HAL_CheckCTREPCMSolenoidChannel:
|
||||
HAL_GetCTREPCMCompressor:
|
||||
HAL_SetCTREPCMClosedLoopControl:
|
||||
HAL_GetCTREPCMClosedLoopControl:
|
||||
HAL_GetCTREPCMPressureSwitch:
|
||||
HAL_GetCTREPCMCompressorCurrent:
|
||||
HAL_GetCTREPCMCompressorCurrentTooHighFault:
|
||||
HAL_GetCTREPCMCompressorCurrentTooHighStickyFault:
|
||||
HAL_GetCTREPCMCompressorShortedStickyFault:
|
||||
HAL_GetCTREPCMCompressorShortedFault:
|
||||
HAL_GetCTREPCMCompressorNotConnectedStickyFault:
|
||||
HAL_GetCTREPCMCompressorNotConnectedFault:
|
||||
HAL_GetCTREPCMSolenoids:
|
||||
HAL_SetCTREPCMSolenoids:
|
||||
HAL_GetCTREPCMSolenoidDisabledList:
|
||||
HAL_GetCTREPCMSolenoidVoltageStickyFault:
|
||||
HAL_GetCTREPCMSolenoidVoltageFault:
|
||||
HAL_ClearAllCTREPCMStickyFaults:
|
||||
HAL_FireCTREPCMOneShot:
|
||||
HAL_SetCTREPCMOneShotDuration:
|
||||
@@ -1,5 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
functions:
|
||||
HAL_GetSystemClockTicksPerMicrosecond:
|
||||
@@ -1,12 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
functions:
|
||||
HAL_InitializeCounter:
|
||||
HAL_FreeCounter:
|
||||
HAL_ResetCounter:
|
||||
HAL_GetCounter:
|
||||
HAL_GetCounterPeriod:
|
||||
HAL_SetCounterMaxPeriod:
|
||||
HAL_GetCounterStopped:
|
||||
HAL_SetCounterEdgeConfiguration:
|
||||
@@ -1,22 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
functions:
|
||||
HAL_InitializeDIOPort:
|
||||
HAL_CheckDIOChannel:
|
||||
HAL_FreeDIOPort:
|
||||
HAL_SetDIOSimDevice:
|
||||
HAL_AllocateDigitalPWM:
|
||||
HAL_FreeDigitalPWM:
|
||||
HAL_SetDigitalPWMRate:
|
||||
HAL_SetDigitalPWMDutyCycle:
|
||||
HAL_SetDigitalPWMPPS:
|
||||
HAL_SetDigitalPWMOutputChannel:
|
||||
HAL_SetDIO:
|
||||
HAL_SetDIODirection:
|
||||
HAL_GetDIO:
|
||||
HAL_GetDIODirection:
|
||||
HAL_Pulse:
|
||||
HAL_PulseMultiple:
|
||||
HAL_IsPulsing:
|
||||
HAL_IsAnyPulsing:
|
||||
@@ -1,6 +0,0 @@
|
||||
functions:
|
||||
InitializeDashboardOpMode:
|
||||
SetDashboardOpModeOptions:
|
||||
StartDashboardOpMode:
|
||||
EnableDashboardOpMode:
|
||||
GetDashboardSelectedOpMode:
|
||||
@@ -1,11 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
functions:
|
||||
HAL_InitializeDutyCycle:
|
||||
HAL_FreeDutyCycle:
|
||||
HAL_SetDutyCycleSimDevice:
|
||||
ifndef: __FRC_SYSTEMCORE__
|
||||
HAL_GetDutyCycleFrequency:
|
||||
HAL_GetDutyCycleOutput:
|
||||
HAL_GetDutyCycleHighTime:
|
||||
@@ -1,31 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
enums:
|
||||
HAL_EncoderIndexingType:
|
||||
value_prefix: HAL
|
||||
HAL_EncoderEncodingType:
|
||||
value_prefix: HAL
|
||||
functions:
|
||||
HAL_InitializeEncoder:
|
||||
HAL_FreeEncoder:
|
||||
HAL_SetEncoderSimDevice:
|
||||
HAL_GetEncoder:
|
||||
HAL_GetEncoderRaw:
|
||||
HAL_GetEncoderEncodingScale:
|
||||
HAL_ResetEncoder:
|
||||
HAL_GetEncoderPeriod:
|
||||
HAL_SetEncoderMaxPeriod:
|
||||
HAL_GetEncoderStopped:
|
||||
HAL_GetEncoderDirection:
|
||||
HAL_GetEncoderDistance:
|
||||
HAL_GetEncoderRate:
|
||||
HAL_SetEncoderMinRate:
|
||||
HAL_SetEncoderDistancePerPulse:
|
||||
HAL_SetEncoderReverseDirection:
|
||||
HAL_SetEncoderSamplesToAverage:
|
||||
HAL_GetEncoderSamplesToAverage:
|
||||
HAL_GetEncoderFPGAIndex:
|
||||
HAL_GetEncoderDecodingScaleFactor:
|
||||
HAL_GetEncoderDistancePerPulse:
|
||||
HAL_GetEncoderEncodingType:
|
||||
@@ -1,15 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
enums:
|
||||
HAL_HandleEnum:
|
||||
functions:
|
||||
getHandleIndex:
|
||||
getHandleType:
|
||||
isHandleType:
|
||||
isHandleCorrectVersion:
|
||||
getHandleTypedIndex:
|
||||
createHandle:
|
||||
classes:
|
||||
wpi::hal::HandleBase:
|
||||
ignore: true
|
||||
@@ -1,16 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
functions:
|
||||
HAL_InitializeI2C:
|
||||
HAL_TransactionI2C:
|
||||
buffers:
|
||||
- {type: IN, src: dataToSend, len: sendSize}
|
||||
- {type: OUT, src: dataReceived, len: receiveSize}
|
||||
HAL_WriteI2C:
|
||||
buffers:
|
||||
- {type: IN, src: dataToSend, len: sendSize}
|
||||
HAL_ReadI2C:
|
||||
buffers:
|
||||
- {type: OUT, src: buffer, len: count}
|
||||
HAL_CloseI2C:
|
||||
@@ -1,6 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
enums:
|
||||
HAL_I2CPort:
|
||||
value_prefix: HAL_I2C
|
||||
@@ -1,11 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
functions:
|
||||
HAL_InitializePWMPort:
|
||||
HAL_FreePWMPort:
|
||||
HAL_CheckPWMChannel:
|
||||
HAL_SetPWMPulseTimeMicroseconds:
|
||||
HAL_GetPWMPulseTimeMicroseconds:
|
||||
HAL_SetPWMSimDevice:
|
||||
HAL_SetPWMOutputPeriod:
|
||||
@@ -1,22 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
functions:
|
||||
HAL_GetNumAnalogInputs:
|
||||
HAL_GetNumCounters:
|
||||
HAL_GetNumDigitalChannels:
|
||||
HAL_GetNumPWMChannels:
|
||||
HAL_GetNumDigitalPWMOutputs:
|
||||
HAL_GetNumEncoders:
|
||||
HAL_GetNumInterrupts:
|
||||
HAL_GetNumDutyCycles:
|
||||
HAL_GetNumAddressableLEDs:
|
||||
HAL_GetNumCTREPCMModules:
|
||||
HAL_GetNumCTRESolenoidChannels:
|
||||
HAL_GetNumCTREPDPModules:
|
||||
HAL_GetNumCTREPDPChannels:
|
||||
HAL_GetNumREVPDHModules:
|
||||
HAL_GetNumREVPDHChannels:
|
||||
HAL_GetNumREVPHModules:
|
||||
HAL_GetNumREVPHChannels:
|
||||
HAL_GetNumCanBuses:
|
||||
@@ -1,14 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
functions:
|
||||
HAL_GetVinVoltage:
|
||||
HAL_GetUserVoltage3V3:
|
||||
HAL_GetUserCurrent3V3:
|
||||
HAL_GetUserActive3V3:
|
||||
HAL_GetUserCurrentFaults3V3:
|
||||
HAL_SetUserRailEnabled3V3:
|
||||
HAL_GetBrownoutVoltage:
|
||||
HAL_SetBrownoutVoltage:
|
||||
HAL_GetCPUTemp:
|
||||
HAL_ResetUserCurrentFaults:
|
||||
@@ -1,105 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
enums:
|
||||
HAL_PowerDistributionType:
|
||||
functions:
|
||||
HAL_InitializePowerDistribution:
|
||||
HAL_GetPowerDistributionModuleNumber:
|
||||
HAL_CleanPowerDistribution:
|
||||
HAL_CheckPowerDistributionChannel:
|
||||
HAL_CheckPowerDistributionModule:
|
||||
HAL_GetPowerDistributionType:
|
||||
HAL_GetPowerDistributionNumChannels:
|
||||
HAL_GetPowerDistributionTemperature:
|
||||
HAL_GetPowerDistributionVoltage:
|
||||
HAL_GetPowerDistributionChannelCurrent:
|
||||
HAL_GetPowerDistributionAllChannelCurrents:
|
||||
HAL_GetPowerDistributionTotalCurrent:
|
||||
HAL_GetPowerDistributionTotalPower:
|
||||
HAL_GetPowerDistributionTotalEnergy:
|
||||
HAL_ResetPowerDistributionTotalEnergy:
|
||||
HAL_ClearPowerDistributionStickyFaults:
|
||||
HAL_SetPowerDistributionSwitchableChannel:
|
||||
HAL_GetPowerDistributionSwitchableChannel:
|
||||
HAL_GetPowerDistributionVersion:
|
||||
HAL_GetPowerDistributionFaults:
|
||||
HAL_GetPowerDistributionStickyFaults:
|
||||
HAL_StartPowerDistributionStream:
|
||||
ifdef: __FRC_SYSTEMCORE__
|
||||
HAL_GetPowerDistributionStreamData:
|
||||
ifdef: __FRC_SYSTEMCORE__
|
||||
HAL_FreePowerDistributionStreamData:
|
||||
ifdef: __FRC_SYSTEMCORE__
|
||||
HAL_StopPowerDistributionStream:
|
||||
ifdef: __FRC_SYSTEMCORE__
|
||||
classes:
|
||||
HAL_PowerDistributionVersion:
|
||||
attributes:
|
||||
firmwareMajor:
|
||||
firmwareMinor:
|
||||
firmwareFix:
|
||||
hardwareMinor:
|
||||
hardwareMajor:
|
||||
uniqueId:
|
||||
HAL_PowerDistributionFaults:
|
||||
attributes:
|
||||
channel0BreakerFault:
|
||||
channel1BreakerFault:
|
||||
channel2BreakerFault:
|
||||
channel3BreakerFault:
|
||||
channel4BreakerFault:
|
||||
channel5BreakerFault:
|
||||
channel6BreakerFault:
|
||||
channel7BreakerFault:
|
||||
channel8BreakerFault:
|
||||
channel9BreakerFault:
|
||||
channel10BreakerFault:
|
||||
channel11BreakerFault:
|
||||
channel12BreakerFault:
|
||||
channel13BreakerFault:
|
||||
channel14BreakerFault:
|
||||
channel15BreakerFault:
|
||||
channel16BreakerFault:
|
||||
channel17BreakerFault:
|
||||
channel18BreakerFault:
|
||||
channel19BreakerFault:
|
||||
channel20BreakerFault:
|
||||
channel21BreakerFault:
|
||||
channel22BreakerFault:
|
||||
channel23BreakerFault:
|
||||
brownout:
|
||||
canWarning:
|
||||
hardwareFault:
|
||||
HAL_PowerDistributionStickyFaults:
|
||||
attributes:
|
||||
channel0BreakerFault:
|
||||
channel1BreakerFault:
|
||||
channel2BreakerFault:
|
||||
channel3BreakerFault:
|
||||
channel4BreakerFault:
|
||||
channel5BreakerFault:
|
||||
channel6BreakerFault:
|
||||
channel7BreakerFault:
|
||||
channel8BreakerFault:
|
||||
channel9BreakerFault:
|
||||
channel10BreakerFault:
|
||||
channel11BreakerFault:
|
||||
channel12BreakerFault:
|
||||
channel13BreakerFault:
|
||||
channel14BreakerFault:
|
||||
channel15BreakerFault:
|
||||
channel16BreakerFault:
|
||||
channel17BreakerFault:
|
||||
channel18BreakerFault:
|
||||
channel19BreakerFault:
|
||||
channel20BreakerFault:
|
||||
channel21BreakerFault:
|
||||
channel22BreakerFault:
|
||||
channel23BreakerFault:
|
||||
brownout:
|
||||
canWarning:
|
||||
canBusOff:
|
||||
hasReset:
|
||||
hardwareFault:
|
||||
firmwareFault:
|
||||
@@ -1,82 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
enums:
|
||||
HAL_REVPHCompressorConfigType:
|
||||
functions:
|
||||
HAL_InitializeREVPH:
|
||||
HAL_FreeREVPH:
|
||||
HAL_CheckREVPHSolenoidChannel:
|
||||
HAL_CheckREVPHModuleNumber:
|
||||
HAL_GetREVPHCompressor:
|
||||
HAL_SetREVPHCompressorConfig:
|
||||
HAL_SetREVPHClosedLoopControlDisabled:
|
||||
HAL_SetREVPHClosedLoopControlDigital:
|
||||
HAL_SetREVPHClosedLoopControlAnalog:
|
||||
HAL_SetREVPHClosedLoopControlHybrid:
|
||||
HAL_GetREVPHCompressorConfig:
|
||||
HAL_GetREVPHPressureSwitch:
|
||||
HAL_GetREVPHCompressorCurrent:
|
||||
HAL_GetREVPHAnalogVoltage:
|
||||
HAL_GetREVPHVoltage:
|
||||
HAL_GetREVPH5VVoltage:
|
||||
HAL_GetREVPHSolenoidCurrent:
|
||||
HAL_GetREVPHSolenoidVoltage:
|
||||
HAL_GetREVPHVersion:
|
||||
HAL_GetREVPHSolenoids:
|
||||
HAL_SetREVPHSolenoids:
|
||||
HAL_FireREVPHOneShot:
|
||||
HAL_GetREVPHFaults:
|
||||
HAL_GetREVPHStickyFaults:
|
||||
HAL_ClearREVPHStickyFaults:
|
||||
HAL_GetREVPHSolenoidDisabledList:
|
||||
classes:
|
||||
HAL_REVPHVersion:
|
||||
attributes:
|
||||
firmwareMajor:
|
||||
firmwareMinor:
|
||||
firmwareFix:
|
||||
hardwareMinor:
|
||||
hardwareMajor:
|
||||
uniqueId:
|
||||
HAL_REVPHCompressorConfig:
|
||||
attributes:
|
||||
minAnalogVoltage:
|
||||
maxAnalogVoltage:
|
||||
forceDisable:
|
||||
useDigital:
|
||||
HAL_REVPHFaults:
|
||||
attributes:
|
||||
channel0Fault:
|
||||
channel1Fault:
|
||||
channel2Fault:
|
||||
channel3Fault:
|
||||
channel4Fault:
|
||||
channel5Fault:
|
||||
channel6Fault:
|
||||
channel7Fault:
|
||||
channel8Fault:
|
||||
channel9Fault:
|
||||
channel10Fault:
|
||||
channel11Fault:
|
||||
channel12Fault:
|
||||
channel13Fault:
|
||||
channel14Fault:
|
||||
channel15Fault:
|
||||
compressorOverCurrent:
|
||||
compressorOpen:
|
||||
solenoidOverCurrent:
|
||||
brownout:
|
||||
canWarning:
|
||||
hardwareFault:
|
||||
HAL_REVPHStickyFaults:
|
||||
attributes:
|
||||
compressorOverCurrent:
|
||||
compressorOpen:
|
||||
solenoidOverCurrent:
|
||||
brownout:
|
||||
canWarning:
|
||||
canBusOff:
|
||||
hasReset:
|
||||
hardwareFault:
|
||||
firmwareFault:
|
||||
@@ -1,30 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
enums:
|
||||
HAL_SerialPort:
|
||||
functions:
|
||||
HAL_InitializeSerialPort:
|
||||
HAL_InitializeSerialPortDirect:
|
||||
HAL_GetSerialFD:
|
||||
HAL_SetSerialBaudRate:
|
||||
HAL_SetSerialDataBits:
|
||||
HAL_SetSerialParity:
|
||||
HAL_SetSerialStopBits:
|
||||
HAL_SetSerialWriteMode:
|
||||
HAL_SetSerialFlowControl:
|
||||
HAL_SetSerialTimeout:
|
||||
HAL_EnableSerialTermination:
|
||||
HAL_DisableSerialTermination:
|
||||
HAL_SetSerialReadBufferSize:
|
||||
HAL_SetSerialWriteBufferSize:
|
||||
HAL_GetSerialBytesReceived:
|
||||
HAL_ReadSerial:
|
||||
buffers:
|
||||
- {type: OUT, src: buffer, len: count}
|
||||
HAL_WriteSerial:
|
||||
buffers:
|
||||
- {type: IN, src: buffer, len: count}
|
||||
HAL_FlushSerial:
|
||||
HAL_ClearSerial:
|
||||
HAL_CloseSerial:
|
||||
@@ -1,31 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HALSIM_
|
||||
|
||||
functions:
|
||||
HALSIM_ResetAddressableLEDData:
|
||||
HALSIM_RegisterAddressableLEDInitializedCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelAddressableLEDInitializedCallback:
|
||||
ignore: true
|
||||
HALSIM_GetAddressableLEDInitialized:
|
||||
HALSIM_SetAddressableLEDInitialized:
|
||||
HALSIM_RegisterAddressableLEDStartCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelAddressableLEDStartCallback:
|
||||
ignore: true
|
||||
HALSIM_GetAddressableLEDStart:
|
||||
HALSIM_SetAddressableLEDStart:
|
||||
HALSIM_RegisterAddressableLEDLengthCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelAddressableLEDLengthCallback:
|
||||
ignore: true
|
||||
HALSIM_GetAddressableLEDLength:
|
||||
HALSIM_SetAddressableLEDLength:
|
||||
HALSIM_RegisterAddressableLEDDataCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelAddressableLEDDataCallback:
|
||||
ignore: true
|
||||
HALSIM_GetAddressableLEDData:
|
||||
HALSIM_SetAddressableLEDData:
|
||||
HALSIM_RegisterAddressableLEDAllCallbacks:
|
||||
ignore: true
|
||||
@@ -1,28 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HALSIM_
|
||||
|
||||
functions:
|
||||
HALSIM_ResetAnalogInData:
|
||||
HALSIM_RegisterAnalogInInitializedCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelAnalogInInitializedCallback:
|
||||
HALSIM_GetAnalogInInitialized:
|
||||
HALSIM_SetAnalogInInitialized:
|
||||
HALSIM_GetAnalogInSimDevice:
|
||||
HALSIM_RegisterAnalogInAverageBitsCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelAnalogInAverageBitsCallback:
|
||||
HALSIM_GetAnalogInAverageBits:
|
||||
HALSIM_SetAnalogInAverageBits:
|
||||
HALSIM_RegisterAnalogInOversampleBitsCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelAnalogInOversampleBitsCallback:
|
||||
HALSIM_GetAnalogInOversampleBits:
|
||||
HALSIM_SetAnalogInOversampleBits:
|
||||
HALSIM_RegisterAnalogInVoltageCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelAnalogInVoltageCallback:
|
||||
HALSIM_GetAnalogInVoltage:
|
||||
HALSIM_SetAnalogInVoltage:
|
||||
HALSIM_RegisterAnalogInAllCallbacks:
|
||||
ignore: true
|
||||
@@ -1,47 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HALSIM_
|
||||
|
||||
functions:
|
||||
HALSIM_ResetCTREPCMData:
|
||||
HALSIM_RegisterCTREPCMInitializedCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelCTREPCMInitializedCallback:
|
||||
ignore: true
|
||||
HALSIM_GetCTREPCMInitialized:
|
||||
HALSIM_SetCTREPCMInitialized:
|
||||
HALSIM_RegisterCTREPCMSolenoidOutputCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelCTREPCMSolenoidOutputCallback:
|
||||
ignore: true
|
||||
HALSIM_GetCTREPCMSolenoidOutput:
|
||||
HALSIM_SetCTREPCMSolenoidOutput:
|
||||
HALSIM_RegisterCTREPCMCompressorOnCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelCTREPCMCompressorOnCallback:
|
||||
ignore: true
|
||||
HALSIM_GetCTREPCMCompressorOn:
|
||||
HALSIM_SetCTREPCMCompressorOn:
|
||||
HALSIM_RegisterCTREPCMClosedLoopEnabledCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelCTREPCMClosedLoopEnabledCallback:
|
||||
ignore: true
|
||||
HALSIM_GetCTREPCMClosedLoopEnabled:
|
||||
HALSIM_SetCTREPCMClosedLoopEnabled:
|
||||
HALSIM_RegisterCTREPCMPressureSwitchCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelCTREPCMPressureSwitchCallback:
|
||||
ignore: true
|
||||
HALSIM_GetCTREPCMPressureSwitch:
|
||||
HALSIM_SetCTREPCMPressureSwitch:
|
||||
HALSIM_RegisterCTREPCMCompressorCurrentCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelCTREPCMCompressorCurrentCallback:
|
||||
ignore: true
|
||||
HALSIM_GetCTREPCMCompressorCurrent:
|
||||
HALSIM_SetCTREPCMCompressorCurrent:
|
||||
HALSIM_GetCTREPCMAllSolenoids:
|
||||
HALSIM_SetCTREPCMAllSolenoids:
|
||||
HALSIM_RegisterCTREPCMAllNonSolenoidCallbacks:
|
||||
ignore: true
|
||||
HALSIM_RegisterCTREPCMAllSolenoidCallbacks:
|
||||
ignore: true
|
||||
@@ -1,33 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HALSIM_
|
||||
|
||||
functions:
|
||||
HALSIM_ResetDIOData:
|
||||
HALSIM_RegisterDIOInitializedCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelDIOInitializedCallback:
|
||||
HALSIM_GetDIOInitialized:
|
||||
HALSIM_SetDIOInitialized:
|
||||
HALSIM_GetDIOSimDevice:
|
||||
HALSIM_RegisterDIOValueCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelDIOValueCallback:
|
||||
HALSIM_GetDIOValue:
|
||||
HALSIM_SetDIOValue:
|
||||
HALSIM_RegisterDIOPulseLengthCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelDIOPulseLengthCallback:
|
||||
HALSIM_GetDIOPulseLength:
|
||||
HALSIM_SetDIOPulseLength:
|
||||
HALSIM_RegisterDIOIsInputCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelDIOIsInputCallback:
|
||||
HALSIM_GetDIOIsInput:
|
||||
HALSIM_SetDIOIsInput:
|
||||
HALSIM_RegisterDIOFilterIndexCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelDIOFilterIndexCallback:
|
||||
HALSIM_GetDIOFilterIndex:
|
||||
HALSIM_SetDIOFilterIndex:
|
||||
HALSIM_RegisterDIOAllCallbacks:
|
||||
ignore: true
|
||||
@@ -1,23 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HALSIM_
|
||||
|
||||
functions:
|
||||
HALSIM_FindDigitalPWMForChannel:
|
||||
HALSIM_ResetDigitalPWMData:
|
||||
HALSIM_RegisterDigitalPWMInitializedCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelDigitalPWMInitializedCallback:
|
||||
HALSIM_GetDigitalPWMInitialized:
|
||||
HALSIM_SetDigitalPWMInitialized:
|
||||
HALSIM_RegisterDigitalPWMDutyCycleCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelDigitalPWMDutyCycleCallback:
|
||||
HALSIM_GetDigitalPWMDutyCycle:
|
||||
HALSIM_SetDigitalPWMDutyCycle:
|
||||
HALSIM_RegisterDigitalPWMPinCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelDigitalPWMPinCallback:
|
||||
HALSIM_GetDigitalPWMPin:
|
||||
HALSIM_SetDigitalPWMPin:
|
||||
HALSIM_RegisterDigitalPWMAllCallbacks:
|
||||
ignore: true
|
||||
@@ -1,23 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HALSIM_
|
||||
|
||||
functions:
|
||||
HALSIM_ResetDutyCycleData:
|
||||
HALSIM_RegisterDutyCycleInitializedCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelDutyCycleInitializedCallback:
|
||||
HALSIM_GetDutyCycleInitialized:
|
||||
HALSIM_SetDutyCycleInitialized:
|
||||
HALSIM_GetDutyCycleSimDevice:
|
||||
HALSIM_RegisterDutyCycleOutputCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelDutyCycleOutputCallback:
|
||||
HALSIM_GetDutyCycleOutput:
|
||||
HALSIM_SetDutyCycleOutput:
|
||||
HALSIM_RegisterDutyCycleFrequencyCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelDutyCycleFrequencyCallback:
|
||||
HALSIM_GetDutyCycleFrequency:
|
||||
HALSIM_SetDutyCycleFrequency:
|
||||
HALSIM_RegisterDutyCycleAllCallbacks:
|
||||
ignore: true
|
||||
@@ -1,60 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HALSIM_
|
||||
|
||||
functions:
|
||||
HALSIM_FindEncoderForChannel:
|
||||
HALSIM_ResetEncoderData:
|
||||
HALSIM_GetEncoderDigitalChannelA:
|
||||
HALSIM_GetEncoderDigitalChannelB:
|
||||
HALSIM_RegisterEncoderInitializedCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelEncoderInitializedCallback:
|
||||
HALSIM_GetEncoderInitialized:
|
||||
HALSIM_SetEncoderInitialized:
|
||||
HALSIM_GetEncoderSimDevice:
|
||||
HALSIM_RegisterEncoderCountCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelEncoderCountCallback:
|
||||
HALSIM_GetEncoderCount:
|
||||
HALSIM_SetEncoderCount:
|
||||
HALSIM_RegisterEncoderPeriodCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelEncoderPeriodCallback:
|
||||
HALSIM_GetEncoderPeriod:
|
||||
HALSIM_SetEncoderPeriod:
|
||||
HALSIM_RegisterEncoderResetCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelEncoderResetCallback:
|
||||
HALSIM_GetEncoderReset:
|
||||
HALSIM_SetEncoderReset:
|
||||
HALSIM_RegisterEncoderMaxPeriodCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelEncoderMaxPeriodCallback:
|
||||
HALSIM_GetEncoderMaxPeriod:
|
||||
HALSIM_SetEncoderMaxPeriod:
|
||||
HALSIM_RegisterEncoderDirectionCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelEncoderDirectionCallback:
|
||||
HALSIM_GetEncoderDirection:
|
||||
HALSIM_SetEncoderDirection:
|
||||
HALSIM_RegisterEncoderReverseDirectionCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelEncoderReverseDirectionCallback:
|
||||
HALSIM_GetEncoderReverseDirection:
|
||||
HALSIM_SetEncoderReverseDirection:
|
||||
HALSIM_RegisterEncoderSamplesToAverageCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelEncoderSamplesToAverageCallback:
|
||||
HALSIM_GetEncoderSamplesToAverage:
|
||||
HALSIM_SetEncoderSamplesToAverage:
|
||||
HALSIM_RegisterEncoderDistancePerPulseCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelEncoderDistancePerPulseCallback:
|
||||
HALSIM_GetEncoderDistancePerPulse:
|
||||
HALSIM_SetEncoderDistancePerPulse:
|
||||
HALSIM_RegisterEncoderAllCallbacks:
|
||||
ignore: true
|
||||
HALSIM_SetEncoderDistance:
|
||||
HALSIM_GetEncoderDistance:
|
||||
HALSIM_SetEncoderRate:
|
||||
HALSIM_GetEncoderRate:
|
||||
@@ -1,25 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HALSIM_
|
||||
|
||||
functions:
|
||||
HALSIM_ResetPWMData:
|
||||
HALSIM_RegisterPWMInitializedCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelPWMInitializedCallback:
|
||||
HALSIM_GetPWMInitialized:
|
||||
HALSIM_SetPWMInitialized:
|
||||
HALSIM_RegisterPWMPulseMicrosecondCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelPWMPulseMicrosecondCallback:
|
||||
ignore: true
|
||||
HALSIM_GetPWMPulseMicrosecond:
|
||||
HALSIM_SetPWMPulseMicrosecond:
|
||||
HALSIM_RegisterPWMAllCallbacks:
|
||||
ignore: true
|
||||
HALSIM_GetPWMSimDevice:
|
||||
HALSIM_RegisterPWMOutputPeriodCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelPWMOutputPeriodCallback:
|
||||
ignore: true
|
||||
HALSIM_GetPWMOutputPeriod:
|
||||
HALSIM_SetPWMOutputPeriod:
|
||||
@@ -1,29 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HALSIM_
|
||||
|
||||
functions:
|
||||
HALSIM_ResetPowerDistributionData:
|
||||
HALSIM_RegisterPowerDistributionInitializedCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelPowerDistributionInitializedCallback:
|
||||
HALSIM_GetPowerDistributionInitialized:
|
||||
HALSIM_SetPowerDistributionInitialized:
|
||||
HALSIM_RegisterPowerDistributionTemperatureCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelPowerDistributionTemperatureCallback:
|
||||
HALSIM_GetPowerDistributionTemperature:
|
||||
HALSIM_SetPowerDistributionTemperature:
|
||||
HALSIM_RegisterPowerDistributionVoltageCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelPowerDistributionVoltageCallback:
|
||||
HALSIM_GetPowerDistributionVoltage:
|
||||
HALSIM_SetPowerDistributionVoltage:
|
||||
HALSIM_RegisterPowerDistributionCurrentCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelPowerDistributionCurrentCallback:
|
||||
HALSIM_GetPowerDistributionCurrent:
|
||||
HALSIM_SetPowerDistributionCurrent:
|
||||
HALSIM_GetPowerDistributionAllCurrents:
|
||||
HALSIM_SetPowerDistributionAllCurrents:
|
||||
HALSIM_RegisterPowerDistributionAllNonCurrentCallbacks:
|
||||
ignore: true
|
||||
@@ -1,41 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HALSIM_
|
||||
|
||||
functions:
|
||||
HALSIM_ResetREVPHData:
|
||||
HALSIM_RegisterREVPHInitializedCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelREVPHInitializedCallback:
|
||||
HALSIM_GetREVPHInitialized:
|
||||
HALSIM_SetREVPHInitialized:
|
||||
HALSIM_RegisterREVPHSolenoidOutputCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelREVPHSolenoidOutputCallback:
|
||||
HALSIM_GetREVPHSolenoidOutput:
|
||||
HALSIM_SetREVPHSolenoidOutput:
|
||||
HALSIM_RegisterREVPHCompressorOnCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelREVPHCompressorOnCallback:
|
||||
HALSIM_GetREVPHCompressorOn:
|
||||
HALSIM_SetREVPHCompressorOn:
|
||||
HALSIM_RegisterREVPHCompressorConfigTypeCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelREVPHCompressorConfigTypeCallback:
|
||||
HALSIM_GetREVPHCompressorConfigType:
|
||||
HALSIM_SetREVPHCompressorConfigType:
|
||||
HALSIM_RegisterREVPHPressureSwitchCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelREVPHPressureSwitchCallback:
|
||||
HALSIM_GetREVPHPressureSwitch:
|
||||
HALSIM_SetREVPHPressureSwitch:
|
||||
HALSIM_RegisterREVPHCompressorCurrentCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelREVPHCompressorCurrentCallback:
|
||||
HALSIM_GetREVPHCompressorCurrent:
|
||||
HALSIM_SetREVPHCompressorCurrent:
|
||||
HALSIM_GetREVPHAllSolenoids:
|
||||
HALSIM_SetREVPHAllSolenoids:
|
||||
HALSIM_RegisterREVPHAllNonSolenoidCallbacks:
|
||||
ignore: true
|
||||
HALSIM_RegisterREVPHAllSolenoidCallbacks:
|
||||
ignore: true
|
||||
@@ -1,97 +0,0 @@
|
||||
strip_prefixes:
|
||||
- HALSIM_
|
||||
|
||||
functions:
|
||||
HALSIM_ResetRoboRioData:
|
||||
HALSIM_RegisterRoboRioFPGAButtonCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelRoboRioFPGAButtonCallback:
|
||||
ignore: true
|
||||
HALSIM_GetRoboRioFPGAButton:
|
||||
ignore: true
|
||||
HALSIM_SetRoboRioFPGAButton:
|
||||
ignore: true
|
||||
HALSIM_RegisterRoboRioVInVoltageCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelRoboRioVInVoltageCallback:
|
||||
HALSIM_GetRoboRioVInVoltage:
|
||||
HALSIM_SetRoboRioVInVoltage:
|
||||
HALSIM_RegisterRoboRioUserVoltage3V3Callback:
|
||||
ignore: true
|
||||
HALSIM_CancelRoboRioUserVoltage3V3Callback:
|
||||
HALSIM_GetRoboRioUserVoltage3V3:
|
||||
HALSIM_SetRoboRioUserVoltage3V3:
|
||||
HALSIM_RegisterRoboRioUserCurrent3V3Callback:
|
||||
ignore: true
|
||||
HALSIM_CancelRoboRioUserCurrent3V3Callback:
|
||||
HALSIM_GetRoboRioUserCurrent3V3:
|
||||
HALSIM_SetRoboRioUserCurrent3V3:
|
||||
HALSIM_RegisterRoboRioUserActive3V3Callback:
|
||||
ignore: true
|
||||
HALSIM_CancelRoboRioUserActive3V3Callback:
|
||||
HALSIM_GetRoboRioUserActive3V3:
|
||||
HALSIM_SetRoboRioUserActive3V3:
|
||||
HALSIM_RegisterRoboRioUserFaults3V3Callback:
|
||||
ignore: true
|
||||
HALSIM_CancelRoboRioUserFaults3V3Callback:
|
||||
HALSIM_GetRoboRioUserFaults3V3:
|
||||
HALSIM_SetRoboRioUserFaults3V3:
|
||||
HALSIM_RegisterRoboRioBrownoutVoltageCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelRoboRioBrownoutVoltageCallback:
|
||||
HALSIM_GetRoboRioBrownoutVoltage:
|
||||
HALSIM_SetRoboRioBrownoutVoltage:
|
||||
HALSIM_RegisterRoboRioTeamNumberCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelRoboRioTeamNumberCallback:
|
||||
HALSIM_GetRoboRioTeamNumber:
|
||||
HALSIM_SetRoboRioTeamNumber:
|
||||
HALSIM_RegisterRoboRioSerialNumberCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelRoboRioSerialNumberCallback:
|
||||
HALSIM_GetRoboRioSerialNumber:
|
||||
param_override:
|
||||
serialNumber:
|
||||
ignore: true
|
||||
cpp_code: |
|
||||
[]() {
|
||||
WPI_String s;
|
||||
HALSIM_GetRoboRioSerialNumber(&s);
|
||||
std::string ss(wpi::util::to_string_view(&s));
|
||||
WPI_FreeString(&s);
|
||||
return ss;
|
||||
}
|
||||
HALSIM_SetRoboRioSerialNumber:
|
||||
cpp_code: |
|
||||
[](std::string_view sv) {
|
||||
auto s = wpi::util::make_string(sv);
|
||||
HALSIM_SetRoboRioSerialNumber(&s);
|
||||
}
|
||||
HALSIM_RegisterRoboRioCommentsCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelRoboRioCommentsCallback:
|
||||
HALSIM_GetRoboRioComments:
|
||||
param_override:
|
||||
comments:
|
||||
ignore: true
|
||||
cpp_code: |
|
||||
[]() {
|
||||
WPI_String s;
|
||||
HALSIM_GetRoboRioComments(&s);
|
||||
std::string ss(wpi::util::to_string_view(&s));
|
||||
WPI_FreeString(&s);
|
||||
return ss;
|
||||
}
|
||||
HALSIM_SetRoboRioComments:
|
||||
cpp_code: |
|
||||
[](std::string_view sv) {
|
||||
auto s = wpi::util::make_string(sv);
|
||||
HALSIM_SetRoboRioComments(&s);
|
||||
}
|
||||
HALSIM_RegisterRoboRioAllCallbacks:
|
||||
ignore: true
|
||||
HALSIM_RegisterRoboRioCPUTempCallback:
|
||||
ignore: true
|
||||
HALSIM_CancelRoboRioCPUTempCallback:
|
||||
HALSIM_GetRoboRioCPUTemp:
|
||||
HALSIM_SetRoboRioCPUTemp:
|
||||
Reference in New Issue
Block a user