Skip to content

Commit 90dd173

Browse files
committed
Hand reorder fields, just this once
1 parent 0e37699 commit 90dd173

File tree

93 files changed

+278
-348
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+278
-348
lines changed

subprojects/pyntcore/semiwrap/NetworkTableInstance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ classes:
124124
self->StartServer(persist_filename, listen_address, port);
125125
}
126126
StopServer:
127+
StartClient:
127128
StopClient:
128129
SetServer:
129130
overloads:
@@ -154,7 +155,6 @@ classes:
154155
AddStructSchema:
155156
ignore: true
156157
operator==:
157-
StartClient:
158158
inline_code: |
159159
.def("configPythonLogging", [](NetworkTableInstance * self,
160160
NetworkTableInstance::LogLevel minLevel, NetworkTableInstance::LogLevel maxLevel, py::str logName) {

subprojects/pyntcore/semiwrap/ntcore_cpp.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ classes:
4646
kTimeSync:
4747
nt::TopicInfo:
4848
attributes:
49-
name:
50-
type_str:
51-
properties:
5249
topic:
5350
ignore: true
51+
name:
5452
type:
5553
ignore: true
54+
type_str:
55+
properties:
5656
methods:
5757
GetProperties:
5858
inline_code: |

subprojects/robotpy-apriltag/semiwrap/AprilTag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ classes:
99
ID:
1010
pose:
1111
methods:
12+
operator==:
1213
Generate36h11AprilTagImage:
1314
ignore: true
1415
Generate16h5AprilTagImage:
1516
ignore: true
16-
operator==:

subprojects/robotpy-apriltag/semiwrap/AprilTagFieldLayout.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ classes:
1010
enums:
1111
OriginPosition:
1212
methods:
13+
LoadField:
1314
AprilTagFieldLayout:
1415
overloads:
1516
'':
1617
std::string_view:
1718
std::vector<AprilTag>, units::meter_t, units::meter_t:
18-
LoadField:
1919
GetFieldLength:
2020
GetFieldWidth:
2121
GetTags:

subprojects/robotpy-hal/semiwrap/AddressableLED.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ strip_prefixes:
44
functions:
55
HAL_InitializeAddressableLED:
66
HAL_FreeAddressableLED:
7-
HAL_SetAddressableLEDLength:
87
HAL_SetAddressableLEDStart:
8+
HAL_SetAddressableLEDLength:
99
HAL_SetAddressableLEDData:
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
strip_prefixes:
22
- HAL_
33

4-
classes:
5-
HAL_AddressableLEDData:
6-
attributes:
7-
b:
8-
g:
9-
r:
104
enums:
115
HAL_AddressableLEDColorOrder:
126
functions:
137
format_as:
8+
classes:
9+
HAL_AddressableLEDData:
10+
attributes:
11+
r:
12+
g:
13+
b:

subprojects/robotpy-hal/semiwrap/CAN.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ strip_prefixes:
44
functions:
55
HAL_CAN_SendMessage:
66
HAL_CAN_ReceiveMessage:
7+
HAL_CAN_GetCANStatus:
78
HAL_CAN_OpenStreamSession:
89
HAL_CAN_CloseStreamSession:
910
HAL_CAN_ReadStreamSession:
1011
ignore: true # TODO: an array of messages
11-
HAL_CAN_GetCANStatus:
1212
classes:
1313
HAL_CANStreamMessage:
1414
attributes:

subprojects/robotpy-hal/semiwrap/Counter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ strip_prefixes:
44
functions:
55
HAL_InitializeCounter:
66
HAL_FreeCounter:
7+
HAL_SetCounterEdgeConfiguration:
78
HAL_ResetCounter:
89
HAL_GetCounter:
910
HAL_GetCounterPeriod:
1011
HAL_SetCounterMaxPeriod:
1112
HAL_GetCounterStopped:
12-
HAL_SetCounterEdgeConfiguration:

subprojects/robotpy-hal/semiwrap/DriverStation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ functions:
1313
HAL_GetJoystickButtons:
1414
HAL_GetAllJoystickData:
1515
HAL_GetJoystickDescriptor:
16+
HAL_GetJoystickIsGamepad:
1617
HAL_GetJoystickType:
1718
HAL_GetJoystickName:
1819
param_override:
@@ -39,4 +40,3 @@ functions:
3940
HAL_ObserveUserProgramAutonomous:
4041
HAL_ObserveUserProgramTeleop:
4142
HAL_ObserveUserProgramTest:
42-
HAL_GetJoystickIsGamepad:

subprojects/robotpy-hal/semiwrap/DriverStationTypes.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ extra_includes:
77
enums:
88
HAL_AllianceStationID:
99
value_prefix: HAL_AllianceStationID
10-
HAL_JoystickPOV:
11-
value_prefix: HAL_JoystickPOV
1210
HAL_MatchType:
1311
value_prefix: HAL_kMatchType
12+
HAL_JoystickPOV:
13+
value_prefix: HAL_JoystickPOV
1414
classes:
1515
HAL_ControlWord:
1616
attributes:
@@ -36,13 +36,13 @@ classes:
3636
count:
3737
HAL_JoystickDescriptor:
3838
attributes:
39+
isGamepad:
3940
type:
4041
name:
4142
axisCount:
4243
axisTypes:
4344
buttonCount:
4445
povCount:
45-
isGamepad:
4646
HAL_MatchInfo:
4747
attributes:
4848
eventName:

0 commit comments

Comments
 (0)