HLR  0.0.1
InterpolatingAnglePlanner.hpp
1 #ifndef KINEMATICS_INTERPOLATINGANGLEPLANNER_HPP
2 #define KINEMATICS_INTERPOLATINGANGLEPLANNER_HPP
3 
4 #include "Planner.hpp"
5 #include <Kinematics/Matrix.hpp>
6 
7 namespace HLR
8 {
9 namespace Kinematics
10 {
15 {
16 public:
23  InterpolatingAnglePlanner(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:
30  double step_size;
31 };
32 }
33 }
34 
35 #endif
Abstract class that forces.
Definition: Planner.hpp:15
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.
InterpolatingAnglePlanner(double step_size)
Create a simple interpolating planner that simply interpolates the angles form the current_state to t...
Abstract class that forces.
Definition: InterpolatingAnglePlanner.hpp:14