Robot position not updating in RVIZ
The robot position in RVIZ is not updating. However, when I launch gmapping node with the "map" frame fixed, it will update. I am not able to find the reason for this.
can you provide more details? what are you trying to do? and what is your config like?
@Shreyas Rviz just plots anything is the Screen with the support of your tf tree. If no proper tf is set up Rviz will be unable to plot anything. The reason why you have something poltted when runnin Gmapping is likely because the node is generating the tf frames connection that you missed when it is not running. You may want to chech yor tf tree connections.
The robot is configured via MAVROS/MAVLINK communication. I checked the tf. Everything is connected. The gmapping node will generate a "map" frame which will be connected to "odom" frame. similarly, If I use AMCL node, with the map frame fixed, it still same error. my email: shreysreddy@gmail.com if someone willing to help