Tetrapod Project
utils.cpp File Reference
Include dependency graph for utils.cpp:

Go to the source code of this file.

Functions

double wrap (double num, double range, double offset)
 
drake::symbolic::Expression drake_or (drake::symbolic::Variable &b1, drake::symbolic::Variable &b2)
 
drake::symbolic::Expression drake_and (drake::symbolic::Variable &b1, drake::symbolic::Variable &b2)
 
drake::symbolic::Expression drake_nor (drake::symbolic::Variable &b1, drake::symbolic::Variable &b2)
 
drake::symbolic::Expression drake_nand (drake::symbolic::Variable &b1, drake::symbolic::Variable &b2)
 
Eigen::MatrixXd get_sin_coeffs ()
 
Eigen::MatrixXd get_cos_coeffs ()
 

Function Documentation

◆ wrap()

double wrap ( double  num,
double  range,
double  offset 
)

Definition at line 3 of file utils.cpp.

◆ drake_or()

drake::symbolic::Expression drake_or ( drake::symbolic::Variable &  b1,
drake::symbolic::Variable &  b2 
)

Definition at line 8 of file utils.cpp.

◆ drake_and()

drake::symbolic::Expression drake_and ( drake::symbolic::Variable &  b1,
drake::symbolic::Variable &  b2 
)

Definition at line 13 of file utils.cpp.

◆ drake_nor()

drake::symbolic::Expression drake_nor ( drake::symbolic::Variable &  b1,
drake::symbolic::Variable &  b2 
)

Definition at line 18 of file utils.cpp.

◆ drake_nand()

drake::symbolic::Expression drake_nand ( drake::symbolic::Variable &  b1,
drake::symbolic::Variable &  b2 
)

Definition at line 23 of file utils.cpp.

◆ get_sin_coeffs()

Eigen::MatrixXd get_sin_coeffs ( )

Definition at line 28 of file utils.cpp.

◆ get_cos_coeffs()

Eigen::MatrixXd get_cos_coeffs ( )

Definition at line 40 of file utils.cpp.