mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[robotpy] Sync robotpy (#8318)
Project import generated by Copybara. GitOrigin-RevId: f6818c55dda55da1226e47a05a22d30f7cc477f1
This commit is contained in:
@@ -4,25 +4,25 @@ requires = [
|
||||
"hatchling",
|
||||
"hatch-nativelib~=0.2.0",
|
||||
"hatch-robotpy~=0.2.1",
|
||||
"robotpy-native-wpiutil==2027.0.0a2",
|
||||
"robotpy-native-wpinet==2027.0.0a2",
|
||||
"robotpy-native-ntcore==2027.0.0a2",
|
||||
"robotpy-native-wpimath==2027.0.0a2",
|
||||
"robotpy-native-wpihal==2027.0.0a2",
|
||||
"robotpy-native-wpiutil==0.0.0",
|
||||
"robotpy-native-wpinet==0.0.0",
|
||||
"robotpy-native-ntcore==0.0.0",
|
||||
"robotpy-native-wpimath==0.0.0",
|
||||
"robotpy-native-wpihal==0.0.0",
|
||||
]
|
||||
|
||||
[project]
|
||||
name = "robotpy-native-wpilib"
|
||||
version = "2027.0.0a2"
|
||||
version = "0.0.0"
|
||||
description = "WPILib Robotics Library"
|
||||
license = "BSD-3-Clause"
|
||||
|
||||
dependencies = [
|
||||
"robotpy-native-wpiutil==2027.0.0a2",
|
||||
"robotpy-native-wpinet==2027.0.0a2",
|
||||
"robotpy-native-ntcore==2027.0.0a2",
|
||||
"robotpy-native-wpimath==2027.0.0a2",
|
||||
"robotpy-native-wpihal==2027.0.0a2",
|
||||
"robotpy-native-wpiutil==0.0.0",
|
||||
"robotpy-native-wpinet==0.0.0",
|
||||
"robotpy-native-ntcore==0.0.0",
|
||||
"robotpy-native-wpimath==0.0.0",
|
||||
"robotpy-native-wpihal==0.0.0",
|
||||
]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
@@ -32,7 +32,7 @@ packages = ["src/native"]
|
||||
artifact_id = "wpilibc-cpp"
|
||||
group_id = "edu.wpi.first.wpilibc"
|
||||
repo_url = "https://frcmaven.wpi.edu/artifactory/release-2027"
|
||||
version = "2027.0.0-alpha-2"
|
||||
version = "0.0.0"
|
||||
|
||||
extract_to = "src/native/wpilib"
|
||||
libs = ["wpilibc"]
|
||||
|
||||
@@ -1,38 +1,38 @@
|
||||
[build-system]
|
||||
build-backend = "hatchling.build"
|
||||
requires = [
|
||||
"semiwrap~=0.1.7",
|
||||
"hatch-meson~=0.1.0b2",
|
||||
"semiwrap~=0.2.1",
|
||||
"hatch-meson~=0.1.0",
|
||||
"hatch-robotpy~=0.2.1",
|
||||
"hatchling",
|
||||
"robotpy-native-wpilib==2027.0.0a2",
|
||||
"robotpy-wpiutil==2027.0.0a2",
|
||||
"robotpy-wpimath==2027.0.0a2",
|
||||
"robotpy-hal==2027.0.0a2",
|
||||
"pyntcore==2027.0.0a2",
|
||||
"robotpy-native-wpilib==0.0.0",
|
||||
"robotpy-wpiutil==0.0.0",
|
||||
"robotpy-wpimath==0.0.0",
|
||||
"robotpy-hal==0.0.0",
|
||||
"pyntcore==0.0.0",
|
||||
]
|
||||
|
||||
[project]
|
||||
name = "wpilib"
|
||||
version = "2027.0.0a2"
|
||||
version = "0.0.0"
|
||||
description = "Binary wrapper for FRC WPILib"
|
||||
authors = [
|
||||
{name = "RobotPy Development Team", email = "robotpy@googlegroups.com"},
|
||||
]
|
||||
license = "BSD-3-Clause"
|
||||
dependencies = [
|
||||
"robotpy-native-wpilib==2027.0.0a2",
|
||||
"robotpy-wpiutil==2027.0.0a2",
|
||||
"robotpy-wpimath==2027.0.0a2",
|
||||
"robotpy-hal==2027.0.0a2",
|
||||
"pyntcore==2027.0.0a2",
|
||||
"robotpy-cli~=2024.0b"
|
||||
"robotpy-native-wpilib==0.0.0",
|
||||
"robotpy-wpiutil==0.0.0",
|
||||
"robotpy-wpimath==0.0.0",
|
||||
"robotpy-hal==0.0.0",
|
||||
"pyntcore==0.0.0",
|
||||
"robotpy-cli~=2027.0.0a1"
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
"Source code" = "https://github.com/robotpy/mostrobotpy"
|
||||
|
||||
[project.entry-points.robotpy]
|
||||
[project.entry-points."robotpy_cli.2027"]
|
||||
run = "wpilib._impl.start:Main"
|
||||
|
||||
|
||||
@@ -97,7 +97,6 @@ AddressableLED = "frc/AddressableLED.h"
|
||||
Alert = "frc/Alert.h"
|
||||
AnalogAccelerometer = "frc/AnalogAccelerometer.h"
|
||||
AnalogEncoder = "frc/AnalogEncoder.h"
|
||||
AnalogGyro = "frc/AnalogGyro.h"
|
||||
AnalogInput = "frc/AnalogInput.h"
|
||||
AnalogPotentiometer = "frc/AnalogPotentiometer.h"
|
||||
CAN = "frc/CAN.h"
|
||||
@@ -136,7 +135,6 @@ RobotState = "frc/RobotState.h"
|
||||
RuntimeType = "frc/RuntimeType.h"
|
||||
SensorUtil = "frc/SensorUtil.h"
|
||||
SerialPort = "frc/SerialPort.h"
|
||||
Servo = "frc/Servo.h"
|
||||
SharpIR = "frc/SharpIR.h"
|
||||
Solenoid = "frc/Solenoid.h"
|
||||
StadiaController = "frc/StadiaController.h"
|
||||
@@ -274,7 +272,6 @@ PWMMotorControllerSim = "frc/simulation/PWMMotorControllerSim.h"
|
||||
REVPHSim = "frc/simulation/REVPHSim.h"
|
||||
RoboRioSim = "frc/simulation/RoboRioSim.h"
|
||||
SendableChooserSim = "frc/simulation/SendableChooserSim.h"
|
||||
ServoSim = "frc/simulation/ServoSim.h"
|
||||
SharpIRSim = "frc/simulation/SharpIRSim.h"
|
||||
SimDeviceSim = "frc/simulation/SimDeviceSim.h"
|
||||
SimHooks = "frc/simulation/SimHooks.h"
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
extra_includes:
|
||||
- wpi/sendable/SendableBuilder.h
|
||||
- frc/AnalogInput.h
|
||||
|
||||
classes:
|
||||
frc::AnalogGyro:
|
||||
ignored_bases:
|
||||
- wpi::SendableHelper<AnalogGyro>
|
||||
methods:
|
||||
AnalogGyro:
|
||||
overloads:
|
||||
int:
|
||||
AnalogInput*:
|
||||
ignore: true
|
||||
std::shared_ptr<AnalogInput>:
|
||||
int, int, double:
|
||||
std::shared_ptr<AnalogInput>, int, double:
|
||||
GetAngle:
|
||||
GetRate:
|
||||
GetCenter:
|
||||
GetOffset:
|
||||
SetSensitivity:
|
||||
SetDeadband:
|
||||
Reset:
|
||||
InitGyro:
|
||||
Calibrate:
|
||||
GetRotation2d:
|
||||
GetAnalogInput:
|
||||
InitSendable:
|
||||
@@ -181,7 +181,7 @@ inline_code: |
|
||||
^ (std::hash<double>{}(self->green) << 1)
|
||||
^ (std::hash<double>{}(self->blue) << 2)
|
||||
);
|
||||
return h != -1 ? h : -2;
|
||||
return h != static_cast<size_t>(-1) ? h : -2;
|
||||
})
|
||||
.def("__repr__", [](Color *self) {
|
||||
return "Color("
|
||||
|
||||
@@ -42,7 +42,6 @@ classes:
|
||||
GetReplayNumber:
|
||||
GetAlliance:
|
||||
GetLocation:
|
||||
WaitForDsConnection:
|
||||
GetMatchTime:
|
||||
GetBatteryVoltage:
|
||||
RefreshData:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
classes:
|
||||
frc::IterativeRobotBase:
|
||||
methods:
|
||||
RobotInit:
|
||||
DriverStationConnected:
|
||||
DisabledInit:
|
||||
AutonomousInit:
|
||||
|
||||
@@ -9,8 +9,6 @@ classes:
|
||||
frc::RobotController:
|
||||
nodelete: true
|
||||
methods:
|
||||
GetFPGAVersion:
|
||||
GetFPGARevision:
|
||||
GetSerialNumber:
|
||||
GetComments:
|
||||
GetTeamNumber:
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
extra_includes:
|
||||
- wpi/sendable/SendableBuilder.h
|
||||
|
||||
classes:
|
||||
frc::Servo:
|
||||
ignored_bases:
|
||||
- wpi::SendableHelper<Servo>
|
||||
methods:
|
||||
Servo:
|
||||
Set:
|
||||
Get:
|
||||
SetAngle:
|
||||
GetAngle:
|
||||
InitSendable:
|
||||
GetChannel:
|
||||
@@ -1,9 +0,0 @@
|
||||
classes:
|
||||
frc::sim::ServoSim:
|
||||
methods:
|
||||
ServoSim:
|
||||
overloads:
|
||||
const Servo&:
|
||||
int:
|
||||
GetPosition:
|
||||
GetAngle:
|
||||
@@ -10,7 +10,6 @@ from ._wpilib import (
|
||||
Alert,
|
||||
AnalogAccelerometer,
|
||||
AnalogEncoder,
|
||||
AnalogGyro,
|
||||
AnalogInput,
|
||||
AnalogPotentiometer,
|
||||
CAN,
|
||||
@@ -71,7 +70,6 @@ from ._wpilib import (
|
||||
SendableChooserBase,
|
||||
SensorUtil,
|
||||
SerialPort,
|
||||
Servo,
|
||||
SharpIR,
|
||||
SmartDashboard,
|
||||
Solenoid,
|
||||
@@ -103,7 +101,6 @@ __all__ = [
|
||||
"Alert",
|
||||
"AnalogAccelerometer",
|
||||
"AnalogEncoder",
|
||||
"AnalogGyro",
|
||||
"AnalogInput",
|
||||
"AnalogPotentiometer",
|
||||
"CAN",
|
||||
@@ -164,7 +161,6 @@ __all__ = [
|
||||
"SendableChooserBase",
|
||||
"SensorUtil",
|
||||
"SerialPort",
|
||||
"Servo",
|
||||
"SharpIR",
|
||||
"SmartDashboard",
|
||||
"Solenoid",
|
||||
|
||||
@@ -40,7 +40,6 @@ from ._simulation import (
|
||||
REVPHSim,
|
||||
RoboRioSim,
|
||||
SendableChooserSim,
|
||||
ServoSim,
|
||||
SharpIRSim,
|
||||
SimDeviceSim,
|
||||
SingleJointedArmSim,
|
||||
@@ -95,7 +94,6 @@ __all__ = [
|
||||
"REVPHSim",
|
||||
"RoboRioSim",
|
||||
"SendableChooserSim",
|
||||
"ServoSim",
|
||||
"SharpIRSim",
|
||||
"SimDeviceSim",
|
||||
"SingleJointedArmSim",
|
||||
|
||||
Reference in New Issue
Block a user