Skip to content

Commit

Permalink
Forcing starting position to red-middle for the art-exhibition demo d…
Browse files Browse the repository at this point in the history
…ue to tight space
  • Loading branch information
magnite5 committed May 28, 2024
1 parent e2f5f72 commit a28fa05
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,11 @@ def autonomousInit(self):
kY = 0
kRotation = 0

# Override starting position for demo in tight space
kX = 577.125 + RobotConstants.frame_length / 2 + RobotConstants.bumper_width
kY = 218.42
kRotation = 0

# Set the dashboard programmed initial pose.
inchToM = 39.73 # Inches to metres (x / inchToM)
if self.drivebase.isCalibrated():
Expand Down

0 comments on commit a28fa05

Please sign in to comment.