-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initialpose not taking into account frame_id? #1273
Comments
Well, it looks like we don't even check the rtabmap_ros/rtabmap_slam/src/CoreWrapper.cpp Lines 2527 to 2537 in ef8ec43
To support A workaround in rviz would be to set temporary the global frame to EDIT: It seems that AMCL doesn't support that either: |
Atm I fixed it on my end with a simple node I made that does the transformation and republishes. The reason that it was a confusing bug for me to find is that I had an EKF that processes the pose from rtabmap, that I also reset with that initialpose. With that setup, it looked like it worked as it teleported to the spot I dropped the pose, but then over the course of a couple of seconds it started sliding to a ‘random’ pose, which in fact was that same pose, but in the other frame. So it wasn’t immediately obvious to me this was caused by frame transformations instead of e.g. problems from mapping. |
There might be something wrong with my setup, but so far I've seem to narrowed down on a problem with the 'initialpose' topic.
Setup:
Not sure if this is intended? is 'map_frame_id' used to override the output frame and is rtabmap just ignoring the actual frame in initialpose? I would assume 'map_frame_id' is intended for lookups in the tf tree and was expecting it would transform initialpose to the 'map_frame_id' before using it.
The text was updated successfully, but these errors were encountered: