#include <nonlinear_trajectory.h>
|
| | NonlinearTrajectory (const std::vector< Waypoint > &waypoints, const std::vector< std::pair< MatD, VecD > > &cons, int deg=7, int min_dim=3, boost::shared_ptr< std::vector< decimal_t > > ds=boost::shared_ptr< std::vector< decimal_t > >(), boost::shared_ptr< VecDVec > path=boost::shared_ptr< VecDVec >(), bool time_opt=false, decimal_t gap=1e-8, int max_it=200) |
| |
| | NonlinearTrajectory (const std::vector< Waypoint > &waypoints, const Vec3Vec &points, int segs, decimal_t dt) |
| |
| virtual | ~NonlinearTrajectory () |
| |
| decimal_t | getTotalTime () const |
| |
| bool | evaluate (decimal_t t, uint derr, VecD &out) const |
| |
| decimal_t | getCost () |
| |
| TrajData | serialize () |
| |
| bool | isSolved () |
| |
| Vec4Vec | getBeads () |
| |
| void | scaleTime (decimal_t ratio) |
| |
| SolverInfo | getInfo (std::vector< TrajData > *history=NULL) |
| |
| virtual | ~Trajectory () |
| |
| decimal_t | getExecuteTime () const |
| |
| bool | getCommand (decimal_t t, uint num_derivatives, MatD &data) |
| |
| void | setDim (uint ndim) |
| |
| void | setExecuteTime (decimal_t t) |
| |
◆ NonlinearTrajectory() [1/2]
| traj_opt::NonlinearTrajectory::NonlinearTrajectory |
( |
const std::vector< Waypoint > & |
waypoints, |
|
|
const std::vector< std::pair< MatD, VecD > > & |
cons, |
|
|
int |
deg = 7, |
|
|
int |
min_dim = 3, |
|
|
boost::shared_ptr< std::vector< decimal_t > > |
ds = boost::shared_ptr< std::vector< decimal_t > >(), |
|
|
boost::shared_ptr< VecDVec > |
path = boost::shared_ptr< VecDVec >(), |
|
|
bool |
time_opt = false, |
|
|
decimal_t |
gap = 1e-8, |
|
|
int |
max_it = 200 |
|
) |
| |
◆ NonlinearTrajectory() [2/2]
| traj_opt::NonlinearTrajectory::NonlinearTrajectory |
( |
const std::vector< Waypoint > & |
waypoints, |
|
|
const Vec3Vec & |
points, |
|
|
int |
segs, |
|
|
decimal_t |
dt |
|
) |
| |
◆ ~NonlinearTrajectory()
| virtual traj_opt::NonlinearTrajectory::~NonlinearTrajectory |
( |
| ) |
|
|
inlinevirtual |
◆ add_Axb()
| void traj_opt::NonlinearTrajectory::add_Axb |
( |
const std::vector< std::pair< MatD, VecD > > & |
cons | ) |
|
|
protected |
◆ add_boundary()
| void traj_opt::NonlinearTrajectory::add_boundary |
( |
const std::vector< Waypoint > & |
waypoints | ) |
|
|
protected |
◆ addCloudConstraint()
| void traj_opt::NonlinearTrajectory::addCloudConstraint |
( |
const Vec3Vec & |
points | ) |
|
|
protected |
◆ addPosTime()
| void traj_opt::NonlinearTrajectory::addPosTime |
( |
| ) |
|
|
protected |
◆ addTimeBound()
| void traj_opt::NonlinearTrajectory::addTimeBound |
( |
boost::shared_ptr< std::vector< decimal_t > > |
ds = boost::shared_ptr<std::vector<decimal_t> >() | ) |
|
|
protected |
◆ allocate_beads()
| void traj_opt::NonlinearTrajectory::allocate_beads |
( |
| ) |
|
|
protected |
◆ allocate_poly()
| void traj_opt::NonlinearTrajectory::allocate_poly |
( |
boost::shared_ptr< std::vector< decimal_t > > |
ds = boost::shared_ptr<std::vector<decimal_t> >(), |
|
|
boost::shared_ptr< VecDVec > |
path = boost::shared_ptr<VecDVec>() |
|
) |
| |
|
protected |
◆ evaluate()
| bool traj_opt::NonlinearTrajectory::evaluate |
( |
decimal_t |
t, |
|
|
uint |
derr, |
|
|
VecD & |
out |
|
) |
| const |
|
virtual |
◆ getBeads()
| Vec4Vec traj_opt::NonlinearTrajectory::getBeads |
( |
| ) |
|
◆ getCost()
| decimal_t traj_opt::NonlinearTrajectory::getCost |
( |
| ) |
|
|
virtual |
◆ getInfo()
| SolverInfo traj_opt::NonlinearTrajectory::getInfo |
( |
std::vector< TrajData > * |
history = NULL | ) |
|
◆ getTotalTime()
| decimal_t traj_opt::NonlinearTrajectory::getTotalTime |
( |
| ) |
const |
|
virtual |
◆ isSolved()
| bool traj_opt::NonlinearTrajectory::isSolved |
( |
| ) |
|
|
inline |
◆ link_sections()
| void traj_opt::NonlinearTrajectory::link_sections |
( |
| ) |
|
|
protected |
◆ make_convex()
| void traj_opt::NonlinearTrajectory::make_convex |
( |
boost::shared_ptr< std::vector< decimal_t > > |
ds | ) |
|
|
protected |
◆ scaleTime()
| void traj_opt::NonlinearTrajectory::scaleTime |
( |
decimal_t |
ratio | ) |
|
◆ serialize()
| TrajData traj_opt::NonlinearTrajectory::serialize |
( |
| ) |
|
|
virtual |
◆ AxbConstraint
◆ BallConstraint
◆ basis
◆ basisT
◆ beads
| NLBeads traj_opt::NonlinearTrajectory::beads |
|
protected |
◆ cost
| boost::shared_ptr<PolyCost> traj_opt::NonlinearTrajectory::cost |
|
protected |
◆ deg_
| int traj_opt::NonlinearTrajectory::deg_ |
|
protected |
◆ seg_
| int traj_opt::NonlinearTrajectory::seg_ |
|
protected |
◆ solved_
| bool traj_opt::NonlinearTrajectory::solved_ {false} |
|
protected |
◆ solver
◆ times
| NLTimes traj_opt::NonlinearTrajectory::times |
|
protected |
◆ traj
| NLTraj traj_opt::NonlinearTrajectory::traj |
|
protected |
The documentation for this class was generated from the following files: