Skip to content

Commit

Permalink
oops got rid of my print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
1736student committed Sep 27, 2024
1 parent 0e3a691 commit 0dc5432
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions navigation/repulsorFieldPlanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ def setGoal(self, goal:Pose2d|None):
def add_obstcale_observaton(self, pose:Pose2d):
obstacle = PointObstacle(location=Translation2d(pose.X() + 3,pose.Y()),strength=.5)
self.transientObstcales.append(obstacle)
print("Obstacle is ", obstacle)
print(self.transientObstcales)


def getGoalForce(self, curLocation:Translation2d) -> Force:
if(self.goal is not None):
displacement = self.goal.translation() - curLocation
Expand Down
1 change: 0 additions & 1 deletion robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ def teleopPeriodic(self):

if self.dInt.getCreateObstacle():
self.autodrive._rfp.add_obstcale_observaton(self.driveTrain.poseEst.getCurEstPose())
print("Creating obstacle")

self.autodrive.setRequest(self.dInt.getNavToSpeaker(), self.dInt.getNavToPickup())
self.autodrive.updateTelemetry()
Expand Down

0 comments on commit 0dc5432

Please sign in to comment.