Skip to content
Snippets Groups Projects
Commit 581f8bb8 authored by jcarpent's avatar jcarpent
Browse files

[C++][Bug Fixed] Use the right method and algorithm names

parent 99730e88
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment