This commit is contained in:
NikolajDanger
2022-09-21 12:49:39 +02:00
parent b8abaee518
commit 2fd874c55d
2 changed files with 15 additions and 0 deletions

10
estimate_distance.py Normal file
View File

@ -0,0 +1,10 @@
from robot import Arlo
def main():
arlo = Arlo(False)
image = arlo.robot.take_photo()
bounding_boxes = arlo.find_aruco(image)
arlo.estimate_distance(bounding_boxes[0])
if __name__ == "__main__":
main(9)