fcl-pinocchio-conversions.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2015-2016 CNRS
3 //
4 
5 #ifndef __pinocchio_fcl_convertion_hpp__
6 #define __pinocchio_fcl_convertion_hpp__
7 
10 
11 namespace pinocchio
12 {
14  {
15  return hpp::fcl::Transform3f(m.rotation(), m.translation());
16  }
17 
19  {
20  return SE3(tf.getRotation(), tf.getTranslation());
21  }
22 
23 } // namespace pinocchio
24 
25 #endif // ifndef __pinocchio_fcl_convertion_hpp__
pinocchio::SE3
SE3Tpl< double, 0 > SE3
Definition: spatial/fwd.hpp:53
m
float m
pinocchio::SE3Tpl< double, 0 >
transform.h
pinocchio::toFclTransform3f
hpp::fcl::Transform3f toFclTransform3f(const SE3 &m)
Definition: fcl-pinocchio-conversions.hpp:13
se3.hpp
pinocchio::toPinocchioSE3
SE3 toPinocchioSE3(const hpp::fcl::Transform3f &tf)
Definition: fcl-pinocchio-conversions.hpp:18
hpp::fcl::Transform3f::getTranslation
const Vec3f & getTranslation() const
hpp::fcl::Transform3f::getRotation
const Matrix3f & getRotation() const
hpp::fcl::Transform3f
pinocchio
Main pinocchio namespace.
Definition: timings.cpp:28


pinocchio
Author(s):
autogenerated on Tue Feb 13 2024 03:43:58