descentV1

This commit is contained in:
cs-powell
2025-02-24 16:24:00 -05:00
parent 1e39b3b1e6
commit 44d6200b69
3 changed files with 154 additions and 28 deletions

View File

@@ -93,7 +93,7 @@ def ex():
# sim/operation/override/override_timestep
#Doing stuff In between Test SECOND INCREMENTS
while(count < 1000000 ):
while(count < 1000000):
#50 Millisecond Timesteps
sleep(0.05)
client.pauseSim(False) #Unpause
@@ -105,7 +105,7 @@ def ex():
cogModel.update_controls_simultaneously()
#Please work........no excuses now
#Repeat
print("Advanced 50 Milliseconds: Step #" + str(count))
# print("Advanced 50 Milliseconds: Step #" + str(count))
count+=1
@@ -128,14 +128,6 @@ def ex():
# sleep(0.5)
# count+=1
# Toggle pause state to resume
print("Resuming")
client.pauseSim(False)
# Let the sim run for a bit.
sleep(4)
print("End of Python client example")
input("Press any key to exit...")