5 #include "drake/common/symbolic.h"
8 #define _USE_MATH_DEFINES
10 double wrap(
double num,
double range=2*M_PI,
double offset=-M_PI);
12 drake::symbolic::Expression
drake_or(drake::symbolic::Variable &b1, drake::symbolic::Variable &b2);
14 drake::symbolic::Expression
drake_and(drake::symbolic::Variable &b1, drake::symbolic::Variable &b2);
16 drake::symbolic::Expression
drake_nor(drake::symbolic::Variable &b1, drake::symbolic::Variable &b2);
18 drake::symbolic::Expression
drake_nand(drake::symbolic::Variable &b1, drake::symbolic::Variable &b2);
Eigen::MatrixXd get_cos_coeffs()
double wrap(double num, double range=2 *M_PI, double offset=-M_PI)
Eigen::MatrixXd get_sin_coeffs()
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)
drake::symbolic::Expression drake_or(drake::symbolic::Variable &b1, drake::symbolic::Variable &b2)