![]() |
Tesseract 0.28.4
|
The ContactTrajectoryResults struct is the top level struct for tracking contacts in a trajectory. This struct stores all the steps and therefore all the contacts in a trajectory. It also exposes a method for returning a contact summary table as a string for printing to a terminal. More...
#include <types.h>
Public Types | |
| using | UPtr = std::unique_ptr<ContactTrajectoryResults> |
Public Member Functions | |
| ContactTrajectoryResults (std::vector< tesseract::common::JointId > j_ids) | |
| ContactTrajectoryResults (std::vector< tesseract::common::JointId > j_ids, int num_steps) | |
| 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_steps) |
| int | numSteps () const |
| int | numContacts () const |
| ContactTrajectoryStepResults | worstStep () const |
| tesseract::collision::ContactResultVector | worstCollision () const |
| ContactTrajectoryStepResults | mostCollisionsStep () const |
| std::stringstream | trajectoryCollisionResultsTable () const |
| std::stringstream | collisionFrequencyPerLink () const |
| std::stringstream | condensedSummary () const |
Public Attributes | |
| std::vector< ContactTrajectoryStepResults > | steps |
| std::vector< tesseract::common::JointId > | joint_ids |
| int | total_steps = 0 |
The ContactTrajectoryResults struct is the top level struct for tracking contacts in a trajectory. This struct stores all the steps and therefore all the contacts in a trajectory. It also exposes a method for returning a contact summary table as a string for printing to a terminal.