Tf has two or more unconnected trees
Hi friend. I have a problem. I want to run my bag file with Karto. So I use static transform publisher to connect frames.
My frames.pdf is here:
I set the fixed frame to the odom, My LaserScan sometimes red, sometimes green:
Like this(Red):
But it changes.
When I set fixed_frame to the base_link, LaserScan seems good, but at this time, map going to red(Error)sometimes and green sometimes. And it says me "No transform from [map] to [base_link]"
This is an error or normal? Is my TF tree correct?
Why do you have
world
frame? Is it intentional?Does the output of your odometry/localization node say something helpful?
Hey Akif, thanks for your reply. No it is not intentional and I didn't find, why it is on my tf tree.
Hey BennyRe, which node? I have these node now:
/Mapper /lsm_node /odom_lsm /robot_pose_ekf /rosout /rostopic_7736_1450348973162 /rviz /tf1 /tf2 /tf3
I don't know. You should know which node is responsible for odometry and/or localization but it should be one of
/Mapper /lsm_node /odom_lsm /robot_pose_ekf
/Mapper
node is nav2d_karto,lsm_node
is LaserScanMatcher node,odom_lsm
is my package. I take Pose2d message from LaserScanMatcher and I convert it to the nav_msgs/Odometry.