Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Smehnov authored Sep 2, 2024
1 parent 5aaea28 commit 99d09da
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import os
import time
from spot_controller import SpotController
from mb.agent import Agent
ROBOT_IP = "192.168.80.3"#os.environ['ROBOT_IP']
SPOT_USERNAME = "admin"#os.environ['SPOT_USERNAME']
SPOT_PASSWORD = "2zqa8dgw7lor"#os.environ['SPOT_PASSWORD']


def main():
agent = Agent()
# Use wrapper in context manager to lease control, turn on E-Stop, power on robot and stand up at start
# and to return lease + sit down at the end
with SpotController(username=SPOT_USERNAME, password=SPOT_PASSWORD, robot_ip=ROBOT_IP) as spot:
Expand Down

0 comments on commit 99d09da

Please sign in to comment.