Tesseract 0.28.4
Loading...
Searching...
No Matches
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

 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)
 operator bool () const
void addContact (int step_number, int substep_number, int num_substeps, const Eigen::VectorXd &start_state, const Eigen::VectorXd &end_state, const Eigen::VectorXd &start_substate, const Eigen::VectorXd &end_substate, const tesseract::collision::ContactResultMap &contacts)
void resize (int num_substeps)
int numSubsteps () const
int numContacts () const
ContactTrajectorySubstepResults worstSubstep () const
tesseract::collision::ContactResultVector worstCollision () const
ContactTrajectorySubstepResults mostCollisionsSubstep () const

Public Attributes

std::vector< ContactTrajectorySubstepResults > substeps
int step = -1
Eigen::VectorXd state0
Eigen::VectorXd state1
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.