Gmapping not working

I get the error

target=odom dropped 100.00% of the messages

my tree looks off, odom and map are not connected to baselink

I followed these steps
https://docs.leorover.tech/development-tutorials/autonomous-navigation#slam

when I run odom launch file or odom3d I have no issues.

You have to run the gmapping launch file while running odom.