-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor laser_callback method (#89)
This is directly related to #57, but it should make #40 much easier to implement. It is a small refactor of the `laser_callback` method in `amcl_node.cpp`. The functional changes are: - We now get different errors depending on which transform lookup failed. - We update the sensor and motion models with every laser scan message, if the robot has not moved we only skip the resampling step. - We publish a new estimate after every update of the filter. - Removes `last_odom()` method from the differential drive model interface. Signed-off-by: Nahuel Espinosa <[email protected]>
- Loading branch information
1 parent
4cbcda4
commit 6a7c166
Showing
4 changed files
with
76 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters