File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
tesseract_motion_planners/trajopt_ifopt/src Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -269,6 +269,13 @@ createCollisionConstraints(const std::vector<trajopt_ifopt::JointPosition::Const
269
269
}
270
270
else
271
271
{
272
+ const std::string prefix = (config->type == tesseract_collision::CollisionEvaluatorType::LVS_CONTINUOUS) ? " LVSCont"
273
+ " inuousC"
274
+ " ollisio"
275
+ " n_" :
276
+ " Continu"
277
+ " ousColl"
278
+ " ision_" ;
272
279
bool time0_fixed = (std::find (fixed_indices.begin (), fixed_indices.end (), 0 ) != fixed_indices.end ());
273
280
for (std::size_t i = 1 ; i < vars.size (); ++i)
274
281
{
@@ -302,7 +309,7 @@ createCollisionConstraints(const std::vector<trajopt_ifopt::JointPosition::Const
302
309
position_vars_fixed,
303
310
std::min (config->max_num_cnt , static_cast <int >(cp.size ())),
304
311
fixed_sparsity,
305
- " LVSDiscreteCollision_ " + std::to_string (i)));
312
+ prefix + std::to_string (i)));
306
313
307
314
time0_fixed = time1_fixed;
308
315
}
You can’t perform that action at this time.
0 commit comments