(self)
Records the mass information from the URDF file.
Records the mass information from the URDF file.
Records the mass information from the URDF file .
def _RecordMassInfoFromURDF(self):
    """Records the mass information from the URDF file."""
    self._base_mass_urdf = []
    for chassis_id in self._chassis_link_ids:
      self._base_mass_urdf.append(
          self._pybullet_client.getDynamicsInfo(self.quadruped, chassis_id)[0])
    self._leg_masses_urdf = []
    for leg_id in self._leg_link_ids:
      self._leg_masses_urdf.append(
          self._pybullet_client.getDynamicsInfo(self.quadruped, leg_id)[0])
    for motor_id in self._motor_link_ids:
      self._leg_masses_urdf.append(
          self._pybullet_client.getDynamicsInfo(self.quadruped, motor_id)[0])
def _RecordMassInfoFromURDF ( self ) : self . _base_mass_urdf = [ ] for chassis_id in self . _chassis_link_ids : self . _base_mass_urdf . append ( self . _pybullet_client . getDynamicsInfo ( self . quadruped , chassis_id ) [ 0 ] ) self . _leg_masses_urdf = [ ] for leg_id in self . _leg_link_ids : self . _leg_masses_urdf . append ( self . _pybullet_client . getDynamicsInfo ( self . quadruped , leg_id ) [ 0 ] ) for motor_id in self . _motor_link_ids : self . _leg_masses_urdf . append ( self . _pybullet_client . getDynamicsInfo ( self . quadruped , motor_id ) [ 0 ] )