-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[AMCL] Wrong warning message when giving the wrong value for "odom_frame_id" parameter #1112
Comments
I think it is a bit involved - we use a tf2_ros::MessageFilter to subscribe to the laser scan - I think to differentiate between no messages and unavailable transforms you have to register a failure callback on the MessageFilter, and then set a separate timestamp in that callback and then use that timestamp to give the correct message that scans are not transformable. Certainly a nice improvement, PRs are welcome. |
I solved this problem. I had to tweak the source code . Since the ros::Duration was greater than my laser scan interval the warning messages pops up and my robot scan topics will not receive scan data . So I had to make changes to that method. |
Hello @Daviesss could you describe how you solved it? |
@Daviesss Did you solved? |
Yes , i solved it . |
I recently ran into an issue using AMCL, for which I was given this warning message:
However, the actual issue was a miscofiguration of the odom_frame_id :
<param name="odom_frame_id" value="/odom/ekf/imu"/>
Here I give my topic name, in place of the frame ID required.
Would it be possible to detect the issue and give an adapted warning message ?
The text was updated successfully, but these errors were encountered: