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 {
11 namespace Planners
12 {
17 {
18 public:
22  ~InterpolatingEuclideanPlanner() override = default;
23 
29  delete;
30 
36 
43  const InterpolatingEuclideanPlanner& p) = delete;
44 
51  InterpolatingEuclideanPlanner&& p) = delete;
52 
59  InterpolatingEuclideanPlanner(double step_size);
60 
61  const std::optional<std::vector<Matrix<double, 5, 1>>> get_path(
62  const Matrix<double, 5, 1>& current_state,
63  const Matrix<double, 3, 1>& target_pos) const override;
64 
65 private:
69  double step_size;
70 };
71 }
72 }
73 }
74 
75 #endif
~InterpolatingEuclideanPlanner() override=default
Pure virtual destructor.
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.
InterpolatingEuclideanPlanner(const InterpolatingEuclideanPlanner &p)=delete
Copy constructor, deleted.
Abstract class that forces.
Definition: Planner.hpp:17
Abstract class that forces.
Definition: InterpolatingEuclideanPlanner.hpp:16
InterpolatingEuclideanPlanner & operator=(const InterpolatingEuclideanPlanner &p)=delete
Copy assignment operator, deleted.
Create a matrix with numerical values.
Definition: Matrix.hpp:22