Commit 3d0ae38c authored by Chanelle Lee's avatar Chanelle Lee
Browse files

Changes to runs

parent 3b43d4e2
import logging
import logging.config
import vrep
import time
import numpy as np
......@@ -22,13 +23,13 @@ def main(numSims=10):
time.sleep(5)
testParams = pd.read_csv('testParams.csv', index_col='paramSet')
for paramNum in set(testParams.index.values):
if paramNum < 11: # This just allows us to skip the ones already tested
if paramNum < 15: # This just allows us to skip the ones already tested
continue
logger.info('Param num: {}'.format(paramNum))
print('Param num: {}'.format(paramNum))
simNum = 0
for i in range(0, numSims):
simNum += 1
logger.info('Sim num: {}'.format(simNum))
print('Sim num: {}'.format(simNum))
sretCode = vrep.simxStartSimulation(clientID,
vrep.simx_opmode_oneshot)
if sretCode > 1:
......
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