trajectory_follower
Public Member Functions | List of all members
trajectory_follower::Lateral Class Reference

#include <SubTrajectory.hpp>

Inheritance diagram for trajectory_follower::Lateral:
trajectory_follower::SubTrajectory

Public Member Functions

 Lateral ()
 
 Lateral (const base::Pose2D &currentPose, const base::Position2D &end, double speed)
 
 Lateral (const base::Pose2D &currentPose, double angle, double length, double speed)
 
- Public Member Functions inherited from trajectory_follower::SubTrajectory
 SubTrajectory ()
 
 SubTrajectory (const base::Trajectory &trajectory)
 
base::Trajectory toBaseTrajectory ()
 
void interpolate (base::Pose2D start, const std::vector< base::Angle > &angles)
 
void interpolate (const std::vector< base::Pose2D > &poses)
 
void interpolate (const std::vector< base::Pose2D > &poses, const std::vector< double > &orientationDiff)
 
base::Pose2D getIntermediatePoint (double d)
 
double getClosestPoint (const base::Pose2D &pose, double guess) const
 
double getClosestPoint (const base::Pose2D &pose) const
 
base::Pose2D getIntermediatePointNormalized (double d)
 
double getDist (double startParam, double endParam) const
 
double getClosestPoint (const base::Pose2D &pose, double guess, double start, double end)
 
void setGeometricResolution (double geometricResolution)
 
double getDistToGoal (double startParam) const
 
std::pair< double, double > error (const Eigen::Vector2d &pos, double currentHeading, double curveParam, double forwardDist)
 
double advance (double curveParam, double length)
 
double getCurvature (double param)
 
double getCurvatureMax ()
 
double getVariationOfCurvature (double param)
 
const base::Pose2D & getStartPose () const
 
const base::Pose2D & getGoalPose () const
 
const double & getSpeed () const
 
double getStartParam () const
 
double getEndParam () const
 
double getGeometricResolution () const
 
bool driveForward () const
 
void setSpeed (double speed)
 
double splineHeading (double param)
 

Additional Inherited Members

- Static Public Member Functions inherited from trajectory_follower::SubTrajectory
static double angleLimit (double angle)
 
- Public Attributes inherited from trajectory_follower::SubTrajectory
base::Pose2D startPose
 
base::Pose2D goalPose
 
double speed
 
base::geometry::Spline< 3 > posSpline
 
base::geometry::Spline< 1 > orientationSpline
 
DriveMode driveMode
 

Constructor & Destructor Documentation

Lateral::Lateral ( )
Lateral::Lateral ( const base::Pose2D &  currentPose,
const base::Position2D &  end,
double  speed 
)
Lateral::Lateral ( const base::Pose2D &  currentPose,
double  angle,
double  length,
double  speed 
)

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