To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit b501701e authored by remartin's avatar remartin
Browse files

Irrelevant changes from testing/validation.

parent 5034e484
......@@ -38,7 +38,7 @@ std::map<std::string, std::string> channel_LUT
// {"CF1", "A12D2"},
// {"CF2", "E341E"},
// {"CF3", "4E21A"},
/*{"cfOne", "0/76/2M/E7E7E7E701"},
{"cfOne", "0/76/2M/E7E7E7E701"},
{"cfTwo", "0/69/2M"},
{"cfThree", "0/72/2M"},
{"cfFour", "0/99/2M"},
......@@ -54,5 +54,5 @@ std::map<std::string, std::string> channel_LUT
{"PPS_CF10", "0/56/2M/E7E7E7E70A"},
{"uwbtest", "0/80/2M/E7E7E7E7E7"},
{"UWB_CF01", "0/80/250K/E7E7E7E7E7"},
{"UWB_CF02", "0/70/2M/E7E7E7E7E7"},*/
{"UWB_CF02", "0/70/2M/E7E7E7E7E7"},
};
......@@ -13,10 +13,10 @@ void loop() {
square_ratio = pow(square_ratio, 2.0); //Square to make response more obvious
Serial.print("G"); // Flag pair to get them values.
Serial.print(reading); //Display reading in serial monitor
Serial.print((int) reading); //Display reading in serial monitor
Serial.println("G");
delay(500);
delay(10); // light operates at 30 hz = 33 ms -> that speed is sufficient.
//delay(500);
// delay(500);
// delay(500);
}
......
......@@ -48,9 +48,11 @@ int main(){
//slM.setPTmanually(false);
//slM.fullSearchPattern(3, 10, 0);
//slM.fullSearchPattern(2, 10, 200);
//slM.fullSearchPattern(2, 4, 255);
//slM.fullSearchPattern(4, 20, 200);
slM.lineWithLogging(40, 255, 200, 4);
slM.lineWithLogging(30, 255, 200, 4, true);
//slM.testPTupdater();
......
# Copyright (C) 2018, ETH Zurich, D-dddITET
# Martin Reinhard remartin @ee.ethz.ch
#
# This file is part of D-FaLL-System.
#
# D-FaLL-System is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# D-FaLL-System is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with D-FaLL-System. If not, see <http://www.gnu.org/licenses/>.
#
#
# ----------------------------------------------------------------------------------
# DDDD FFFFF L L SSSS Y Y SSSS TTTTT EEEEE M M
# D D F aaa L L S Y Y S T E MM MM
# D D --- FFFF a a L L --- SSS Y SSS T EEE M M M
# D D F a aa L L S Y S T E M M
# DDDD F aa a LLLL LLLL SSSS Y SSSS T EEEEE M M
#
#
# DESCRIPTION:
# Compiles the spotlight files only. Used for testing purposes.
# Run with 'bash customCooker.sh'.
#
# ----------------------------------------------------------------------------------
rm intensityLogger
g++ intensityLogger.cpp -o intensityLogger
./intensityLogger
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment