Tesseract 0.28.4
Loading...
Searching...
No Matches
tesseract::collision::ContactTrajectorySubstepResults Struct Reference

The ContactTrajectorySubstepResults struct is the lowest level struct for tracking contacts in a trajectory. This struct is used for substeps between waypoints in a trajectory when a longest valid segment is used, storing the relevant states of the substep. More...

#include <types.h>

Public Types

using UPtr = std::unique_ptr<ContactTrajectorySubstepResults>

Public Member Functions

 ContactTrajectorySubstepResults (int substep, const Eigen::VectorXd &start_state, const Eigen::VectorXd &end_state)
 ContactTrajectorySubstepResults (int substep, const Eigen::VectorXd &state)
 operator bool () const
void addContact (int substep_number, const Eigen::VectorXd &start_substate, const Eigen::VectorXd &end_substate, const tesseract::collision::ContactResultMap &new_contacts)
int numContacts () const
tesseract::collision::ContactResultVector worstCollision () const

Public Attributes

tesseract::collision::ContactResultMap contacts
int substep = -1
Eigen::VectorXd state0
Eigen::VectorXd state1

Detailed Description

The ContactTrajectorySubstepResults struct is the lowest level struct for tracking contacts in a trajectory. This struct is used for substeps between waypoints in a trajectory when a longest valid segment is used, storing the relevant states of the substep.