From 581f8bb840ed7e4aed3436bf10bdd63d0c91059c Mon Sep 17 00:00:00 2001 From: jcarpent <jcarpent@laas.fr> Date: Sat, 13 Feb 2016 11:26:05 +0100 Subject: [PATCH] [C++][Bug Fixed] Use the right method and algorithm names --- benchmark/timings-geometry.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmark/timings-geometry.cpp b/benchmark/timings-geometry.cpp index 57fecb81d..ba48abb92 100644 --- a/benchmark/timings-geometry.cpp +++ b/benchmark/timings-geometry.cpp @@ -98,7 +98,7 @@ int main() timer.tic(); SMOOTH(NBT) { - updateCollisionGeometry(romeo_model,romeo_data,romeo_model_geom,romeo_data_geom,qs_romeo[_smooth], true); + updateGeometryPlacements(romeo_model,romeo_data,romeo_model_geom,romeo_data_geom,qs_romeo[_smooth]); } double update_col_time = timer.toc(StackTicToc::US)/NBT - geom_time; std::cout << "Update Collision Geometry < false > = \t" << update_col_time << " " << StackTicToc::unitName(StackTicToc::US) << std::endl; @@ -106,10 +106,10 @@ int main() timer.tic(); SMOOTH(NBT) { - updateCollisionGeometry(romeo_model,romeo_data,romeo_model_geom,romeo_data_geom,qs_romeo[_smooth], true); + updateGeometryPlacements(romeo_model,romeo_data,romeo_model_geom,romeo_data_geom,qs_romeo[_smooth]); for (std::vector<se3::GeometryData::CollisionPair_t>::iterator it = romeo_data_geom.collision_pairs.begin(); it != romeo_data_geom.collision_pairs.end(); ++it) { - romeo_data_geom.collide(it->first, it->second); + romeo_data_geom.computeCollision(it->first, it->second); } } double collideTime = timer.toc(StackTicToc::US)/NBT - (update_col_time + geom_time); -- GitLab