robotpy-wpilib icon indicating copy to clipboard operation
robotpy-wpilib copied to clipboard

Moved to https://github.com/robotpy/mostrobotpy

Results 17 robotpy-wpilib issues
Sort by recently updated
recently updated
newest added

### Problem description The error message generated is useless, we should fix it. ### Operating System Windows, MacOS, Linux, RoboRIO ### Installed Python Packages _No response_ ### Reproducible example code...

### Problem description If an exception is raised from `startCompetition`, e.g. within `testPeriodic`, then the exception is raised but doesn't cause the robot code process to terminate, when on the...

bug

Seems like it might be useful to just do this automatically.

robot.py: ```python import wpilib class Test(wpilib.Sendable): def __init__(self): super().__init__() wpilib.SendableRegistry.getInstance().add(self, "Test", 1) def initSendable(self, builder): pass class Robot(wpilib.TimedRobot): def robotInit(self): self.test = Test() wpilib.SmartDashboard.putData("test", self.test) if __name__ == "__main__": wpilib.run(Robot)...

bug

### Problem description See example code ### Operating System Windows, Linux ### Installed Python Packages _No response_ ### Reproducible example code ```python #!/usr/bin/env python3 from commands2 import TimedCommandRobot from wpilib._impl.main...

Looks like it's at Python 3.5.3, which is well within our currently supported stack now. I wonder if it 'just works' in simulation?

Importing wpilib in a repl on the roborio causes the python interpreter to be killed.

There's a virtual base class in there somewhere which made this tricky to do correctly, though I don't quite remember why that is.

On my RoboRIO with a 2016 image, I get the following (mostly consistent timing between runs, no DS connected): ``` roboRIO-2423-FRC:~$ time python3 -c 'import hal' real 0m4.954s user 0m1.280s...

help wanted

* Inspired by https://www.chiefdelphi.com/t/robot-code-not-deploying-from-robot-py/343672