robotpy / examples

Repository of RobotPy example projects
45 stars 53 forks source link

broken code in physics #45

Closed numerator closed 2 years ago

numerator commented 2 years ago

This code was left in examples/physics/src/robot.py.

for dist in pkg_resources.Environment():
    print(dist)

exit(1)

I'd fix but don't have the privileges. The example seems to work once this is removed.

virtuald commented 2 years ago

Oops! We used to have tests, but they were disabled in 2020... hope to get them reenabled this year.

I'll fix it, but in the future you can just fork the repo, make the change, push it, and make a pull request.

numerator commented 2 years ago

Ah yes. Didn’t think of that. I made a branch but of course that didn’t work.

On Thu, Jan 13, 2022 at 3:36 PM Dustin Spicuzza @.***> wrote:

Closed #45 https://github.com/robotpy/examples/issues/45 via 6a66e72 https://github.com/robotpy/examples/commit/6a66e72170d66aac2df930a0bfdbc2b18de4c30c .

— Reply to this email directly, view it on GitHub https://github.com/robotpy/examples/issues/45#event-5890292735, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPBFVORXRD6DAAGCYEOFLDUV4ZVNANCNFSM5L43CFDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

-- Sent from Gmail Mobile