slam_toolbox
slam_toolbox copied to clipboard
karto-scan-visualization frame does not take mounting position into account
Required Info:
- ROS Version: ROS1/Noetic
Steps to reproduce issue
Use scanner that looks to the side, activate the interactive mode and select an interactive marker
Expected behavior
Visualized laserscan fits quite well to the map
Actual behavior
Visualized laserscan has wrong orientation (and maybe also position)
The laser-scanner is mounted so that it looks 90deg to the right (along robots negative y-axis). But it looks as if the frame
If the frame is manually rotated by 90deg to the right, the laser fits
The frame is computed in void LoopClosureAssistant::processInteractiveFeedback and I think only the robots pose is used here (via solver_->GetNodeOrientation)
I believe the updates in PRs #325 - #362 might fix this for you if we use the robot pose in the edges / nodes. Please try with a serialized file generated from one of those PR branches?
If that doesn't fix, a PR to resolve would be nice!
@NikolasE did it solve your issue? They've also been merged, but it will only work on new serialized files with the new version
I can check next week, my mapping setup is in the office am I'm not ;)
How'd it go?
@NikolasE I am facing the same issue on my setup w.r.t. the position of the laser scan, did you solve this in the end?