ed6df5ff0ecf315d0c7952e1333c29debee251b7,mushroom_rl/environments/pybullet.py,PyBullet,__init__,#PyBullet#Any#Any#Any#Any#Any#Any#Any#Any#,63

Before Change


        // Load model
        self._model_ids = list()
        for file_name in files:
            self._model_ids.append(pybullet.loadURDF(file_name))
        self._model_ids += self._custom_load_models()

        // Read the actuation spec and build the mapping between actions and ids
        // as well as their limits

After Change


            for joint_id in range(pybullet.getNumJoints(model_id)):
                joint_data = pybullet.getJointInfo(model_id, joint_id)
                joint_name = joint_data[1].decode("UTF-8")
                link_name = joint_data[12].decode("UTF-8")
                self._joint_map[joint_name] = (model_id, joint_id)
                self._link_map[link_name] = (model_id, joint_id)

        // Read the actuation spec and build the mapping between actions and ids
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: AIRLab-POLIMI/mushroom
Commit Name: ed6df5ff0ecf315d0c7952e1333c29debee251b7
Time: 2020-03-24
Author: boris.ilpossente@hotmail.it
File Name: mushroom_rl/environments/pybullet.py
Class Name: PyBullet
Method Name: __init__


Project Name: tensorflow/mesh
Commit Name: abb3fad266b933efcabbd4f208d515a495127a4f
Time: 2020-12-21
Author: fjord@google.com
File Name: mesh_tensorflow/transformer/utils.py
Class Name:
Method Name: eval_model


Project Name: home-assistant/home-assistant
Commit Name: a58382e7630d4bc39f52a1c4f501c922f1421795
Time: 2015-10-07
Author: tom.duijf@gmail.com
File Name: homeassistant/components/device_tracker/snmp.py
Class Name: SnmpScanner
Method Name: get_snmp_data


Project Name: MLWave/kepler-mapper
Commit Name: 31b2885ad4068cc8a1316dfaf957a5235101822c
Time: 2017-11-13
Author: nat@saulgill.com
File Name: examples/digits/digits.py
Class Name:
Method Name:


Project Name: MLWave/kepler-mapper
Commit Name: 63cb99af2d065bdf8947eebfe6f58e2ce00339a1
Time: 2017-11-13
Author: nat@saulgill.com
File Name: examples/digits/digits.py
Class Name:
Method Name: