(self)
return state
This retrieves the state of the point mass
This retrieves the state of the point mass
This retrieves the state of the point mass
def get_state(self):
        """ This retrieves the state of the point mass"""
        state = {END_EFFECTOR_POINTS: np.append(np.array(self.body.position), [0]),
                 END_EFFECTOR_POINT_VELOCITIES: np.append(np.array(self.body.linearVelocity), [0])}

        return state
def get_state ( self ) : state = { END_EFFECTOR_POINTS : np . append ( np . array ( self . body . position ) , [ 0 ] ) , END_EFFECTOR_POINT_VELOCITIES : np . append ( np . array ( self . body . linearVelocity ) , [ 0 ] ) } return state