MCPcopy Create free account
hub / github.com/comaps/comaps / Make

Function Make

libs/map/map_tests/gps_track_test.cpp:25–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23using namespace std::chrono;
24
25inline location::GpsInfo Make(double timestamp, ms::LatLon const & ll, double speed)
26{
27 location::GpsInfo info;
28 info.m_timestamp = timestamp;
29 info.m_speed = speed;
30 info.m_latitude = ll.m_lat;
31 info.m_longitude = ll.m_lon;
32 info.m_horizontalAccuracy = 15;
33 info.m_source = location::EAndroidNative;
34 return info;
35}
36
37inline string GetGpsTrackFilePath()
38{

Callers 1

UNIT_TESTFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected