Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Update wbTest.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LeProblemeEDMN committed Jun 1, 2024
1 parent ddf03f5 commit 1bf1ed8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions raspberrypi/tests/wbTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@
print("Sensors:",sensors)

wheeledbase.start_match()
wheeledbase.goto_stop(0,0, sensors,theta=-math.pi/2)
time.sleep(1)
wheeledbase.set_position(1000,1000,0)
wheeledbase.goto_stop(1000,1000, sensors,theta=0)
while 1:
print(wheeledbase.get_position(),sensors.get_all_sensors())
wheeledbase.goto_stop(1000,1000, sensors,theta=-math.pi/2)
time.sleep(1)

#wheeledbase.goto_stop(1000,1000, sensors,theta=0)
#while 1:
# print(wheeledbase.get_position(),sensors.get_all_sensors())

0 comments on commit 1bf1ed8

Please sign in to comment.