File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -223,13 +223,16 @@ int main(int argc, char** argv)
223
223
/* ------------------------------ */
224
224
/* - Initialize interactively - */
225
225
/* ------------------------------ */
226
+ bool use_cached_poses = false ;
227
+ nh.getParam (" use_cached_poses" , use_cached_poses);
226
228
opi::InteractiveMarkerInitializer object_initializer (
227
229
camera_data->frame_id (),
228
230
ori.package (),
229
231
ori.directory (),
230
232
ori.meshes (),
231
233
{},
232
- true );
234
+ true ,
235
+ use_cached_poses);
233
236
if (!object_initializer.wait_for_object_poses ())
234
237
{
235
238
ROS_INFO (" Setting object poses was interrupted." );
@@ -245,6 +248,7 @@ int main(int argc, char** argv)
245
248
initial_poses[0 ].component (i++) = ri::to_pose_velocity_vector (ros_pose);
246
249
}
247
250
251
+
248
252
tracker->initialize (initial_poses);
249
253
250
254
/* ------------------------------ */
You can’t perform that action at this time.
0 commit comments