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)
223223 /* ------------------------------ */
224224 /* - Initialize interactively - */
225225 /* ------------------------------ */
226+ bool use_cached_poses = false ;
227+ nh.getParam (" use_cached_poses" , use_cached_poses);
226228 opi::InteractiveMarkerInitializer object_initializer (
227229 camera_data->frame_id (),
228230 ori.package (),
229231 ori.directory (),
230232 ori.meshes (),
231233 {},
232- true );
234+ true ,
235+ use_cached_poses);
233236 if (!object_initializer.wait_for_object_poses ())
234237 {
235238 ROS_INFO (" Setting object poses was interrupted." );
@@ -245,6 +248,7 @@ int main(int argc, char** argv)
245248 initial_poses[0 ].component (i++) = ri::to_pose_velocity_vector (ros_pose);
246249 }
247250
251+
248252 tracker->initialize (initial_poses);
249253
250254 /* ------------------------------ */
You can’t perform that action at this time.
0 commit comments