Commit 10c38639 authored by Chanelle Lee's avatar Chanelle Lee
Browse files

Just changed some logging abilities

parent 85716f2a
......@@ -28,8 +28,8 @@ def main(numSims=10):
vrep.simx_opmode_blocking)
testParams = pd.read_csv('testParams.csv', index_col='paramSet')
for paramNum in set(testParams.index.values):
# if paramNum < 17: # This just allows us to skip ones already tested
# continue
if paramNum < 6: # This just allows us to skip ones already tested
continue
print('Param num: {}'.format(paramNum))
simNum = 0
for i in range(0, numSims):
......
......@@ -6,6 +6,10 @@ Code:
Experiments:
☐ 5% and 10%
☐ 2.5% and 7.5%
- _0 logs contain paramsets 1-5 complete
Analysis:
......@@ -61,7 +61,7 @@ class ControllerThread(threading.Thread):
try:
retFlag = self.ePuck.controller()
except UnicodeDecodeError: # Watching for errors in send msg
logger.warning('Forced stop for params {0} sim '
logger.warning('Unicode error detected for params {0} sim '
'{1}'.format(self.paramNum,
self.simNum))
retFlag = True
......
Supports Markdown
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