test
This commit is contained in:
parent
03c35afc17
commit
98ebdf39ea
|
@ -15,8 +15,8 @@ neighbors.broadcast(updated, update_no)
|
||||||
TARGET_ALTITUDE = 2.0
|
TARGET_ALTITUDE = 2.0
|
||||||
|
|
||||||
# Lennard-Jones parameters
|
# Lennard-Jones parameters
|
||||||
TARGET = 50.0 #0.000001001
|
TARGET = 10.0 #0.000001001
|
||||||
EPSILON = 0.5 #0.001
|
EPSILON = 0.05 #0.001
|
||||||
|
|
||||||
# Lennard-Jones interaction magnitude
|
# Lennard-Jones interaction magnitude
|
||||||
function lj_magnitude(dist, target, epsilon) {
|
function lj_magnitude(dist, target, epsilon) {
|
||||||
|
@ -101,8 +101,6 @@ neighbors.listen("cmd",
|
||||||
|
|
||||||
|
|
||||||
)
|
)
|
||||||
if( flight.status == 2 and position.altitude >= TARGET_ALTITUDE-TARGET_ALTITUDE/20.0)
|
|
||||||
statef=hexagon
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function takeoff() {
|
function takeoff() {
|
||||||
|
|
Loading…
Reference in New Issue