route_simulator 0.1.2
route_simulator: ^0.1.2 copied to clipboard
Pure Dart GPS route simulator: realistic fake location streams with speed profiles, stops, seeded noise, signal loss, a virtual clock, GPX export and emulator playback.
0.1.2 #
- DOCS (EN): README lists the author's other packages (11 packages, English and Turkish sections).
- DOCS (TR): README'de geliştiricinin diğer paketleri listelendi (11 paket, İngilizce ve Türkçe bölümler).
0.1.1 #
- EN:
generate()uses one timestamp epoch for the whole list whenstartTimeis not set (previously each fix read the clock separately, so spacing could drift).- While waiting at a route point,
headingkeeps the direction of the arriving segment instead of jumping to the next one. - New
selectEmulator()inpackage:route_simulator/adb.dart; the emulator CLI uses it (same behaviour, now unit-tested). - Shorter pubspec description (pub.dev score), documented constructors, LICENSE copyright line fixed.
- README: "Used together" section (google_maps_polyline, advanced_background_locator, advanced_geofence, animated_route_marker); notes on timestamps. Tests: GPX validated with an XML parser, README snippets compiled.
- TR:
startTimeverilmediğindegenerate()tüm liste için tek bir zaman başlangıcı kullanıyor (önceden her konum saati ayrı okuyordu, aralıklar kayabiliyordu).- Ara noktada beklerken
headingsonraki segmente atlamıyor, gelinen yönü koruyor. package:route_simulator/adb.dartiçinde yeniselectEmulator(); emülatör CLI'si bunu kullanıyor (davranış aynı, artık birim testli).- Daha kısa pubspec açıklaması (pub.dev puanı), belgelenmiş kurucular, LICENSE telif satırı düzeltildi.
- README: "Birlikte kullanım" bölümü ve zaman damgası notları. Testler: GPX bir XML ayrıştırıcıyla doğrulanıyor, README örnekleri derleniyor.
0.1.0 #
- First release. / İlk sürüm.
- EN:
RouteSimulatorproduces a realistic fake location stream along aSimRoutebuilt from points or an encoded polyline (bundled, dependency-free decoder/encoder).- Speed:
SpeedProfile.constantorSpeedProfile.realistic(acceleration, deceleration, slowdown before turns),RouteStopwaits, looping. - Realism: seeded, platform-independent GPS noise (
GpsNoise): horizontal/altitude/speed error, accuracy value, multipath jumps, signal-loss windows; heading, speed and altitude fields. - Time: real-time broadcast
StreamwithplaybackRate,start/pause/resume/stop/seek; works underfake_async. Timer-freelocationAt,truthAtandgeneratefor tests. - Output:
SimulatedLocation.toMap()with the keys of advanced_background_locator'sLocationDto,toGpx, and thedart run route_simulator:emulatorcommand that plays a route on an Android emulator withadb emu geo fixafter showing and confirming the target device.
- Speed:
- TR:
RouteSimulator, nokta listesinden ya da kodlanmış polyline'dan (bağımlılıksız çözücü pakette) kurulanSimRouteboyunca gerçekçi sahte konum akışı üretir.- Hız:
SpeedProfile.constantya daSpeedProfile.realistic(hızlanma, yavaşlama, viraj öncesi yavaşlama),RouteStopbeklemeleri, döngü. - Gerçekçilik: seed'li, platformdan bağımsız GPS gürültüsü (
GpsNoise): yatay/rakım/hız hatası, doğruluk değeri, sıçramalar, sinyal kaybı pencereleri; yön, hız ve rakım alanları. - Zaman:
playbackRateile gerçek zamanlı yayınStream'i,start/pause/resume/stop/seek;fake_asyncile çalışır. Testler için zamanlayıcısızlocationAt,truthAtvegenerate. - Çıktı: advanced_background_locator
LocationDtoanahtarlarıylaSimulatedLocation.toMap(),toGpxve hedef cihazı gösterip onay aldıktan sonra rotayıadb emu geo fixile Android emülatöründe oynatandart run route_simulator:emulatorkomutu.
- Hız: