minor fix

This commit is contained in:
David St-Onge 2017-01-27 19:05:17 -05:00
parent 67976b1be2
commit a1650586e5
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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) {