Releases: jjshoots/PyFlyt
Releases · jjshoots/PyFlyt
0.19.0
0.17.0
0.16.0
0.15.7
0.15.6
0.15.4
0.15.3
0.15.2
0.15.1
0.15.0
PZ environments converted to parallel
from PyFlyt.pz_envs import MAQuadXHoverEnv
env = MAQuadXHoverEnv(render_mode="human")
observations, infos = env.reset()
while env.agents:
# this is where you would insert your policy
actions = {agent: env.action_space(agent).sample() for agent in env.agents}
observations, rewards, terminations, truncations, infos = env.step(actions)
env.close()