bdd1e3bac9ffe62524ec70ef281d80cadceebdb1,holodeck/environments.py,HolodeckEnvironment,set_weather,#HolodeckEnvironment#Any#,377

Before Change


        if not SetWeatherCommand.has_type(weather_type.lower()):
            raise HolodeckException("Invalid weather type " + weather_type)

        self._enqueue_command(SetWeatherCommand(weather_type.lower()))

    def set_control_scheme(self, agent_name, control_scheme):
        Set the control scheme for a specific agent.

After Change


        if not weather_type.lower() in ["rain", "cloudy"]:
            raise HolodeckException("Invalid weather type " + weather_type)

        self.send_world_command("SetWeather", string_params=[weather_type])

    def teleport_camera(self, location, rotation):
        Queue up a teleport camera command to stop the day cycle.
        By the next tick, the camera"s location and rotation will be updated
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: BYU-PCCL/holodeck
Commit Name: bdd1e3bac9ffe62524ec70ef281d80cadceebdb1
Time: 2019-02-14
Author: maxdrob1@gmail.com
File Name: holodeck/environments.py
Class Name: HolodeckEnvironment
Method Name: set_weather


Project Name: BYU-PCCL/holodeck
Commit Name: bdd1e3bac9ffe62524ec70ef281d80cadceebdb1
Time: 2019-02-14
Author: maxdrob1@gmail.com
File Name: holodeck/environments.py
Class Name: HolodeckEnvironment
Method Name: start_day_cycle


Project Name: BYU-PCCL/holodeck
Commit Name: bdd1e3bac9ffe62524ec70ef281d80cadceebdb1
Time: 2019-02-14
Author: maxdrob1@gmail.com
File Name: holodeck/environments.py
Class Name: HolodeckEnvironment
Method Name: set_day_time


Project Name: BYU-PCCL/holodeck
Commit Name: bdd1e3bac9ffe62524ec70ef281d80cadceebdb1
Time: 2019-02-14
Author: maxdrob1@gmail.com
File Name: holodeck/environments.py
Class Name: HolodeckEnvironment
Method Name: set_fog_density


Project Name: BYU-PCCL/holodeck
Commit Name: bdd1e3bac9ffe62524ec70ef281d80cadceebdb1
Time: 2019-02-14
Author: maxdrob1@gmail.com
File Name: holodeck/environments.py
Class Name: HolodeckEnvironment
Method Name: stop_day_cycle