Error message when I try to include fake sensor data in the costmap
Hi everyone,
I'm trying to include a fake laser sensor data in the costmap of the robot, to make obstacle avoidance and trajectory optimization. So I'm publishing data in /robot/mylaser topic. (I have proved that is publishing well). But this information is not in the costmap, since I have modified the "costmapcommonparams.yaml" and "localcostmapparams.yaml". In fact, when I launch the movebase.launch, I get this error message:
MessageFilter [target=robot_odom robot_front_laser_link ]: Dropped 100.00% of messages so far. Please turn the [ros.costmap_2d.message_notifier] rosconsole logger to DEBUG for more information.
So I don't know what to do here. Do you have any ideas? I would appreciate your help a lot.
Asked by mariadelmar2497 on 2021-07-21 03:09:31 UTC
Comments
Have you done that? This should probably give more details about what is actually wrong here...
Asked by mgruhler on 2021-07-22 09:42:46 UTC
You are right. I have now the solution. The problem was that in my Fake Laser message I didn't include the Time Stamp, so ROS wasn't able to compute the transform os my fake laser.
Asked by mariadelmar2497 on 2021-07-23 01:52:01 UTC
great, so either consider posting this as an answer and accepting that or close this question as solved. Thanks.
Asked by mgruhler on 2021-07-23 03:01:09 UTC