[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [4695]
From: |
antoine drouin |
Subject: |
[paparazzi-commits] [4695] |
Date: |
Mon, 15 Mar 2010 15:46:03 +0000 |
Revision: 4695
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=4695
Author: poine
Date: 2010-03-15 15:46:03 +0000 (Mon, 15 Mar 2010)
Log Message:
-----------
Modified Paths:
--------------
paparazzi3/trunk/sw/tools/calibration/calib.py
Modified: paparazzi3/trunk/sw/tools/calibration/calib.py
===================================================================
--- paparazzi3/trunk/sw/tools/calibration/calib.py 2010-03-15 15:44:41 UTC
(rev 4694)
+++ paparazzi3/trunk/sw/tools/calibration/calib.py 2010-03-15 15:46:03 UTC
(rev 4695)
@@ -3,6 +3,8 @@
# calibrate accelerometer
#
+# http://www.ngdc.noaa.gov/geomagmodels/Declination.jsp
+
import re
import scipy
from scipy import optimize
@@ -72,8 +74,8 @@
print "<define name=\""+sensor+"_Y_SENS\" value=\""+str(p[4]*2**res)+"\"
integer=\"16\"/>"
print "<define name=\""+sensor+"_Z_SENS\" value=\""+str(p[5]*2**res)+"\"
integer=\"16\"/>"
-filename = 'log_accel_booz2_a2'
-ac_id = "151"
+filename = 'log_accel_a2p'
+ac_id = "158"
if 1:
sensor = "ACCEL"
sensor_ref = 9.81
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [4695],
antoine drouin <=