Add realistic starting coordinates
This commit is contained in:
parent
6d9d97e985
commit
cc802d344b
@ -18,23 +18,23 @@ export class LandingComponent implements OnInit {
|
|||||||
|
|
||||||
|
|
||||||
zoom = 14;
|
zoom = 14;
|
||||||
center = {lat: 53.531248, lng: 13.409038};
|
center = {lat: 47.90620, lng: 16.20785};
|
||||||
|
|
||||||
// Test Data
|
// Test Data
|
||||||
markers = [
|
markers = [
|
||||||
{
|
{
|
||||||
Id: 1,
|
Id: 1,
|
||||||
name: 'Car-1',
|
name: 'Car-1',
|
||||||
lat: 53.521248,
|
lat: 47.89053,
|
||||||
lng: 13.399038,
|
lng: 16.20703,
|
||||||
visible: true,
|
visible: true,
|
||||||
iconUrl: 'assets/pictures/car.png'
|
iconUrl: 'assets/pictures/car.png'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Id: 2,
|
Id: 2,
|
||||||
name: 'Car-2',
|
name: 'Car-2',
|
||||||
lat: 53.531248,
|
lat: 47.89853,
|
||||||
lng: 13.409038,
|
lng: 16.20703,
|
||||||
visible: true,
|
visible: true,
|
||||||
iconUrl: 'assets/pictures/car.png'
|
iconUrl: 'assets/pictures/car.png'
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,21 +1,21 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"id": "1",
|
"id": "1",
|
||||||
"location": [16.0, 48.0],
|
"location": [47.90853, 16.20703],
|
||||||
"range": 2000,
|
"range": 2000,
|
||||||
"switchingTime": 500,
|
"switchingTime": 500,
|
||||||
"initialColor": "RED"
|
"initialColor": "RED"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "2",
|
"id": "2",
|
||||||
"location": [16.0, 48.1],
|
"location": [47.91572, 16.20703],
|
||||||
"range": 800,
|
"range": 800,
|
||||||
"switchingTime": 240,
|
"switchingTime": 240,
|
||||||
"initialColor": "GREEN"
|
"initialColor": "GREEN"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "3",
|
"id": "3",
|
||||||
"location": [16.0, 48.2],
|
"location": [47.92471, 16.20703],
|
||||||
"range": 1000,
|
"range": 1000,
|
||||||
"switchingTime": 360,
|
"switchingTime": 360,
|
||||||
"initialColor": "RED"
|
"initialColor": "RED"
|
||||||
|
|||||||
@ -15,7 +15,7 @@ from dse_shared_libs.message_broker_wrapper import MBWrapper
|
|||||||
from dse_shared_libs.target_velocity import TargetVelocity
|
from dse_shared_libs.target_velocity import TargetVelocity
|
||||||
from pika.exceptions import AMQPConnectionError
|
from pika.exceptions import AMQPConnectionError
|
||||||
|
|
||||||
STARTING_POINT = geopy.Point(48.853, 2.349)
|
STARTING_POINT = geopy.Point(47.89053, 16.20703)
|
||||||
# in km/h
|
# in km/h
|
||||||
STARTING_VELOCITY = 130
|
STARTING_VELOCITY = 130
|
||||||
# Driving direction in degrees: 0=N, 90=E, 180=S, 270=W
|
# Driving direction in degrees: 0=N, 90=E, 180=S, 270=W
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user