Skip to content

Commit

Permalink
fix bug of radar_scan()
Browse files Browse the repository at this point in the history
  • Loading branch information
Lovmong committed Feb 3, 2023
1 parent 3f411c1 commit 3d06a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/follow_hand.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def get_dir(radar_data, split_str="0"):

def main():
while True:
_, _,radar_data = car.radar_scan()
radar_data = car.radar_scan()

# If radar data return a int, means scan not finished, and the int is current angle status
if isinstance(radar_data, int):
Expand Down

0 comments on commit 3d06a9e

Please sign in to comment.