change geofence

This commit is contained in:
dave 2018-11-19 11:16:10 +01:00
parent cffea220ae
commit 122994c349
1 changed files with 5 additions and 5 deletions

View File

@ -7,10 +7,10 @@ GPSlimit_CEPSUM = {.1={.lat=45.510400, .lng=-73.610421},
.3={.lat=45.510355, .lng=-73.608404},
.4={.lat=45.509840, .lng=-73.610072}}
GPSlimit_PANGEAE = {.1={.lat=29.020871, .lng=-13.712477},
.2={.lat=29.019850, .lng=-13.712378},
.3={.lat=29.019875, .lng=-13.710096},
.4={.lat=29.021245, .lng=-13.710184}}
GPSlimit_PANGEAE = {.1={.lat=29.02045, .lng=-13.71234},
.2={.lat=29.02131, .lng=-13.70961},
.3={.lat=29.02061, .lng=-13.70933},
.4={.lat=29.01966, .lng=-13.71203}}
# Core naviguation function to travel to a GPS target location.
function goto_gps(transf) {
@ -33,4 +33,4 @@ function LimitSpeed(vel_vec, factor){
if(math.vec2.length(vel_vec)>GOTO_MAXVEL*factor)
vel_vec = math.vec2.scale(vel_vec, GOTO_MAXVEL*factor/math.vec2.length(vel_vec))
return vel_vec
}
}