robotoc
robotoc - efficient ROBOT Optimal Control solvers
Loading...
Searching...
No Matches
raibert_heuristic.hpp
Go to the documentation of this file.
1#ifndef ROBOTOC_RAIBERT_HEURISTIC_HPP_
2#define ROBOTOC_RAIBERT_HEURISTIC_HPP_
3
4#include <vector>
5#include <iostream>
6
7#include "Eigen/Core"
8#include "Eigen/Geometry"
9
12#include "robotoc/robot/se3.hpp"
15
16
17namespace robotoc {
18
24public:
31 RaibertHeuristic(const double period, const double gain);
32
37
42
47
52
56 RaibertHeuristic(RaibertHeuristic&&) noexcept = default;
57
61 RaibertHeuristic& operator=(RaibertHeuristic&&) noexcept = default;
62
69 void setParameters(const double period, const double gain);
70
77 void planStepLength(const Eigen::Vector2d& vcom,
78 const Eigen::Vector2d& vcom_cmd,
79 const double yaw_rate_cmd);
80
84 const Eigen::Vector3d& stepLength() const;
85
86 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
87
88private:
89 double period_, gain_;
90 Eigen::Vector3d step_length_;
91
92};
93
94} // namespace robotoc
95
96#endif // ROBOTOC_RAIBERT_HEURISTIC_HPP_
Raibert heuristic for foot step planning.
Definition: raibert_heuristic.hpp:23
RaibertHeuristic(RaibertHeuristic &&) noexcept=default
Default move constructor.
~RaibertHeuristic()
Destructor.
RaibertHeuristic(const double period, const double gain)
Constructs the planner.
RaibertHeuristic(const RaibertHeuristic &)=default
Default copy constructor.
RaibertHeuristic & operator=(const RaibertHeuristic &)=default
Default copy assign operator.
void setParameters(const double period, const double gain)
Set parameters.
const Eigen::Vector3d & stepLength() const
Gets the step length.
void planStepLength(const Eigen::Vector2d &vcom, const Eigen::Vector2d &vcom_cmd, const double yaw_rate_cmd)
Plans the step length.
RaibertHeuristic()
Default constructor.
Definition: constraint_component_base.hpp:17