From 00242676c13f5b3427d8aab05d7ac0b58d6200ce Mon Sep 17 00:00:00 2001 From: David Date: Wed, 22 Feb 2017 07:23:24 +0000 Subject: [PATCH] test --- src/testflockfev.bzz | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/testflockfev.bzz b/src/testflockfev.bzz index a212423..4690009 100644 --- a/src/testflockfev.bzz +++ b/src/testflockfev.bzz @@ -16,7 +16,7 @@ TARGET_ALTITUDE = 5.0 # Lennard-Jones parameters TARGET = 10.0 #0.000001001 -EPSILON = 10.0 #0.001 +EPSILON = 20.0 #0.001 # Lennard-Jones interaction magnitude function lj_magnitude(dist, target, epsilon) { @@ -41,7 +41,7 @@ function hexagon() { if(neighbors.count() > 0) math.vec2.scale(accum, 1.0 / neighbors.count()) # Move according to vector - print("Robot ", id, "must push ",accum.length, "; ", accum.angle) + #print("Robot ", id, "must push ",accum.length, "; ", accum.angle) uav_moveto(accum.x, accum.y) } @@ -55,7 +55,7 @@ function hexagon() { # Constants # BARRIER_VSTIG = 1 -ROBOTS = 3 # number of robots in the swarm +ROBOTS = 4 # number of robots in the swarm # # Sets a barrier