This commit is contained in:
David St-Onge 2017-02-19 18:15:57 -05:00
parent 03c35afc17
commit 98ebdf39ea
1 changed files with 2 additions and 4 deletions

View File

@ -15,8 +15,8 @@ neighbors.broadcast(updated, update_no)
TARGET_ALTITUDE = 2.0
# Lennard-Jones parameters
TARGET = 50.0 #0.000001001
EPSILON = 0.5 #0.001
TARGET = 10.0 #0.000001001
EPSILON = 0.05 #0.001
# Lennard-Jones interaction magnitude
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() {