Questions with NDT Localization and Vehicle Status #5628
-
Hello, I am trying to use Autoware with ROS2 for the Agile Scout robot. While everything works well for research purposes in ROS1, I am facing issues in ROS2 and would like to ask for help. I have two questions regarding the issues: When performing NDT scan matching, the robot continues to drive even when the score is low. In the terminal, a warning is displayed indicating that the NDT score is below the threshold. Shouldn't the robot stop driving and perform a process to re-localize itself when the score is low? If this is the correct behavior, could you let me know which settings I need to adjust? Screencast from 01-06-2025 08:06:01 PM.webm Is it correct that the vehicle's status needs to be received for NDT scan matching? If so, is it sufficient to publish the velocity status of the vehicle by taking the velocity information from the Scout's odometry and publishing it to the velocity_status topic? After writing the code and checking with rqt_graph, I noticed that the /control/vehicle/status/velocity_status topic is being published from two sources: one from the Scout's odometry and another from the Simple Simulator. This seems problematic. How should I address this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 20 replies
-
Hi, @shpark98
You mentioned that the robot is not moving but the upper part of the rviz shows us non-zero velocity and steering, and I think that's the main problem. Is there a module publishing fake velocity? |
Beta Was this translation helpful? Give feedback.
Hi, @shpark98
ndt_scan_matcher
will not publish the estimated pose, BUT the latterekf_localizer
will keep outputting the vehicle pose by dead reckoning using the vehicle velocity. That's why the robot is moving.ndt_scan_matcher
doesn't need the velocity but the latterekf_localizer
needs it.You mentioned that the robot is not moving but the upper part of the rviz shows us non-zero velocity and steering, and I think that's the main problem. Is there a module publishing fake velocity?