This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9.6702 | |
9.8457 | |
9.6017 | |
9.1934 | |
9.7989 | |
9.5618 | |
9.6360 | |
10.1013 | |
10.0843 | |
9.9661 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def check_requirement(requirement): | |
if isinstance(requirement, basestring): | |
return requirement is 'None' or requirement in board_configuration | |
if isinstance(requirement, dict): | |
if requirement.keys()[0] == 'and': | |
return all(check_requirement(requirement) for requirement in requirement['and']) | |
else: | |
return any(check_requirement(requirement) for requirement in requirement['or']) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
if (typeof jDataView === 'undefined' && typeof require !== 'undefined') { | |
jDataView = require('jDataView'); | |
} | |
// Extend code from underscorejs | |
var extend = function (obj) { | |
for (var i = 1; i < arguments.length; ++i) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var eepromConfigBytes = jDataView.createBuffer(0x00, | |
0x01, 0x00, 0x57, 0xFE, | |
0x04, 0x01, 0x90, 0x01, | |
0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x10, 0x40, | |
0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wrapper"> | |
<p>18:38:03 -- Connection to the serial BUS was opened with ID: 1</p> | |
<p>18:38:06 -- Requesting configuration UNION from Flight Controller</p> | |
<p>18:38:07 -- Flight Controller responds with -- <span style="color: green">ACK</span></p> | |
<p>18:38:07 -- Configuration UNION received -- <span style="color: green">OK</span></p> | |
<p>18:38:56 -- Requesting Sensor Data from Flight Controller</p> | |
<p>18:38:56 -- Flight Controller responds with -- <span style="color: green">ACK</span></p> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ADXL345, 9 DOF stick library | |
Beware ! ADXL345 sends the data in reverse (LOW, HIGH) | |
This library requires some more documentation | |
(code was tested and works perfectly fine) | |
*/ | |
#define ADXL345_ADDRESS 0x53 | |
float accel[3]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); | |
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); | |
</style> | |
<div style=" | |
background-color: white; | |
border: 1px solid silver; | |
height: 64px; | |
width: 680px; | |
float: right; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
var eepromConfigDefinition = { | |
eepromConfigDefinition: { | |
version: 'uint8', | |
calibrateESC: 'uint8', | |
ACCEL_BIAS: ['array', 'int16', 3], | |
PID_YAW_c: ['array', 'float32', 4], | |
PID_PITCH_c: ['array', 'float32', 4], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
*, | |
@rowNum := @rowNum + 1 as row_number | |
FROM `datalog` | |
JOIN ( SELECT @rowNum := 0 ) | |
WHERE | |
MOD(row_number, 4) = 0 AND | |
sensorid = '$sensor' AND | |
time >= '$timeOffset' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/subpanel/dataPlot/dataPlot.py b/subpanel/dataPlot/dataPlot.py | |
index 8d879e7..1805a23 100644 | |
--- a/subpanel/dataPlot/dataPlot.py | |
+++ b/subpanel/dataPlot/dataPlot.py | |
@@ -3,6 +3,9 @@ Created on Nov 21, 2012 | |
@author: Ted Carancho | |
''' | |
+from multiprocessing import Manager | |
+import multiprocessing |