#pragma once

#include "types.h"

#include <maps/wikimap/mapspro/services/mrc/libs/config/include/config.h>

namespace maps::mrc::tracks_with_sensors {

// Split trackPoints and sensors into separare solid rides. A ride is
// solid if there are no gaps in sensors. A gap is a time interval
// longer than 1 second when there are no sensors data.
Tracks splitIntoSeparateRides(const db::TrackPoints& trackPoints,
                              const SensorEvents& sensorEvents);

} // namespace maps::mrc::tracks_with_sensors
