moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
constraint_samplers::JointConstraintSampler::JointInfo Struct Reference

An internal structure used for maintaining constraints on a particular joint. More...

#include <default_constraint_samplers.h>

Public Member Functions

 JointInfo ()
 Constructor.
 
void potentiallyAdjustMinMaxBounds (double min, double max)
 Function that adjusts the joints only if they are more restrictive. This means that the min limit is higher than the current limit, or the max limit is lower than the current max limit.
 

Public Attributes

double min_bound_
 
double max_bound_
 
std::size_t index_
 

Detailed Description

An internal structure used for maintaining constraints on a particular joint.

Definition at line 179 of file default_constraint_samplers.h.

Constructor & Destructor Documentation

◆ JointInfo()

constraint_samplers::JointConstraintSampler::JointInfo::JointInfo ( )
inline

Constructor.

Returns

Definition at line 186 of file default_constraint_samplers.h.

Member Function Documentation

◆ potentiallyAdjustMinMaxBounds()

void constraint_samplers::JointConstraintSampler::JointInfo::potentiallyAdjustMinMaxBounds ( double  min,
double  max 
)
inline

Function that adjusts the joints only if they are more restrictive. This means that the min limit is higher than the current limit, or the max limit is lower than the current max limit.

Parameters
minThe min limit for potential adjustment
maxThe max limit for potential adjustment

Definition at line 201 of file default_constraint_samplers.h.

Here is the caller graph for this function:

Member Data Documentation

◆ index_

std::size_t constraint_samplers::JointConstraintSampler::JointInfo::index_

The index within the joint state vector for this joint

Definition at line 209 of file default_constraint_samplers.h.

◆ max_bound_

double constraint_samplers::JointConstraintSampler::JointInfo::max_bound_

The most restrictive max value of those set

Definition at line 208 of file default_constraint_samplers.h.

◆ min_bound_

double constraint_samplers::JointConstraintSampler::JointInfo::min_bound_

The most restrictive min value of those set

Definition at line 207 of file default_constraint_samplers.h.


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