robotpy / examples

Repository of RobotPy example projects
43 stars 52 forks source link

Add armbot example #70

Closed megarubber closed 1 year ago

megarubber commented 1 year ago

Following #49

In constants.py file, the constants are grouped in different classes (I don't know if this style will respect the RobotPy's porting guide).

In robotcontainer.py, I created a function named moveArm, to adapt in a single line (two calls in configureButtonBindings).

BerkeSinanYetkin commented 1 year ago

seems like the first test fails because you haven't used black autoformatter

megarubber commented 1 year ago

seems like the first test fails because you haven't used black autoformatter

oh, it's not finding anything here :(

[@ subsystems]$ python3 -m black drivesubsystem.py 
All done! ✨ 🍰 ✨
1 file left unchanged.

I don't know why this still showing errors here.

virtuald commented 1 year ago

black just got updated, and the new black annoyingly removes some blank lines that the old one didn't remove.