spatial-casadi  1.1.0
Spatial transformation library for CasADi Python.
Functions | Variables
spatial_casadi.angles Namespace Reference

Functions

def deg2rad (x)
 
def rad2deg (x)
 

Variables

 pi = cs.np.pi
 

Function Documentation

◆ deg2rad()

def spatial_casadi.angles.deg2rad (   x)
Convert degrees to radians.

Args
  x (array-like) An array containing angles in degrees.

Returns
  casadi-array
    An array containing angles in radians.

◆ rad2deg()

def spatial_casadi.angles.rad2deg (   x)
Convert radians to degrees.

Args
  x (array-like) An array containing angles in radians.

Returns
  casadi-array
    An array containing angles in degrees.

Variable Documentation

◆ pi

spatial_casadi.angles.pi = cs.np.pi