Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-fcl
Commits
96319271
Verified
Commit
96319271
authored
Mar 30, 2021
by
Justin Carpentier
Browse files
core: use new timer
parent
9060a358
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/hpp/fcl/collision.h
View file @
96319271
...
...
@@ -40,12 +40,11 @@
#ifndef HPP_FCL_COLLISION_H
#define HPP_FCL_COLLISION_H
#include
<boost/timer/timer.hpp>
#include
<hpp/fcl/data_types.h>
#include
<hpp/fcl/collision_object.h>
#include
<hpp/fcl/collision_data.h>
#include
<hpp/fcl/collision_func_matrix.h>
#include
<hpp/fcl/timings.h>
namespace
hpp
{
...
...
@@ -113,7 +112,7 @@ public:
std
::
size_t
res
;
{
boost
::
timer
::
cpu_t
imer
timer
;
T
imer
timer
;
if
(
swap_geoms
)
{
res
=
func
(
o2
,
tf2
,
o1
,
tf1
,
&
solver
,
request
,
result
);
result
.
swapObjects
();
...
...
include/hpp/fcl/collision_data.h
View file @
96319271
...
...
@@ -42,11 +42,11 @@
#include
<vector>
#include
<set>
#include
<limits>
#include
<boost/timer/timer.hpp>
#include
<hpp/fcl/collision_object.h>
#include
<hpp/fcl/config.hh>
#include
<hpp/fcl/data_types.h>
#include
<hpp/fcl/timings.h>
namespace
hpp
{
...
...
@@ -173,7 +173,7 @@ struct HPP_FCL_DLLAPI QueryResult
support_func_guess_t
cached_support_func_guess
;
/// @brief timings for the given request
boost
::
timer
::
cpu_t
imes
timings
;
CPUT
imes
timings
;
QueryResult
()
:
cached_gjk_guess
(
Vec3f
::
Zero
())
...
...
include/hpp/fcl/distance.h
View file @
96319271
...
...
@@ -38,11 +38,10 @@
#ifndef HPP_FCL_DISTANCE_H
#define HPP_FCL_DISTANCE_H
#include
<boost/timer/timer.hpp>
#include
<hpp/fcl/collision_object.h>
#include
<hpp/fcl/collision_data.h>
#include
<hpp/fcl/distance_func_matrix.h>
#include
<hpp/fcl/timings.h>
namespace
hpp
{
...
...
@@ -106,7 +105,7 @@ public:
FCL_REAL
res
;
{
boost
::
timer
::
cpu_t
imer
timer
;
T
imer
timer
;
if
(
swap_geoms
)
{
res
=
func
(
o2
,
tf2
,
o1
,
tf1
,
&
solver
,
request
,
result
);
if
(
request
.
enable_nearest_points
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment