-
Notifications
You must be signed in to change notification settings - Fork 19
First version of iterativerobotpy.py #161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
MikeStitt
wants to merge
36
commits into
robotpy:main
Choose a base branch
from
MikeStitt:pyIterativeAndTimedRobot
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
c454e6d
First version of iterativerobotpy.py
MikeStitt 7042b96
Simulates, but does not update robot position in simulation.
MikeStitt 3f1e12c
Simulates, but does not update robot position in simulation.
MikeStitt 5f793b7
Only call the inits on a transition.
MikeStitt 21bab63
This version does simulate in autonomous and teleop okay. Need to tes…
MikeStitt ff1713e
Cleaning Up
MikeStitt 0c86080
Cleaning up.
MikeStitt 2a17935
Fix typos
MikeStitt 9429b8c
Correct periodS to be period, use from . to import
MikeStitt 2f0c2e1
Fix up watchdog interface.
MikeStitt 958c909
Cleaning up.
MikeStitt 7522ec2
Cleaning up code.
MikeStitt 3b36199
Running through black
MikeStitt c5ae00a
Added docstrings, new todo's based upon docstring comparison.
MikeStitt 6553746
Added missing wpimath.units.second
MikeStitt 0adee5a
Fix typo, second to seconds
MikeStitt 55c5e5d
use if rather than match for python 3.9
MikeStitt 0eb421f
Merge branch 'upstream/main' into pyIterativeAndTimedRobot
MikeStitt 6cf2977
simulationPeriodic becomes _simulationPeriodic
MikeStitt 9e27f0a
Get the physics engine to work.
MikeStitt 0cf4834
Fix units bug for getLoopStartTime. now returns microseconds.
MikeStitt 1b009f5
Make work with python 3.9
MikeStitt d06fe46
Add test of period math, and improve comments.
MikeStitt 4c0baa4
fix black formatting
MikeStitt 12c90b6
Proof of Concept for TimedRobot Functional Tests
MikeStitt 4c2379c
WIP still sims.
MikeStitt ca1e7e1
Improving simulation.
MikeStitt df22b32
Merge branch 'main' into pocTimedRobotFunctionalTests
MikeStitt 5dd838c
Getting new tests to not break existing tests.
MikeStitt acc7385
Limit setuptools versions
MikeStitt 4cce809
Progress on tests.
MikeStitt 5f63a20
WIP - tests should pass.
MikeStitt 9872329
Debugging
MikeStitt 4cd8be6
Run black, add to test requirements.
MikeStitt 5895dcc
Only call endCompetition once during tests.
MikeStitt 2afe3d0
Adjusting tests.
MikeStitt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 +1,2 @@ | ||
pytest | ||
pytest-reraise |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be unused?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixing.