You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear ccappelle,
I'm currently working on generalizing locomotion of modular robot using PyRoSim for simple algo. testing. My goal is to apply evolutionary algorithm (such as NEAT) on robot, and I'm wondering if I can reach the sensor data in simulation rather than after the whole simulation done. Can the user extracts sensor data at each time step?
Thanks!!
The text was updated successfully, but these errors were encountered:
Within the c++ code you can access the sensor data at each time step but not from the python code. Pyrosim makes one batched send and one batched receive command where all the data is transferred. If you need to modify the simulation based on sensor values at each time step, you have to edit the c++ code.
I have made a simple implementation of what you have asked @huchanwei123
Check it out from my branch, and let's hope @ccappelle will accept the feature :)
Dear ccappelle,
I'm currently working on generalizing locomotion of modular robot using PyRoSim for simple algo. testing. My goal is to apply evolutionary algorithm (such as NEAT) on robot, and I'm wondering if I can reach the sensor data in simulation rather than after the whole simulation done. Can the user extracts sensor data at each time step?
Thanks!!
The text was updated successfully, but these errors were encountered: