#include <mc_rbdyn/Collision.h>
◆ Collision() [1/2]
  
  | 
        
          | mc_rbdyn::Collision::Collision | ( |  | ) |  |  | inline | 
 
 
◆ Collision() [2/2]
  
  | 
        
          | mc_rbdyn::Collision::Collision | ( | const std::string & | b1, |  
          |  |  | const std::string & | b2, |  
          |  |  | double | i, |  
          |  |  | double | s, |  
          |  |  | double | d, |  
          |  |  | const std::optional< std::vector< std::string >> & | r1Joints = {}, |  
          |  |  | const std::optional< std::vector< std::string >> & | r2Joints = {}, |  
          |  |  | bool | r1JointsInactive = false, |  
          |  |  | bool | r2JointsInactive = false |  
          |  | ) |  |  |  | inline | 
 
 
◆ isNone()
  
  | 
        
          | bool mc_rbdyn::Collision::isNone | ( |  | ) |  |  | inline | 
 
When true the selected joints in r2ActiveJoints are considered inactive 
 
 
◆ operator!=()
      
        
          | bool mc_rbdyn::Collision::operator!= | ( | const Collision & | rhs | ) | const | 
      
 
 
◆ operator==()
      
        
          | bool mc_rbdyn::Collision::operator== | ( | const Collision & | rhs | ) | const | 
      
 
 
◆ body1
      
        
          | std::string mc_rbdyn::Collision::body1 | 
      
 
 
◆ body2
      
        
          | std::string mc_rbdyn::Collision::body2 | 
      
 
First body in the constraint 
 
 
◆ damping
      
        
          | double mc_rbdyn::Collision::damping | 
      
 
 
◆ iDist
      
        
          | double mc_rbdyn::Collision::iDist | 
      
 
Second body in the constraint 
 
 
◆ r1Joints
      
        
          | std::optional<std::vector<std::string> > mc_rbdyn::Collision::r1Joints | 
      
 
Damping (0 is automatic) Active/Inactive joints in the first robot:
- no value specified = all joints selected
- value specified:
- if r1JointsInactive = false : specified joints are treated as active
- if r1JointsInactive = true : specified joints are treated as inactive 
 
 
 
◆ r1JointsInactive
      
        
          | bool mc_rbdyn::Collision::r1JointsInactive = false | 
      
 
Active/Inactive joints in the second robot, ignored if r1 == r2 
 
 
◆ r2Joints
      
        
          | std::optional<std::vector<std::string> > mc_rbdyn::Collision::r2Joints | 
      
 
 
◆ r2JointsInactive
      
        
          | bool mc_rbdyn::Collision::r2JointsInactive = false | 
      
 
When true the selected joints in r1ActiveJoints are considered inactive 
 
 
◆ sDist
      
        
          | double mc_rbdyn::Collision::sDist | 
      
 
 
The documentation for this struct was generated from the following file: