This repository has been archived by the owner on Jan 4, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Matches commands2 - Makes 'python setup.py develop' mostly work
- Loading branch information
Showing
53 changed files
with
187 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from wpilib.command import Command | ||
from commands1 import Command | ||
|
||
|
||
def checkIfCanceled(self): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
from ._impl import _init_commands_v1 | ||
|
||
# autogenerated by 'robotpy-build create-imports commands1 commands1._impl._commands_v1.command' | ||
from ._impl._commands_v1.command import ( | ||
Command, | ||
CommandGroup, | ||
CommandGroupEntry, | ||
ConditionalCommand, | ||
InstantCommand, | ||
PIDAnalogAccelerometer, | ||
PIDAnalogGyro, | ||
PIDAnalogInput, | ||
PIDAnalogPotentiometer, | ||
PIDBase, | ||
PIDCommand, | ||
PIDController, | ||
PIDEncoder, | ||
PIDInterface, | ||
PIDMotorController, | ||
PIDOutput, | ||
PIDSource, | ||
PIDSubsystem, | ||
PIDUltrasonic, | ||
PrintCommand, | ||
Scheduler, | ||
StartCommand, | ||
Subsystem, | ||
TimedCommand, | ||
WaitCommand, | ||
WaitForChildren, | ||
WaitUntilCommand, | ||
) | ||
|
||
__all__ = [ | ||
"Command", | ||
"CommandGroup", | ||
"CommandGroupEntry", | ||
"ConditionalCommand", | ||
"InstantCommand", | ||
"PIDAnalogAccelerometer", | ||
"PIDAnalogGyro", | ||
"PIDAnalogInput", | ||
"PIDAnalogPotentiometer", | ||
"PIDBase", | ||
"PIDCommand", | ||
"PIDController", | ||
"PIDEncoder", | ||
"PIDInterface", | ||
"PIDMotorController", | ||
"PIDOutput", | ||
"PIDSource", | ||
"PIDSubsystem", | ||
"PIDUltrasonic", | ||
"PrintCommand", | ||
"Scheduler", | ||
"StartCommand", | ||
"Subsystem", | ||
"TimedCommand", | ||
"WaitCommand", | ||
"WaitForChildren", | ||
"WaitUntilCommand", | ||
] | ||
|
||
del _init_commands_v1 | ||
|
||
try: | ||
from .version import version as __version__ | ||
except ImportError: | ||
__version__ = "master" |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
|
||
#include "rpygen_wrapper.hpp" | ||
|
||
RPYBUILD_PYBIND11_MODULE(m) | ||
{ | ||
initWrapper(m); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
from .._impl._commands_v1.button import ( | ||
Button, | ||
ButtonScheduler, | ||
CancelButtonScheduler, | ||
HeldButtonScheduler, | ||
InternalButton, | ||
JoystickButton, | ||
NetworkButton, | ||
POVButton, | ||
PressedButtonScheduler, | ||
ReleasedButtonScheduler, | ||
ToggleButtonScheduler, | ||
Trigger, | ||
) | ||
|
||
__all__ = [ | ||
"Button", | ||
"ButtonScheduler", | ||
"CancelButtonScheduler", | ||
"HeldButtonScheduler", | ||
"InternalButton", | ||
"JoystickButton", | ||
"NetworkButton", | ||
"POVButton", | ||
"PressedButtonScheduler", | ||
"ReleasedButtonScheduler", | ||
"ToggleButtonScheduler", | ||
"Trigger", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ extra_includes: | |
classes: | ||
Button: | ||
shared_ptr: true | ||
subpackage: button | ||
methods: | ||
Button: | ||
WhenPressed: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
classes: | ||
PIDAnalogAccelerometer: | ||
subpackage: command | ||
methods: | ||
PIDGet: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
classes: | ||
PIDAnalogGyro: | ||
subpackage: command | ||
methods: | ||
PIDGet: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
classes: | ||
PIDAnalogInput: | ||
subpackage: command | ||
methods: | ||
PIDGet: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
classes: | ||
PIDAnalogPotentiometer: | ||
subpackage: command | ||
methods: | ||
PIDGet: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
classes: | ||
PIDEncoder: | ||
subpackage: command | ||
methods: | ||
PIDGet: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
classes: | ||
PIDInterface: | ||
subpackage: command | ||
methods: | ||
PIDInterface: | ||
SetPID: | ||
|
Oops, something went wrong.