I have been experimenting on the test_tcp.py using a time-based interface between environment and agent. I set the tcpEnvTimeStep = 0.1 sec in sim.cc to execute the action from an agent and then send the state information to agent after every 0.1 seconds. The obtained output is out of synchronization and seems like the agent and simulations environment are updating values at different times. For example, this is the output for first 10 step calls which prints episode, step, state of 16 elements, reward, done, info:
On each time step I am increasing the 6th element in the state by 1, but it's not showing up like that. Can someone please explain what can be the probable reason for this desynchronization? When I set the tcpEnvTimeStep = 1 or higher, it works fine.
Hi,
I have been experimenting on the test_tcp.py using a time-based interface between environment and agent. I set the
tcpEnvTimeStep = 0.1 sec
in sim.cc to execute the action from an agent and then send the state information to agent after every 0.1 seconds. The obtained output is out of synchronization and seems like the agent and simulations environment are updating values at different times. For example, this is the output for first 10 step calls which prints episode, step, state of 16 elements, reward, done, info:On each time step I am increasing the 6th element in the state by 1, but it's not showing up like that. Can someone please explain what can be the probable reason for this desynchronization? When I set the
tcpEnvTimeStep = 1
or higher, it works fine.