Commit 3f3d25e
committed
iterativerobotpy, timedrobotpy, and tests.
First version of iterativerobotpy.py
Signed-off-by: Mike Stitt <[email protected]>
Simulates, but does not update robot position in simulation.
Signed-off-by: Mike Stitt <[email protected]>
Simulates, but does not update robot position in simulation.
Signed-off-by: Mike Stitt <[email protected]>
Only call the inits on a transition.
Signed-off-by: Mike Stitt <[email protected]>
This version does simulate in autonomous and teleop okay. Need to test timer math.
Signed-off-by: Mike Stitt <[email protected]>
Cleaning Up
Signed-off-by: Mike Stitt <[email protected]>
Cleaning up.
Signed-off-by: Mike Stitt <[email protected]>
Fix typos
Signed-off-by: Mike Stitt <[email protected]>
Correct periodS to be period, use from . to import
Signed-off-by: Mike Stitt <[email protected]>
Fix up watchdog interface.
Signed-off-by: Mike Stitt <[email protected]>
Cleaning up.
Signed-off-by: Mike Stitt <[email protected]>
Cleaning up code.
Signed-off-by: Mike Stitt <[email protected]>
Running through black
Signed-off-by: Mike Stitt <[email protected]>
Added docstrings, new todo's based upon docstring comparison.
Signed-off-by: Mike Stitt <[email protected]>
Added missing wpimath.units.second
Signed-off-by: Mike Stitt <[email protected]>
Fix typo, second to seconds
Signed-off-by: Mike Stitt <[email protected]>
use if rather than match for python 3.9
Signed-off-by: Mike Stitt <[email protected]>
simulationPeriodic becomes _simulationPeriodic
Signed-off-by: Mike Stitt <[email protected]>
Get the physics engine to work.
Signed-off-by: Mike Stitt <[email protected]>
Fix units bug for getLoopStartTime. now returns microseconds.
Signed-off-by: Mike Stitt <[email protected]>
Make work with python 3.9
Signed-off-by: Mike Stitt <[email protected]>
Add test of period math, and improve comments.
Signed-off-by: Mike Stitt <[email protected]>
fix black formatting
Signed-off-by: Mike Stitt <[email protected]>
Proof of Concept for TimedRobot Functional Tests
Signed-off-by: Mike Stitt <[email protected]>
WIP still sims.
Signed-off-by: Mike Stitt <[email protected]>
Improving simulation.
Signed-off-by: Mike Stitt <[email protected]>
Getting new tests to not break existing tests.
Signed-off-by: Mike Stitt <[email protected]>
Progress on tests.
Signed-off-by: Mike Stitt <[email protected]>
WIP - tests should pass.
Signed-off-by: Mike Stitt <[email protected]>
Debugging
Signed-off-by: Mike Stitt <[email protected]>
Run black, add to test requirements.
Signed-off-by: Mike Stitt <[email protected]>
Only call endCompetition once during tests.
Signed-off-by: Mike Stitt <[email protected]>
Adjusting tests.
Signed-off-by: Mike Stitt <[email protected]>
Add tests for addPeriodic, fix Override me text.
Signed-off-by: Mike Stitt <[email protected]>
Don't add the commans2 test.
Signed-off-by: Mike Stitt <[email protected]>
waitForNotifierAlarm provides loopStartTime, _getFPGATime for setNextStartTime
Signed-off-by: Mike Stitt <[email protected]>
Cleaning up tests.
Signed-off-by: Mike Stitt <[email protected]>
Consolidate tests in test_timedrobot.py
Signed-off-by: Mike Stitt <[email protected]>
Consolidate tests in test_timedrobot.py
Signed-off-by: Mike Stitt <[email protected]>
Fix build for python 3.9
Signed-off-by: Mike Stitt <[email protected]>
Improve comments, siftup rather than pop and add.
Signed-off-by: spiresFrc9106 <[email protected]>
Improving readability of code.
Signed-off-by: Mike Stitt <[email protected]>1 parent bcee015 commit 3f3d25e
File tree
6 files changed
+1922
-2
lines changed- subprojects/robotpy-wpilib
- tests
- wpilib
6 files changed
+1922
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
0 commit comments