Add stub algorithm to control car with lidar
This commit is contained in:
@@ -104,4 +104,12 @@ def assign_groups(prev_groups, new_groups):
|
||||
if ((new_centre[0] - old_centre[0]) ** 2 + (new_centre[1] - old_centre[1]) ** 2) < 50 ** 2:
|
||||
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
|
||||
Reference in New Issue
Block a user