(self)
return xvel_local[:, vx_vy_wz].ravel()
Returns local body velocities: x,y linear, z rotational.
Returns local body velocities: x,y linear, z rotational.
Returns local body velocities : x y linear z rotational .
def body_velocities(self):
    """Returns local body velocities: x,y linear, z rotational."""
    xvel_local = self.data.sensordata[12:].reshape((-1, 6))
    vx_vy_wz = [0, 1, 5]  # Indices for linear x,y vels and rotational z vel.
    return xvel_local[:, vx_vy_wz].ravel()
def body_velocities ( self ) : xvel_local = self . data . sensordata [ 12 : ] . reshape ( ( - 1 , 6 ) ) vx_vy_wz = [ 0 , 1 , 5 ] # Indices for linear x,y vels and rotational z vel. return xvel_local [ : , vx_vy_wz ] . ravel ( )