HLR  0.0.1
Public Member Functions | List of all members
HLR::Kinematics::Planners::InterpolatingEuclideanPlanner Class Reference

Abstract class that forces. More...

#include <InterpolatingEuclideanPlanner.hpp>

Inheritance diagram for HLR::Kinematics::Planners::InterpolatingEuclideanPlanner:
Collaboration diagram for HLR::Kinematics::Planners::InterpolatingEuclideanPlanner:

Public Member Functions

 ~InterpolatingEuclideanPlanner () override=default
 Pure virtual destructor.
 
 InterpolatingEuclideanPlanner (const InterpolatingEuclideanPlanner &p)=delete
 Copy constructor, deleted. More...
 
 InterpolatingEuclideanPlanner (InterpolatingEuclideanPlanner &&p)=delete
 Move constructor, deleted. More...
 
InterpolatingEuclideanPlanneroperator= (const InterpolatingEuclideanPlanner &p)=delete
 Copy assignment operator, deleted. More...
 
InterpolatingEuclideanPlanneroperator= (InterpolatingEuclideanPlanner &&p)=delete
 Move assignment operator, deleted. More...
 
 InterpolatingEuclideanPlanner (double step_size)
 Create a simple interpolating planner that interpolates from the current state to the target position in euclidean space. More...
 
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. More...
 
- Public Member Functions inherited from HLR::Kinematics::Planners::Planner
 Planner ()=default
 Constructor.
 
virtual ~Planner ()=default
 Pure virtual destructor.
 
 Planner (const Planner &p)=delete
 Copy constructor, deleted. More...
 
 Planner (Planner &&p)=delete
 Move constructor, deleted. More...
 
Planneroperator= (const Planner &p)=delete
 Copy assignment operator, deleted. More...
 
Planneroperator= (Planner &&p)=delete
 Move assignment operator, deleted. More...
 

Detailed Description

Abstract class that forces.

Constructor & Destructor Documentation

HLR::Kinematics::Planners::InterpolatingEuclideanPlanner::InterpolatingEuclideanPlanner ( const InterpolatingEuclideanPlanner p)
delete

Copy constructor, deleted.

Parameters
p
HLR::Kinematics::Planners::InterpolatingEuclideanPlanner::InterpolatingEuclideanPlanner ( InterpolatingEuclideanPlanner &&  p)
delete

Move constructor, deleted.

Parameters
p
HLR::Kinematics::Planners::InterpolatingEuclideanPlanner::InterpolatingEuclideanPlanner ( double  step_size)

Create a simple interpolating planner that interpolates from the current state to the target position in euclidean space.

Parameters
step_sizeThe stepsize each servo will rotate in meters per step.

Member Function Documentation

const std::optional<std::vector<Matrix<double, 5, 1> > > HLR::Kinematics::Planners::InterpolatingEuclideanPlanner::get_path ( const Matrix< double, 5, 1 > &  current_state,
const Matrix< double, 3, 1 > &  target_pos 
) const
overridevirtual

Calculate a path between a start position and the target position.

Parameters
current_stateThe current state each joint of the robot arm has.
target_posThe target position that has to be reached.
Returns
A vector containing valid robot arm states intermediates to reach the target position

Implements HLR::Kinematics::Planners::Planner.

InterpolatingEuclideanPlanner& HLR::Kinematics::Planners::InterpolatingEuclideanPlanner::operator= ( const InterpolatingEuclideanPlanner p)
delete

Copy assignment operator, deleted.

Parameters
p
Returns
InterpolatingEuclideanPlanner& HLR::Kinematics::Planners::InterpolatingEuclideanPlanner::operator= ( InterpolatingEuclideanPlanner &&  p)
delete

Move assignment operator, deleted.

Parameters
p
Returns

The documentation for this class was generated from the following file: