Public Member Functions | Public Attributes | List of all members
ikfast::IkSolution< T > Class Template Reference

Default implementation of IkSolutionBase. More...

#include <ikfast.h>

Inheritance diagram for ikfast::IkSolution< T >:
Inheritance graph
[legend]

Public Member Functions

virtual const int GetDOF () const
 the dof of the solution More...
 
virtual const std::vector< int > & GetFree () const
 Gets the indices of the configuration space that have to be preset before a full solution can be returned. More...
 
virtual void GetSolution (T *solution, const T *freevalues) const
 gets a concrete solution More...
 
virtual void GetSolution (std::vector< T > &solution, const std::vector< T > &freevalues) const
 std::vector version of GetSolution More...
 
virtual void GetSolutionIndices (std::vector< unsigned int > &v) const
 
 IkSolution (const std::vector< IkSingleDOFSolutionBase< T > > &vinfos, const std::vector< int > &vfree)
 
virtual void Validate () const
 
- Public Member Functions inherited from ikfast::IkSolutionBase< T >
virtual ~IkSolutionBase ()
 

Public Attributes

std::vector< IkSingleDOFSolutionBase< T > > _vbasesol
 solution and their offsets if joints are mimiced More...
 
std::vector< int > _vfree
 

Detailed Description

template<typename T>
class ikfast::IkSolution< T >

Default implementation of IkSolutionBase.

Definition at line 169 of file ikfast.h.

Constructor & Destructor Documentation

template<typename T >
ikfast::IkSolution< T >::IkSolution ( const std::vector< IkSingleDOFSolutionBase< T > > &  vinfos,
const std::vector< int > &  vfree 
)
inline

Definition at line 172 of file ikfast.h.

Member Function Documentation

template<typename T >
virtual const int ikfast::IkSolution< T >::GetDOF ( ) const
inlinevirtual

the dof of the solution

Implements ikfast::IkSolutionBase< T >.

Definition at line 209 of file ikfast.h.

template<typename T >
virtual const std::vector<int>& ikfast::IkSolution< T >::GetFree ( ) const
inlinevirtual

Gets the indices of the configuration space that have to be preset before a full solution can be returned.

Returns
vector of indices indicating the free parameters

Implements ikfast::IkSolutionBase< T >.

Definition at line 205 of file ikfast.h.

template<typename T >
virtual void ikfast::IkSolution< T >::GetSolution ( T *  solution,
const T *  freevalues 
) const
inlinevirtual

gets a concrete solution

Parameters
[out]solutionthe result
[in]freevaluesvalues for the free parameters GetFree

Implements ikfast::IkSolutionBase< T >.

Definition at line 178 of file ikfast.h.

template<typename T >
virtual void ikfast::IkSolution< T >::GetSolution ( std::vector< T > &  solution,
const std::vector< T > &  freevalues 
) const
inlinevirtual

std::vector version of GetSolution

Reimplemented from ikfast::IkSolutionBase< T >.

Definition at line 199 of file ikfast.h.

template<typename T >
virtual void ikfast::IkSolution< T >::GetSolutionIndices ( std::vector< unsigned int > &  v) const
inlinevirtual

Definition at line 236 of file ikfast.h.

template<typename T >
virtual void ikfast::IkSolution< T >::Validate ( ) const
inlinevirtual

Definition at line 214 of file ikfast.h.

Member Data Documentation

template<typename T >
std::vector<IkSingleDOFSolutionBase<T> > ikfast::IkSolution< T >::_vbasesol

solution and their offsets if joints are mimiced

Definition at line 267 of file ikfast.h.

template<typename T >
std::vector<int> ikfast::IkSolution< T >::_vfree

Definition at line 268 of file ikfast.h.


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


turtlebot_arm_ikfast_plugin
Author(s):
autogenerated on Fri Feb 7 2020 03:56:27