HLR  0.0.1
InterpolatingEuclideanPlanner.hpp
1 #ifndef KINEMATICS_INTERPOLATINGEUCLIDEANPLANNER_HPP
2 #define KINEMATICS_INTERPOLATINGEUCLIDEANPLANNER_HPP
3 
4 #include "Planner.hpp"
5 #include <Kinematics/Matrix.hpp>
6 
7 namespace HLR
8 {
9 namespace Kinematics
10 {
15 {
16 public:
23  InterpolatingEuclideanPlanner(double step_size);
24 
25  const std::optional<std::vector<Matrix<double, 5, 1>>> get_path(
26  const Matrix<double, 5, 1>& current_state,
27  const Matrix<double, 3, 1>& target_pos) const override;
28 
29 private:
33  double step_size;
34 };
35 }
36 }
37 
38 #endif
Abstract class that forces.
Definition: Planner.hpp:15
InterpolatingEuclideanPlanner(double step_size)
Create a simple interpolating planner that interpolates from the current state to the target position...
const std::optional< std::vector< Matrix< double, 5, 1 > > > get_path(const Matrix< double, 5, 1 > &current_state, const Matrix< double, 3, 1 > &target_pos) const override
Calculate a path between a start position and the target position.
Abstract class that forces.
Definition: InterpolatingEuclideanPlanner.hpp:14
Create a matrix with numerical values.
Definition: Matrix.hpp:22