mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[robotpy] Mirror most other subprojects (#8208)
GitOrigin-RevId: ac60fd3cf4a24023184376687da28373d14b781a This mirrors the robotpy files for the following projects: - apriltag - datalog - hal - ntcore - romiVendordep - wpilibc - wpimath - xrpVendordep This excludes cscore and the halsim wrappers for at this time. NOTE: This does not hook these projects up to the build system, just simply mirrors the files. The building will take place in a follow up PR to make it easier to review the changes necessary to build.
This commit is contained in:
42
hal/src/main/python/semiwrap/DriverStation.yml
Normal file
42
hal/src/main/python/semiwrap/DriverStation.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
strip_prefixes:
|
||||
- HAL_
|
||||
|
||||
functions:
|
||||
HAL_SendError:
|
||||
HAL_SetPrintErrorImpl:
|
||||
ignore: true
|
||||
HAL_SendConsoleLine:
|
||||
HAL_GetControlWord:
|
||||
HAL_GetAllianceStation:
|
||||
HAL_GetJoystickAxes:
|
||||
HAL_GetJoystickPOVs:
|
||||
HAL_GetJoystickButtons:
|
||||
HAL_GetAllJoystickData:
|
||||
HAL_GetJoystickDescriptor:
|
||||
HAL_GetJoystickType:
|
||||
HAL_GetJoystickName:
|
||||
param_override:
|
||||
name:
|
||||
ignore: true
|
||||
cpp_code: |
|
||||
[](int32_t joystickNum) {
|
||||
WPI_String name;
|
||||
HAL_GetJoystickName(&name, joystickNum);
|
||||
std::string sname(wpi::to_string_view(&name));
|
||||
WPI_FreeString(&name);
|
||||
return sname;
|
||||
}
|
||||
HAL_GetJoystickAxisType:
|
||||
HAL_SetJoystickOutputs:
|
||||
HAL_GetMatchTime:
|
||||
HAL_GetOutputsEnabled:
|
||||
HAL_GetMatchInfo:
|
||||
HAL_RefreshDSData:
|
||||
HAL_ProvideNewDataEventHandle:
|
||||
HAL_RemoveNewDataEventHandle:
|
||||
HAL_ObserveUserProgramStarting:
|
||||
HAL_ObserveUserProgramDisabled:
|
||||
HAL_ObserveUserProgramAutonomous:
|
||||
HAL_ObserveUserProgramTeleop:
|
||||
HAL_ObserveUserProgramTest:
|
||||
HAL_GetJoystickIsGamepad:
|
||||
Reference in New Issue
Block a user