FancySafeBot 0.0.1
A safe robotics library
Loading...
Searching...
No Matches
fsb::SegmentBase Class Referenceabstract

Detailed Description

Abstract class for segments.

#include <fsb_trajectory_segment.h>

Inheritance diagram for fsb::SegmentBase:
Inheritance graph
Collaboration diagram for fsb::SegmentBase:
Collaboration graph

Public Member Functions

virtual real_t get_start_time () const =0
 Get start time of the segment.
 
virtual real_t get_duration () const =0
 Get duration of the segment.
 
virtual real_t get_final_time () const =0
 Get final time of the segment.
 

Member Function Documentation

◆ get_duration()

virtual real_t fsb::SegmentBase::get_duration ( ) const
pure virtual

Get duration of the segment.

Returns
Duration.

Implemented in fsb::QuinticTrajectory, fsb::SegmentConstJerk, fsb::SegmentConstAcc, fsb::SegmentConstVel, and fsb::TrapezoidalVelocity.

◆ get_final_time()

virtual real_t fsb::SegmentBase::get_final_time ( ) const
pure virtual

Get final time of the segment.

Returns
Final time.

Implemented in fsb::QuinticTrajectory, fsb::SegmentConstJerk, fsb::SegmentConstAcc, fsb::SegmentConstVel, and fsb::TrapezoidalVelocity.

◆ get_start_time()

virtual real_t fsb::SegmentBase::get_start_time ( ) const
pure virtual

Get start time of the segment.

Returns
Start time.

Implemented in fsb::QuinticTrajectory, fsb::SegmentConstJerk, fsb::SegmentConstAcc, fsb::SegmentConstVel, and fsb::TrapezoidalVelocity.


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