diff --git a/persontracking/algorithms.py b/persontracking/algorithms.py index a968b14..8c1461a 100644 --- a/persontracking/algorithms.py +++ b/persontracking/algorithms.py @@ -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 \ No newline at end of file + 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 \ No newline at end of file