Twist of a frame.  
 More...
#include <twist.hpp>
◆ Twist() [1/2]
◆ Twist() [2/2]
  
  
      
        
          | franky::Twist::Twist  | 
          ( | 
          Eigen::Vector3d  | 
          linear_velocity = Eigen::Vector3d::Zero(),  | 
         
        
           | 
           | 
          Eigen::Vector3d  | 
          angular_velocity = Eigen::Vector3d::Zero()  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlineexplicit   | 
  
 
- Parameters
 - 
  
    | linear_velocity | The linear velocity in [m/s].  | 
    | angular_velocity | The angular velocity in [rad/s].  | 
  
   
 
 
◆ angular_velocity()
  
  
      
        
          | Eigen::Vector3d franky::Twist::angular_velocity  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the angular velocity. 
- Returns
 - The angular velocity [rad/s]. 
 
 
 
◆ fromVectorRepr()
- Parameters
 - 
  
    | vector_repr | The vector representation of the twist.  | 
  
   
 
 
◆ linear_velocity()
  
  
      
        
          | Eigen::Vector3d franky::Twist::linear_velocity  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the linear velocity. 
- Returns
 - The linear velocity [m/s]. 
 
 
 
◆ propagateThroughLink()
  
  
      
        
          | Twist franky::Twist::propagateThroughLink  | 
          ( | 
          const Eigen::Vector3d &  | 
          link_translation | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Propagate the twist through a link with the given translation. Hence, suppose this twist is the twist of a frame A, then this function computes the twist of a frame B that is rigidly attached to frame A by a link with the given translation: B = A + T, where T is the translation. 
- Parameters
 - 
  
    | link_translation | The translation of the link. Must be in the same reference frame as this twist.  | 
  
   
- Returns
 - The twist propagated through the link. 
 
 
 
◆ transformWith() [1/2]
Transform the frame of the twist by applying the given affine transform. 
- Parameters
 - 
  
    | transformation | The transformation to apply.  | 
  
   
- Returns
 - The twist after the transformation. 
 
 
 
◆ transformWith() [2/2]
Transform the frame of the twist by applying the given rotation. 
- Parameters
 - 
  
    | rotation | The rotation to apply.  | 
  
   
- Returns
 - The twist after the transformation. 
 
 
 
◆ vector_repr()
  
  
      
        
          | Vector6d franky::Twist::vector_repr  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the vector representation of the twist. It consists of the linear and angular velocities. 
- Returns
 - The vector representation of the twist. 
 
 
 
◆ operator<<
The documentation for this class was generated from the following file:
- /home/runner/work/franky/franky/include/franky/twist.hpp