LocalGuidance
A library that generates velocity references to follow a path.
navigation_common::PathSegmentBase Class Reference

#include <PathSegmentBase.hpp>

Inheritance diagram for navigation_common::PathSegmentBase:
Inheritance graph

Public Types

using PathSegmentBasePtr = std::shared_ptr< PathSegmentBase >
 

Public Member Functions

 PathSegmentBase ()
 
 PathSegmentBase (PoseStampedPtr goal)
 
 PathSegmentBase (const PoseStamped &goal)
 
 PathSegmentBase (const PathSegmentBasePtr &pathSegmentBase)
 
virtual ~PathSegmentBase ()=default
 
virtual PathSegmentBasePtr getDeepCopy () const
 

Public Attributes

PoseStampedPtr goal_
 Goal. More...
 

Protected Member Functions

PathSegmentBasePtr getDeepCopyBase () const
 

Member Typedef Documentation

◆ PathSegmentBasePtr

Constructor & Destructor Documentation

◆ PathSegmentBase() [1/4]

navigation_common::PathSegmentBase::PathSegmentBase ( )

Constructor.

◆ PathSegmentBase() [2/4]

navigation_common::PathSegmentBase::PathSegmentBase ( PoseStampedPtr  goal)
explicit

Constructor.

Parameters
goalgoal.

◆ PathSegmentBase() [3/4]

navigation_common::PathSegmentBase::PathSegmentBase ( const PoseStamped goal)
explicit

Constructor.

Parameters
goalgoal.

◆ PathSegmentBase() [4/4]

navigation_common::PathSegmentBase::PathSegmentBase ( const PathSegmentBasePtr pathSegmentBase)
explicit

Constructor.

Parameters
pathSegmentBasepath segment base.

◆ ~PathSegmentBase()

virtual navigation_common::PathSegmentBase::~PathSegmentBase ( )
virtualdefault

Destructor.

Member Function Documentation

◆ getDeepCopy()

virtual PathSegmentBasePtr navigation_common::PathSegmentBase::getDeepCopy ( ) const
virtual

Create a deep copy of this path segment.

Returns
new path segment.

Reimplemented in navigation_common::PathSegment, and navigation_common::PathSegmentLocalGuidance.

◆ getDeepCopyBase()

PathSegmentBasePtr navigation_common::PathSegmentBase::getDeepCopyBase ( ) const
protected

Create a deep copy of this path base segment.

Returns
new path segment.

Member Data Documentation

◆ goal_

PoseStampedPtr navigation_common::PathSegmentBase::goal_

Goal.


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