Skip to content

Commit

Permalink
Update physics for 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Jan 22, 2021
1 parent 2012533 commit aa55cbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyfrc/physics/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ def __init__(self, physics_module):
self.module = physics_module
self.engine = None
self.device_gyro_channels = []
self.field = wpilib.simulation.Field2d()
self.field = wpilib.Field2d()
wpilib.SmartDashboard.putData("Field", self.field)

def __repr__(self):
return "Physics"
Expand Down

0 comments on commit aa55cbf

Please sign in to comment.