Skip to content

Commit 4ad07d7

Browse files
committed
Various updates
1 parent c6a5dae commit 4ad07d7

Some content is hidden

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

52 files changed

+429
-107
lines changed

subprojects/pyntcore/ntcore/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from . import _init_ntcore
22

3-
# autogenerated by 'robotpy-build create-imports ntcore'
3+
# autogenerated by 'robotpy-build create-imports ntcore ntcore._ntcore'
44
from ._ntcore import (
55
BooleanArrayEntry,
66
BooleanArrayPublisher,

subprojects/pyntcore/pyproject.toml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,19 @@ requires = [
1919

2020
[tool.robotpy-build]
2121
base_package = "ntcore"
22+
update_init = [
23+
"ntcore",
24+
"ntcore.meta ntcore._ntcore.meta"
25+
]
26+
scan_headers_ignore = [
27+
"networktables/ProtobufTopic.h",
28+
"networktables/UnitTopic.h",
29+
30+
"ntcore.h",
31+
"ntcore_c.h",
32+
"ntcore_c_types.h",
33+
"ntcore_test.h",
34+
]
2235

2336
[tool.robotpy-build.wrappers."ntcore".maven_lib_download]
2437
artifact_id = "ntcore-cpp"
@@ -66,11 +79,6 @@ StructArrayTopic = "networktables/StructArrayTopic.h"
6679
StringArrayTopic = "networktables/StringArrayTopic.h"
6780
StringTopic = "networktables/StringTopic.h"
6881
Topic = "networktables/Topic.h"
69-
# UnitTopic = "networktables/UnitTopic.h"
7082

71-
# ntcore = "ntcore.h"
72-
# ntcore_c = "ntcore_c.h"
73-
# ntcore_c_types = "ntcore_c_types.h"
7483
ntcore_cpp = "ntcore_cpp.h"
7584
ntcore_cpp_types = "ntcore_cpp_types.h"
76-
# ntcore_test = "ntcore_test.h"

subprojects/robotpy-apriltag/pyproject.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,21 @@ requires = [
1919

2020
[tool.robotpy-build]
2121
base_package = "robotpy_apriltag"
22+
update_init = [
23+
"robotpy_apriltag robotpy_apriltag._apriltag"
24+
]
25+
scan_headers_ignore = [
26+
"common/*",
27+
28+
"apriltag.h",
29+
"apriltag_math.h",
30+
"apriltag_pose.h",
31+
32+
"frc/apriltag/AprilTagDetector_cv.h",
33+
34+
"tag16h5.h",
35+
"tag36h11.h",
36+
]
2237

2338
[tool.robotpy-build.wrappers."robotpy_apriltag".maven_lib_download]
2439
artifact_id = "apriltag-cpp"

subprojects/robotpy-cscore/cscore/__init__.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
from . import _init_cscore
22

3-
from ._logging import enableLogging
4-
5-
# autogenerated by 'robotpy-build create-imports cscore'
3+
# autogenerated by 'robotpy-build create-imports cscore cscore._cscore'
64
from ._cscore import (
75
AxisCamera,
86
CameraServer,
@@ -49,9 +47,12 @@
4947
"runMainRunLoop",
5048
"runMainRunLoopTimeout",
5149
"stopMainRunLoop",
52-
"enableLogging",
5350
]
5451

52+
from ._logging import enableLogging
53+
54+
__all__.append("enableLogging")
55+
5556
try:
5657
from .version import __version__
5758
except ImportError:

subprojects/robotpy-cscore/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ requires = [
2222

2323
[tool.robotpy-build]
2424
base_package = "cscore"
25+
update_init = [
26+
"cscore"
27+
]
2528

2629
[tool.robotpy-build.static_libs."cscore_cpp".maven_lib_download]
2730
artifact_id = "cscore-cpp"

subprojects/robotpy-wpilib/gen/ADIS16470_IMU.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ classes:
77
ADIS16470_IMU:
88
attributes:
99
m_yaw_axis:
10+
m_pitch_axis:
11+
m_roll_axis:
1012
enums:
1113
CalibrationTime:
1214
IMUAxis:

subprojects/robotpy-wpilib/gen/Accelerometer.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

subprojects/robotpy-wpilib/gen/AnalogEncoder.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ classes:
1818
AnalogInput*:
1919
ignore: true
2020
std::shared_ptr<AnalogInput>:
21+
int, double, double:
22+
AnalogInput&, double, double:
23+
ignore: true
24+
AnalogInput*, double, double:
25+
ignore: true
26+
std::shared_ptr<AnalogInput>, double, double:
2127
Reset:
2228
Get:
2329
GetAbsolutePosition:
@@ -27,4 +33,6 @@ classes:
2733
GetDistancePerRotation:
2834
GetDistance:
2935
GetChannel:
36+
SetVoltagePercentageRange:
37+
SetInverted:
3038
InitSendable:

subprojects/robotpy-wpilib/gen/DutyCycleEncoder.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ classes:
2424
DigitalSource*:
2525
ignore: true
2626
std::shared_ptr<DigitalSource>:
27+
int, double, double:
28+
DutyCycle&, double, double:
29+
ignore: true
30+
DutyCycle*, double, double:
31+
ignore: true
32+
std::shared_ptr<DutyCycle>, double, double:
33+
DigitalSource&, double, double:
34+
ignore: true
35+
DigitalSource*, double, double:
36+
ignore: true
37+
std::shared_ptr<DigitalSource>, double, double:
2738
GetFrequency:
2839
IsConnected:
2940
SetConnectedFrequencyThreshold:
@@ -38,6 +49,8 @@ classes:
3849
SetDutyCycleRange:
3950
GetFPGAIndex:
4051
GetSourceChannel:
52+
SetAssumedFrequency:
53+
SetInverted:
4154
InitSendable:
4255

4356
inline_code: |

subprojects/robotpy-wpilib/gen/Gyro.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)