// command = np.array([0, 0, 2, 10])
for _ in range(200):
// state, reward, terminal, _ = env.step(command)
env.tick()
// To access specific sensor data:
pixels = state["RGBCamera"]
velocity = state["VelocitySensor"]
// For a full list of sensors the UAV has, consult the configuration file "InfiniteForest-MaxDistance.json"
After Change
env.reset()
// This command tells the UAV to not roll or pitch, but to constantly yaw left at 10m altitude.
command = np.array([0, 0, 2, 1000])
for _ in range(1000):
state, reward, terminal, _ = env.step(command)
// To access specific sensor data:
pixels = state["RGBCamera"]
velocity = state["VelocitySensor"]
// For a full list of sensors the UAV has, consult the configuration file "InfiniteForest-MaxDistance.json"