code: def get_total_distance_traveled(latlon_track):
      '''
      Returns the total distance traveled of a GPS track. Used to calculate whether or not the entire sequence was just stationary video
      Takes a sequence of points as input
      '''
      latlon_list = []
      # Remove timestamps from list
      for idx, point in enumerate(latlon_track):
          lat = latlon_track[idx][1]
          lon = latlon_track[idx][2]
          alt = latlon_track[idx][3]
          latlon_list.append([lat, lon, alt])
  
      total_distance = 0
      last_position = latlon_list[0]
      for position in latlon_list:
          total_distance += gps_distance(last_position, position)
          last_position = position
      return total_distancf get_total_distance_traveled(latlon_track):
      '''
      Returns the total distance traveled of a GPS track. Used to calculate whether or not the entire sequence was just stationary video
      Takes a sequence of points as input
      '''
      latlon_list = []
      # Remove timestamps from list
      for idx, point in enumerate(latlon_track):
          lat = latlon_track[idx][1]
          lon = latlon_track[idx][2]
          alt = latlon_track[idx][3]
          latlon_list.append([lat, lon, alt])
  
      total_distance = 0
      last_position = latlon_list[0]
      for position in latlon_list:
          total_distance += gps_distance(last_position, position)
          last_position = position
      return total_distance
docs: Returns the total distance traveled of a GPS track. Used to calculate whether or not the entire sequence was just stationary video
      Takes a sequence of points as input