robotpy / pyfrc

python3 library designed to make developing RobotPy-based code easier!
MIT License
50 stars 35 forks source link

Demo instructions do not work #169

Closed Pipeliner closed 4 years ago

Pipeliner commented 4 years ago

https://github.com/robotpy/pyfrc#quick-install--demo section says that after installing pyfrc with pip I should be able to run

cd samples/physics/src/
python3 robot.py sim

However, there are no such directories nor files in the repo.

virtuald commented 4 years ago

Due to significant changes in RobotPy this year, the documentation is a bit out of date. https://robotpy.readthedocs.io/en/stable/2020_notes.html#where-is-physics-and-tests now has a link to our single working physics demo. Sorry for the inconvenience.

virtuald commented 4 years ago

Yeah, the test support still doesn't work, just the simulation physics. You can run python robot.py sim and the robot can be driven on the field, and there's some motor/digitalinput interactions modeled.