c654fb044a9084fcd85606f18127c82dfd46182f,example.py,,editor_example,#,163

Before Change



    for i in range(10):
        env.reset()
        _ = env.act("turtle0", command)
        _ = env.act("turtle1", command)
        _ = env.act("turtle2", command)
        _ = env.act("turtle3", command)
        _ = env.act("turtle4", command)

After Change


    This editor example shows how to interact with holodeck worlds while they are being built
    in the Unreal Engine. Most people that use holodeck will not need this.
    
    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]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: BYU-PCCL/holodeck
Commit Name: c654fb044a9084fcd85606f18127c82dfd46182f
Time: 2019-02-11
Author: maxdrob1@gmail.com
File Name: example.py
Class Name:
Method Name: editor_example


Project Name: chainer/chainerrl
Commit Name: 7384719699a07a5298c29f3205859b45533853ae
Time: 2017-02-27
Author: muupan@gmail.com
File Name: chainerrl/agents/dqn.py
Class Name: DQN
Method Name: act_and_train


Project Name: stellargraph/stellargraph
Commit Name: 87601dbf79396f79bbc3af59b9627b4bd1adef44
Time: 2019-09-23
Author: 52440942+geoffj-d61@users.noreply.github.com
File Name: stellargraph/layer/graphsage.py
Class Name: GraphSAGEAggregator
Method Name: call