GCC Code Coverage Report | |||||||||||||||||||||
|
|||||||||||||||||||||
Line | Branch | Exec | Source |
1 |
#include "pinocchio/parsers/urdf/utils.hpp" |
||
2 |
|||
3 |
namespace pinocchio |
||
4 |
{ |
||
5 |
namespace urdf |
||
6 |
{ |
||
7 |
namespace details |
||
8 |
{ |
||
9 |
|||
10 |
2389 |
SE3 convertFromUrdf(const ::urdf::Pose & M) |
|
11 |
{ |
||
12 |
2389 |
const ::urdf::Vector3 & p = M.position; |
|
13 |
2389 |
const ::urdf::Rotation & q = M.rotation; |
|
14 |
✓✗✓✗ |
2389 |
return SE3(SE3::Quaternion(q.w,q.x,q.y,q.z).matrix(), |
15 |
✓✗ | 7167 |
SE3::Vector3(p.x,p.y,p.z)); |
16 |
} |
||
17 |
} |
||
18 |
} |
||
19 |
} |
Generated by: GCOVR (Version 4.2) |