setting the initial-pose of the robot programitically

Posted by Masoumeh on
URL: http://official-rtab-map-forum.206.s1.nabble.com/setting-the-initial-pose-of-the-robot-programitically-tp8160.html

Hi Mattieu,

i have one question about the location of the robot after mapping mode.
after that i did mapping,  i moved the vehicle 2m forward, and then launch rtabmap in localization mode,now in rviz i can see that the pose of the robot is the same as the time that the robot was in mapping mode. now, how can i update the initial pose of the robot while it is in localization mode? i want to do programmatically? is it possible?

thanks