Public Types | Public Member Functions | Public Attributes | List of all members
tesseract_collision::ContactTrajectoryStepResults Struct Reference

The ContactTrajectoryStepResults struct is the second level struct for tracking contacts in a trajectory. This struct stores all the substep contact information as well as the start and end state of the given step in the trajectory. More...

#include <types.h>

Public Types

using UPtr = std::unique_ptr< ContactTrajectoryStepResults >
 

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW ContactTrajectoryStepResults ()=default
 
 ContactTrajectoryStepResults (int step_number, const Eigen::VectorXd &start_state, const Eigen::VectorXd &end_state, int num_substeps)
 
 ContactTrajectoryStepResults (int step_number, const Eigen::VectorXd &state)
 
ContactTrajectorySubstepResults mostCollisionsSubstep () const
 
int numContacts () const
 
int numSubsteps () const
 
void resize (int num_substeps)
 
tesseract_collision::ContactResultVector worstCollision () const
 
ContactTrajectorySubstepResults worstSubstep () const
 

Public Attributes

Eigen::VectorXd state0
 
Eigen::VectorXd state1
 
int step = -1
 
std::vector< ContactTrajectorySubstepResultssubsteps
 
int total_substeps = 0
 

Detailed Description

The ContactTrajectoryStepResults struct is the second level struct for tracking contacts in a trajectory. This struct stores all the substep contact information as well as the start and end state of the given step in the trajectory.

Definition at line 524 of file types.h.

Member Typedef Documentation

◆ UPtr

Definition at line 537 of file types.h.

Constructor & Destructor Documentation

◆ ContactTrajectoryStepResults() [1/3]

EIGEN_MAKE_ALIGNED_OPERATOR_NEW tesseract_collision::ContactTrajectoryStepResults::ContactTrajectoryStepResults ( )
default

◆ ContactTrajectoryStepResults() [2/3]

tesseract_collision::ContactTrajectoryStepResults::ContactTrajectoryStepResults ( int  step_number,
const Eigen::VectorXd start_state,
const Eigen::VectorXd end_state,
int  num_substeps 
)

Definition at line 472 of file types.cpp.

◆ ContactTrajectoryStepResults() [3/3]

tesseract_collision::ContactTrajectoryStepResults::ContactTrajectoryStepResults ( int  step_number,
const Eigen::VectorXd state 
)

Definition at line 481 of file types.cpp.

Member Function Documentation

◆ mostCollisionsSubstep()

ContactTrajectorySubstepResults tesseract_collision::ContactTrajectoryStepResults::mostCollisionsSubstep ( ) const

Definition at line 528 of file types.cpp.

◆ numContacts()

int tesseract_collision::ContactTrajectoryStepResults::numContacts ( ) const

Definition at line 495 of file types.cpp.

◆ numSubsteps()

int tesseract_collision::ContactTrajectoryStepResults::numSubsteps ( ) const

Definition at line 493 of file types.cpp.

◆ resize()

void tesseract_collision::ContactTrajectoryStepResults::resize ( int  num_substeps)

Definition at line 487 of file types.cpp.

◆ worstCollision()

tesseract_collision::ContactResultVector tesseract_collision::ContactTrajectoryStepResults::worstCollision ( ) const

Definition at line 520 of file types.cpp.

◆ worstSubstep()

ContactTrajectorySubstepResults tesseract_collision::ContactTrajectoryStepResults::worstSubstep ( ) const

Definition at line 503 of file types.cpp.

Member Data Documentation

◆ state0

Eigen::VectorXd tesseract_collision::ContactTrajectoryStepResults::state0

Definition at line 553 of file types.h.

◆ state1

Eigen::VectorXd tesseract_collision::ContactTrajectoryStepResults::state1

Definition at line 554 of file types.h.

◆ step

int tesseract_collision::ContactTrajectoryStepResults::step = -1

Definition at line 552 of file types.h.

◆ substeps

std::vector<ContactTrajectorySubstepResults> tesseract_collision::ContactTrajectoryStepResults::substeps

Definition at line 551 of file types.h.

◆ total_substeps

int tesseract_collision::ContactTrajectoryStepResults::total_substeps = 0

Definition at line 555 of file types.h.


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


tesseract_collision
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:01:53