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