10 #include "drake/solvers/mathematical_program.h"
12 #include "drake/solvers/osqp_solver.h"
14 #include "drake/solvers/branch_and_bound.h"
16 #include "drake/common/symbolic.h"
21 using drake::solvers::MatrixXDecisionVariable;
void foot_in_stepping_stone(drake::solvers::MathematicalProgram &prog, Terrain &terrain, int n_steps, DecVars &decision_variables)
void relative_position_limits(drake::solvers::MathematicalProgram &prog, int n_steps, double step_span, DecVars &decision_variables)
void set_initial_and_goal_position(drake::solvers::MathematicalProgram &prog, Terrain &terrain, DecVars &decision_variables)
void writeMatToFile(Eigen::MatrixXd &mat, std::string filename)
DecVars add_decision_variables(drake::solvers::MathematicalProgram &prog, Terrain &terrain, int n_steps)
Eigen::Vector4d get_big_M(Terrain terrain)
void minimize_step_length(drake::solvers::MathematicalProgram &prog, int n_steps, DecVars &decision_variables)
void step_sequence(drake::solvers::MathematicalProgram &prog, int n_steps, double step_span, DecVars &decision_variables)
void writeDecVarsToFile(DecVars_res &decision_variables, std::string base_name="footstep_planner")
void one_stone_per_foot(drake::solvers::MathematicalProgram &prog, int n_steps, DecVars &decision_variables)
Eigen::MatrixXd position_left
Eigen::MatrixXd position_right
Eigen::MatrixXd stone_right
Eigen::MatrixXd stone_left
drake::solvers::DecisionVariable first_left
MatrixXDecisionVariable stone_right
MatrixXDecisionVariable position_left
MatrixXDecisionVariable stone_left
MatrixXDecisionVariable position_right