Project/open_dog.py
def _motorsInitialization(self):
        """
        Set and get initial values of the motors

        :return: motors angular position
        """
        q = pin.neutral(self.model)
        pin.forwardKinematics(self.model, self.data, q)
        if self.simu:
            for joint in self.joints:
                p.setJointMotorControl2(self.id, joint, p.POSITION_CONTROL, targetPosition=0, force=1000, maxVelocity=3)
        else:
            pass  # To do : set motors values
        return q

        Set and get initial values of the motors

        :return: motors angular position
        
Set and get initial values of the motors
Set and get initial values of the motors
def _motorsInitialization(self):
        q = pin.neutral(self.model)
        pin.forwardKinematics(self.model, self.data, q)
        if self.simu:
            for joint in self.joints:
                p.setJointMotorControl2(self.id, joint, p.POSITION_CONTROL, targetPosition=0, force=1000, maxVelocity=3)
        else:
            pass  
        return q
def _motorsInitialization ( self ) : q = pin . neutral ( self . model ) pin . forwardKinematics ( self . model , self . data , q ) if self . simu : for joint in self . joints : p . setJointMotorControl2 ( self . id , joint , p . POSITION_CONTROL , targetPosition = 0 , force = 1000 , maxVelocity = 3 ) else : pass return q
Set and get initial values of the motors
Set and get initial values of the motors
"""
        Set and get initial values of the motors

        :return: motors angular position
        """ # To do : set motors values
motors angular position
motors angular position
self