assign rtabmap/localization_Pose to the /rtabmap/initial_pose
hi everyone,
1) I want to assign rtabmap/localization_Pose to the /rtabmap/initial_pose. 2) In another test I want to assign the position and orientation gained from the tf between map and base_link, to the rtabma/initial_pose.
I would be grateful if anyone can help in this regard thanks
Note sure what you want to achieve.
/rtabmap/localization_pose
is an output of rtabmap node, as/rtabmap/initial_pose
is an input. Connecting both would create a loop.sorry, I mentioned my question in a bad way. actually, after closing rtabmap, we moved the vehicle to another part of the map and the launch rtabmap, but the last location of the vehicle has been saved in the database. now my question is that how can I specify the location of the vehicle in such a kind of situation? because every time, I have to do mapping.
thanks
When relaunching in localization mode, and if the robot is not at the last position saved in the map or at the origin (for which we can set
RGBD/StartAtOrigin=true
), the robot will have to localize with the camera by moving in a known area or if the robot can localize on start in front highly descriptive location already saved in the map. One last approach is to do it manually, by sending a pose to/rtabmap/initialpose
topicthanks a lot. i think if i want to do navigation and slam at the same time, no need to do these setting. because we have to launch rtabmap in slam mode, and in the start the map will be deleted each time. just one question,in the SLAM mode, how can we identify that the vehicle has been localized or not?