lj test
This commit is contained in:
parent
68ef2451fb
commit
5b99a9ae2b
|
@ -16,7 +16,7 @@ CURSTATE = "TURNEDOFF"
|
||||||
|
|
||||||
# Lennard-Jones parameters
|
# Lennard-Jones parameters
|
||||||
TARGET = 10.0 #0.000001001
|
TARGET = 10.0 #0.000001001
|
||||||
EPSILON = 10.0 #0.001
|
EPSILON = 1.0 #0.001
|
||||||
|
|
||||||
# Lennard-Jones interaction magnitude
|
# Lennard-Jones interaction magnitude
|
||||||
function lj_magnitude(dist, target, epsilon) {
|
function lj_magnitude(dist, target, epsilon) {
|
||||||
|
@ -56,7 +56,7 @@ function hexagon() {
|
||||||
# Constants
|
# Constants
|
||||||
#
|
#
|
||||||
BARRIER_VSTIG = 1
|
BARRIER_VSTIG = 1
|
||||||
ROBOTS = 4 # number of robots in the swarm
|
ROBOTS = 3 # number of robots in the swarm
|
||||||
|
|
||||||
#
|
#
|
||||||
# Sets a barrier
|
# Sets a barrier
|
||||||
|
|
Loading…
Reference in New Issue