Public Member Functions | Public Attributes
towr::SplineHolder Struct Reference

Builds splines from node values (pos/vel) and durations. More...

#include <spline_holder.h>

List of all members.

Public Member Functions

 SplineHolder (NodesVariables::Ptr base_lin, NodesVariables::Ptr base_ang, const std::vector< double > &base_poly_durations, std::vector< NodesVariablesPhaseBased::Ptr > ee_motion, std::vector< NodesVariablesPhaseBased::Ptr > ee_force, std::vector< PhaseDurations::Ptr > phase_durations, bool ee_durations_change)
 Fully construct all splines.
 SplineHolder ()
 Attention, nothing initialized.

Public Attributes

NodeSpline::Ptr base_angular_
NodeSpline::Ptr base_linear_
std::vector< NodeSpline::Ptr > ee_force_
std::vector< NodeSpline::Ptr > ee_motion_
std::vector< PhaseDurations::Ptr > phase_durations_

Detailed Description

Builds splines from node values (pos/vel) and durations.

These splines are linked to the optimization variables, so change as the nodes or durations change. This is a convenience class to not have to construct the splines from the variables new every time.

Definition at line 47 of file spline_holder.h.


Constructor & Destructor Documentation

towr::SplineHolder::SplineHolder ( NodesVariables::Ptr  base_lin,
NodesVariables::Ptr  base_ang,
const std::vector< double > &  base_poly_durations,
std::vector< NodesVariablesPhaseBased::Ptr >  ee_motion,
std::vector< NodesVariablesPhaseBased::Ptr >  ee_force,
std::vector< PhaseDurations::Ptr >  phase_durations,
bool  ee_durations_change 
)

Fully construct all splines.

Parameters:
base_linThe nodes describing the base linear motion.
base_angThe nodes describing the base angular motion.
base_poly_durationsThe durations of each base polynomial.
ee_motionThe nodes describing the endeffector motions.
ee_forceThe nodes describing the endeffector forces.
phase_durationsThe phase durations of each endeffector.
ee_durations_changeTrue if the ee durations are optimized over.

Definition at line 35 of file spline_holder.cc.

Attention, nothing initialized.


Member Data Documentation

Definition at line 72 of file spline_holder.h.

Definition at line 71 of file spline_holder.h.

std::vector<NodeSpline::Ptr> towr::SplineHolder::ee_force_

Definition at line 75 of file spline_holder.h.

std::vector<NodeSpline::Ptr> towr::SplineHolder::ee_motion_

Definition at line 74 of file spline_holder.h.

std::vector<PhaseDurations::Ptr> towr::SplineHolder::phase_durations_

Definition at line 76 of file spline_holder.h.


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


towr
Author(s): Alexander W. Winkler
autogenerated on Mon Apr 15 2019 02:42:32