Skip to content
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

Python examples #24

Merged
merged 18 commits into from
Feb 13, 2024
Merged

Python examples #24

merged 18 commits into from
Feb 13, 2024

Conversation

CoryNessCTR
Copy link
Contributor

No description provided.

@CoryNessCTR CoryNessCTR marked this pull request as ready for review December 12, 2023 19:33
@@ -46,6 +46,12 @@ def teleopPeriodic(self):
self.front_left_motor.set_control(self.left_out.with_output(throttle + wheel))
self.front_right_motor.set_control(self.right_out.with_output(throttle - wheel))

def _simulationPeriodic(self):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

robotpy projects are encouraged to use a physics.py instead of _simulationPeriodic. See https://github.com/robotpy/examples/tree/main/physics

@CoryNessCTR CoryNessCTR merged commit 536bfad into main Feb 13, 2024
72 checks passed
@CoryNessCTR CoryNessCTR deleted the python_examples branch February 13, 2024 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants