Add stub algorithm to control car with lidar

This commit is contained in:
Piv
2020-01-20 21:33:56 +10:30
parent 01591a0616
commit 23a7d1cf8b

View File

@@ -105,3 +105,11 @@ def assign_groups(prev_groups, new_groups):
new_group.set_number(group.get_number()) new_group.set_number(group.get_number())
return new_groups return new_groups
def updateCarVelocity(oldGroup, newGroup):
'''
Return a tuple (throttleChange, steeringChange) that should be
applied given the change in the centre of the groups.
'''
pass