35 #ifndef DART_PLANNING_PATHFOLLOWINGTRAJECTORY_HPP_
36 #define DART_PLANNING_PATHFOLLOWINGTRAJECTORY_HPP_
84 inline double getSlope(std::list<TrajectoryStep>::const_iterator lineEnd);
95 static const double eps;
Eigen::VectorXd acceleration
Definition: SkelParser.cpp:109
Definition: PathFollowingTrajectory.hpp:46
Path path
Definition: PathFollowingTrajectory.hpp:88
void integrateBackward(std::list< TrajectoryStep > &trajectory, std::list< TrajectoryStep > &startTrajectory, double acceleration)
Definition: PathFollowingTrajectory.cpp:331
Eigen::VectorXd maxVelocity
Definition: PathFollowingTrajectory.hpp:89
unsigned int n
Definition: PathFollowingTrajectory.hpp:91
double getSlope(const TrajectoryStep &point1, const TrajectoryStep &point2)
Definition: PathFollowingTrajectory.cpp:425
Eigen::VectorXd getVelocity(double time) const
Definition: PathFollowingTrajectory.cpp:575
bool valid
Definition: PathFollowingTrajectory.hpp:92
bool getNextSwitchingPoint(double pathPos, TrajectoryStep &nextSwitchingPoint, double &beforeAcceleration, double &afterAcceleration)
Definition: PathFollowingTrajectory.cpp:120
~PathFollowingTrajectory(void)
Definition: PathFollowingTrajectory.cpp:115
double getVelocityMaxPathVelocity(double pathPos)
Definition: PathFollowingTrajectory.cpp:505
double getMinMaxPhaseSlope(double pathPosition, double pathVelocity, bool max)
Definition: PathFollowingTrajectory.cpp:476
std::list< TrajectoryStep > trajectory
Definition: PathFollowingTrajectory.hpp:93
bool isValid() const
Definition: PathFollowingTrajectory.cpp:533
double getMaxAccelerationError()
Definition: PathFollowingTrajectory.cpp:592
std::list< TrajectoryStep >::const_iterator cachedTrajectorySegment
Definition: PathFollowingTrajectory.hpp:99
Eigen::VectorXd getPosition(double time) const
Definition: PathFollowingTrajectory.cpp:559
double cachedTime
Definition: PathFollowingTrajectory.hpp:98
double getSlope(std::list< TrajectoryStep >::const_iterator lineEnd)
PathFollowingTrajectory(const Path &path, const Eigen::VectorXd &maxVelocity, const Eigen::VectorXd &maxAcceleration)
Definition: PathFollowingTrajectory.cpp:54
bool integrateForward(std::list< TrajectoryStep > &trajectory, double acceleration)
Definition: PathFollowingTrajectory.cpp:234
double getAccelerationMaxPathVelocity(double pathPos)
Definition: PathFollowingTrajectory.cpp:480
double getMinMaxPathAcceleration(double pathPosition, double pathVelocity, bool max)
Definition: PathFollowingTrajectory.cpp:462
Eigen::VectorXd maxAcceleration
Definition: PathFollowingTrajectory.hpp:90
bool getNextAccelerationSwitchingPoint(double pathPos, TrajectoryStep &nextSwitchingPoint, double &beforeAcceleration, double &afterAcceleration)
Definition: PathFollowingTrajectory.cpp:155
double getVelocityMaxPathVelocityDeriv(double pathPos)
Definition: PathFollowingTrajectory.cpp:518
TrajectoryStep getIntersection(const std::list< TrajectoryStep > &trajectory, std::list< TrajectoryStep >::iterator &it, const TrajectoryStep &linePoint1, const TrajectoryStep &linePoint2)
Definition: PathFollowingTrajectory.cpp:435
bool getNextVelocitySwitchingPoint(double pathPos, TrajectoryStep &nextSwitchingPoint, double &beforeAcceleration, double &afterAcceleration)
Definition: PathFollowingTrajectory.cpp:196
std::list< TrajectoryStep >::const_iterator getTrajectorySegment(double time) const
Definition: PathFollowingTrajectory.cpp:541
static const double eps
Definition: PathFollowingTrajectory.hpp:95
static const double timeStep
Definition: PathFollowingTrajectory.hpp:96
double getDuration() const
Definition: PathFollowingTrajectory.cpp:537
double getAccelerationMaxPathVelocityDeriv(double pathPos)
Definition: PathFollowingTrajectory.cpp:514
Definition: Trajectory.hpp:44
std::multimap< dart::dynamics::Shape *, SimpleFrameShapeDnD * >::iterator iterator
Definition: Viewer.cpp:622
Definition: BulletCollisionDetector.cpp:63
Definition: PathFollowingTrajectory.hpp:58
double pathPos
Definition: PathFollowingTrajectory.hpp:65
TrajectoryStep(double pathPos, double pathVel)
Definition: PathFollowingTrajectory.hpp:60
TrajectoryStep()
Definition: PathFollowingTrajectory.hpp:59
double time
Definition: PathFollowingTrajectory.hpp:67
double pathVel
Definition: PathFollowingTrajectory.hpp:66