8d22df2da592ae8c20b2a363e0cda35ddfea6180,Holodeck/holodeck_agents.py,SphereRobotAgent,__init__,#SphereRobotAgent#Any#Any#Any#Any#,9
Before Change
self.loading_state = defaultdict(None)
self.current_state = defaultdict(None)
self.global_state_sensors = set(global_state_sensors)
// Subscribe the function for sensor messages
for sensor in self.global_state_sensors:
self.subscribe(sensor, self._onGlobalStateSensor)
class SphereRobotBuilder(CommandBuilder):
def __init__(self, agent, commandType="SphereRobotCommand"):
super(self.__class__, self).__init__(agent, commandType)
self.type = commandType
After Change
global_state_sensors={}):
super(SphereRobotAgent, self).__init__(hostname, port, agentName,global_state_sensors)
self._IMG_HEIGHT = 256
self._IMG_WIDTH = 256
self._IMG_CHANNELS = 3
self._NUM_SENSORS = 3
self._action_dim = (1,8)
self._state_dim = ([self._IMG_HEIGHT, self._IMG_WIDTH, self._IMG_CHANNELS], [1, self._NUM_SENSORS])
class SphereRobotBuilder(CommandBuilder):
def __init__(self, agent, commandType="SphereRobotCommand"):
super(self.__class__, self).__init__(agent, commandType)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: BYU-PCCL/holodeck
Commit Name: 8d22df2da592ae8c20b2a363e0cda35ddfea6180
Time: 2016-12-13
Author: derekhancock44@gmail.com
File Name: Holodeck/holodeck_agents.py
Class Name: SphereRobotAgent
Method Name: __init__
Project Name: BYU-PCCL/holodeck
Commit Name: 8d22df2da592ae8c20b2a363e0cda35ddfea6180
Time: 2016-12-13
Author: derekhancock44@gmail.com
File Name: Holodeck/holodeck_agents.py
Class Name: AndroidAgent
Method Name: __init__
Project Name: pantsbuild/pants
Commit Name: fea0351e92bf4f060371ad62907d26ef25c25a50
Time: 2014-10-10
Author: benjy@foursquare.com
File Name: src/python/pants/option/arg_splitter.py
Class Name: ArgSplitter
Method Name: __init__