627435f7b4c426e6bf66702f129bb7ef48a87b34,example.py,,editor_example,#,146
Before Change
sensors = [Sensors.RGB_CAMERA, Sensors.LOCATION_SENSOR, Sensors.VELOCITY_SENSOR]
agent = AgentDefinition("uav0", agents.UavAgent, sensors)
env = HolodeckEnvironment(agent, start_world=False)
env.agents["uav0"].set_control_scheme(1)
command = [0, 0, 10, 50]
for i in range(10):
env.reset()
After Change
_ = env.act("turtle4", command)
for _ in range(10000):
states = env.tick()
print(states["turtle0"][Sensors.REWARD])
// pixels = states["turtle0"][Sensors.RGB_CAMERA]
// cv2.namedWindow("Image")
// cv2.moveWindow("Image", 500, 500)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: BYU-PCCL/holodeck
Commit Name: 627435f7b4c426e6bf66702f129bb7ef48a87b34
Time: 2019-01-10
Author: maxdrob1@gmail.com
File Name: example.py
Class Name:
Method Name: editor_example
Project Name: BYU-PCCL/holodeck
Commit Name: b6c75018f5942cb58a38f40837ff3a03c8be4eda
Time: 2018-11-10
Author: nickwalton00@gmail.com
File Name: example.py
Class Name:
Method Name: editor_example
Project Name: BYU-PCCL/holodeck
Commit Name: 0986105dc7f6ec9962e618d4302be8db13b34e46
Time: 2018-11-16
Author: nickwalton00@gmail.com
File Name: example.py
Class Name:
Method Name: editor_example