minor fix
This commit is contained in:
parent
67976b1be2
commit
a1650586e5
|
@ -62,7 +62,7 @@ int buzzros_print(buzzvm_t vm) {
|
|||
|
||||
/****************************************/
|
||||
/****************************************/
|
||||
#define EARTH_RADIUS 6371000
|
||||
#define EARTH_RADIUS 6371000.0
|
||||
/*convert from spherical to cartesian coordinate system callback */
|
||||
void cartesian_coordinates(double spherical_pos_payload [], double out[]){
|
||||
double latitude, longitude, rho;
|
||||
|
|
|
@ -15,7 +15,7 @@ TARGET_ALTITUDE = 10.1
|
|||
|
||||
# Lennard-Jones parameters
|
||||
TARGET = 5 #0.000001001
|
||||
EPSILON = 20 #0.001
|
||||
EPSILON = 80 #0.001
|
||||
|
||||
# Lennard-Jones interaction magnitude
|
||||
function lj_magnitude(dist, target, epsilon) {
|
||||
|
|
Loading…
Reference in New Issue