Commit 3f3d25e
committed
iterativerobotpy, timedrobotpy, and tests.
First version of iterativerobotpy.py
Signed-off-by: Mike Stitt <mikestitt@peas.local>
Simulates, but does not update robot position in simulation.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Simulates, but does not update robot position in simulation.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Only call the inits on a transition.
Signed-off-by: Mike Stitt <mike@stitt.cc>
This version does simulate in autonomous and teleop okay. Need to test timer math.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Cleaning Up
Signed-off-by: Mike Stitt <mike@stitt.cc>
Cleaning up.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Fix typos
Signed-off-by: Mike Stitt <mike@stitt.cc>
Correct periodS to be period, use from . to import
Signed-off-by: Mike Stitt <mike@stitt.cc>
Fix up watchdog interface.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Cleaning up.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Cleaning up code.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Running through black
Signed-off-by: Mike Stitt <mike@stitt.cc>
Added docstrings, new todo's based upon docstring comparison.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Added missing wpimath.units.second
Signed-off-by: Mike Stitt <mike@stitt.cc>
Fix typo, second to seconds
Signed-off-by: Mike Stitt <mike@stitt.cc>
use if rather than match for python 3.9
Signed-off-by: Mike Stitt <mike@stitt.cc>
simulationPeriodic becomes _simulationPeriodic
Signed-off-by: Mike Stitt <mike@stitt.cc>
Get the physics engine to work.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Fix units bug for getLoopStartTime. now returns microseconds.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Make work with python 3.9
Signed-off-by: Mike Stitt <mike@stitt.cc>
Add test of period math, and improve comments.
Signed-off-by: Mike Stitt <mike@stitt.cc>
fix black formatting
Signed-off-by: Mike Stitt <mike@stitt.cc>
Proof of Concept for TimedRobot Functional Tests
Signed-off-by: Mike Stitt <mike@stitt.cc>
WIP still sims.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Improving simulation.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Getting new tests to not break existing tests.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Progress on tests.
Signed-off-by: Mike Stitt <mike@stitt.cc>
WIP - tests should pass.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Debugging
Signed-off-by: Mike Stitt <mike@stitt.cc>
Run black, add to test requirements.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Only call endCompetition once during tests.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Adjusting tests.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Add tests for addPeriodic, fix Override me text.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Don't add the commans2 test.
Signed-off-by: Mike Stitt <mike@stitt.cc>
waitForNotifierAlarm provides loopStartTime, _getFPGATime for setNextStartTime
Signed-off-by: Mike Stitt <mike@stitt.cc>
Cleaning up tests.
Signed-off-by: Mike Stitt <mike@stitt.cc>
Consolidate tests in test_timedrobot.py
Signed-off-by: Mike Stitt <mike@stitt.cc>
Consolidate tests in test_timedrobot.py
Signed-off-by: Mike Stitt <mike@stitt.cc>
Fix build for python 3.9
Signed-off-by: Mike Stitt <mike@stitt.cc>
Improve comments, siftup rather than pop and add.
Signed-off-by: spiresFrc9106 <ccrobotics@grcatholiccentral.org>
Improving readability of code.
Signed-off-by: Mike Stitt <mike@stitt.cc>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