1#ifndef ROBOTOC_JUMP_FOOT_STEP_PLANNER_HPP_
2#define ROBOTOC_JUMP_FOOT_STEP_PLANNER_HPP_
8#include "Eigen/Geometry"
66 void setJumpPattern(const Eigen::Vector3d& jump_length, const
double jump_yaw);
79 const std::vector<std::vector<Eigen::Matrix3d>>& contact_surfaces);
81 void init(const Eigen::VectorXd& q) override;
83 bool plan(const
double t, const Eigen::VectorXd& q, const Eigen::VectorXd& v,
85 const
int planning_steps) override;
91 const std::vector<Eigen::Matrix3d>&
contactSurfaces(const
int step) const override;
93 const Eigen::Vector3d&
CoM(const
int step) const override;
95 const Eigen::Matrix3d&
R(const
int step) const override;
97 int size()
const override {
return planning_size_; }
103 const std::shared_ptr<JumpFootStepPlanner>& planner);
105 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
109 std::vector<int> contact_frames_;
110 int current_step_, planning_size_;
112 std::vector<std::vector<Eigen::Vector3d>> contact_position_ref_;
113 std::vector<std::vector<Eigen::Matrix3d>> contact_surface_ref_;
114 std::vector<Eigen::Vector3d> com_ref_, com_to_contact_position_local_;
115 std::vector<Eigen::Matrix3d> R_;
116 Eigen::Vector3d jump_length_;
117 Eigen::Matrix3d R_yaw_;
Dynamics and kinematics model of robots. Wraps pinocchio::Model and pinocchio::Data....
Definition: robot.hpp:32
Definition: constraint_component_base.hpp:17
std::vector< T, Eigen::aligned_allocator< T > > aligned_vector
std vector with Eigen::aligned_allocator.
Definition: aligned_vector.hpp:14
pinocchio::SE3 SE3
Using pinocchio::SE3 without its namespace.
Definition: se3.hpp:15