kopia lustrzana https://github.com/projecthorus/chasemapper
Fix bug with importing chase cars from sondehub
rodzic
beb9db5b4e
commit
c3d371ac39
|
@ -8,4 +8,4 @@
|
||||||
|
|
||||||
# Now using Semantic Versioning (https://semver.org/) MAJOR.MINOR.PATCH
|
# Now using Semantic Versioning (https://semver.org/) MAJOR.MINOR.PATCH
|
||||||
|
|
||||||
__version__ = "1.5.0"
|
__version__ = "1.5.1"
|
||||||
|
|
|
@ -56,6 +56,13 @@ function handleSondeHubWebSocketPacket(data){
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
// Otherwise, we need to decide if we're going to add it or not.
|
// Otherwise, we need to decide if we're going to add it or not.
|
||||||
|
|
||||||
|
// Is it us?
|
||||||
|
if(vcallsign.startsWith(chase_config.habitat_call)){
|
||||||
|
// Don't add!
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Determine the vehicle distance from our current position.
|
// Determine the vehicle distance from our current position.
|
||||||
var v_pos = {lat: v_lat, lon:v_lon, alt:v_alt};
|
var v_pos = {lat: v_lat, lon:v_lon, alt:v_alt};
|
||||||
if (chase_car_position.marker === "NONE"){
|
if (chase_car_position.marker === "NONE"){
|
||||||
|
|
Ładowanie…
Reference in New Issue