could not transform from [] to [map] on rviz. it changes with the global fixe frame. For instance if I change the global fixed frame to base_link the error in the map topic changes to
could not transform from [] to [base_link]
even though my tf tree is correct BASE → base_footprint → base_link → odom → map
Hi, I want to run SLAM on robot only have two motor without encoders. me no odometry so how i can run SLAM on my robot. what type of changes i need to made in slamtoolbox having no odometry just rplidar ?
Hi Josh. First of all thank you for the tutorials they have been a great introduction to using ROS. I seem to have a problem with loading the slam map in rviz, itdoesn’t show up at all. Under Map, Message it says No map recieved and under Transfor it ays could not transform from [] to [map]. I have tried everything, from checking the publishing of the topics /map, /map to /odom, also the tf tree looks correct. I do not know what the problem may be. Thanks in advance.
Hey Josh and everybody,
I don’t know if you ever read this or not but first thank you for the nice content. And second, I have 2 problems. I have searched for days and checked many underlying things, but couldn’t realize the solution.
When I run the robot around, the whole map (obstacles detected by Lidar) turns around. It seems like the speed of the robot in Rviz is simply twice as in Gazebo. Later I realized that in Rviz, the odom frame and map frame are stuck together. And I think this might be the reason (?). I have followed your tutorial and I don’t know how to solve it.
When I add the map topic in Rviz, I get a status warning, saying “No map received”. When I echo the /map topic, nothing shows up. I don’t know why this topic is not being published.
@JoshNewans Your help, is much is greatly appreciated.
I’ve been trying to put together what your video says with the official rplidar repository (GitHub - Slamtec/rplidar_ros), but I’ve had a problem when trying to run Slam_toolbox, this because when I try to generate a map I keep getting that there is no map itself.
I want to make SLAM to be able to register a track in real time, that’s why I never tried anything with gazebo or anything like that, however, I don’t know how to fix the problem.
The codes I’m using to start things up are as follows:
Start lidar (once I run slam_toolbox it doesn’t generate me map):
I’m getting this error while running the slam_toolbox
[WARN] [1722247013.037882215] [slam_toolbox]: Failed to compute odom pose
and also this warning in rviz2
Warning: TF_OLD_DATA ignoring data from the past for frame right_wheel at time 8.194000 according to authority Authority undetectable
I have a problem with SLAM. Everything works fine, but after some time, the map suddenly rotates by 80 degrees. This might be because I’m using cingulum tracks and simulating them with a single central wheel. Sometimes, I notice that when the robot makes a 360-degree turn in the real world, it either makes a 360-degree turn in RViz, or, other times, the 360-degree turn in the real world is shown as a 400-degree turn in RViz.
Did anyone figure out how to solve the discrepancy between real robot and odom velocity? I’m running in open loop mode so my map sometimes gets messed up due to this…
I have a problem, I running with humble in WSL of window. Please help!
jsonbk@PCE-0163-LE-N:~/dev_ws$ rviz2 -d src/my_bot/config/main.rviz
QStandardPaths: wrong permissions on runtime directory /run/user/1000/, 0755 instead of 0700
[INFO] [1739853979.875756336] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1739853979.875846857] [rviz2]: OpenGl version: 4.1 (GLSL 4.1)
[INFO] [1739853979.904782952] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1739853980.056907971] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1739853984.240293902] [rviz2]: Trying to create a map of size 145 x 151 using 1 swatches
[ERROR] [1739853984.266594317] [rviz2]: Vertex Program:rviz/glsl120/indexed_8bit_image.vert Fragment Program:rviz/glsl120/indexed_8bit_image.frag GLSL link result :
active samplers with a different type refer to the same texture image unit
hi , I m really in need of help in navigation, the map creation using slam is perfect but when i try to navigate by giving the goal i m getting exploartion errors, Behavior Tree tick rate,etc and not moving an inch .Every other terminal seems to be working fine except the nav2 terminal
[bt_navigator-5] [INFO] [1743701696.297607268] [bt_navigator]: Begin navigating from current location (-2.62, -0.08) to (-1.36, 0.01)
[planner_server-3] [ERROR] [1743701696.761987230] [transformPoseInTargetFrame]: Extrapolation Error looking up target frame: Lookup would require extrapolation into the future. Requested time 1743701696.294112 but the latest data is at time 844.250000, when looking up transform from frame [odom] to frame [map]
[planner_server-3]
[planner_server-3] [WARN] [1743701696.762257369] [planner_server]: Could not transform the start or goal pose in the costmap frame
[planner_server-3] [WARN] [1743701696.762371245] [planner_server]: [compute_path_to_pose] [ActionServer] Aborting handle.
[planner_server-3] [INFO] [1743701696.782962024] [global_costmap.global_costmap]: Received request to clear entirely the global_costmap
[planner_server-3] [ERROR] [1743701697.872118599] [transformPoseInTargetFrame]: Extrapolation Error looking up target frame: Lookup would require extrapolation into the future. Requested time 1743701696.294112 but the latest data is at time 845.050000, when looking up transform from frame [odom] to frame [map]
[planner_server-3]
[planner_server-3] [WARN] [1743701697.874073618] [planner_server]: Could not transform the start or goal pose in the costmap frame
[planner_server-3] [WARN] [1743701697.874485703] [planner_server]: [compute_path_to_pose] [ActionServer] Aborting handle.
[controller_server-1] [INFO] [1743701697.888284498] [local_costmap.local_costmap]: Received request to clear entirely the local_costmap
[planner_server-3] [INFO] [1743701697.890384788] [global_costmap.global_costmap]: Received request to clear entirely the global_costmap
[bt_navigator-5] [WARN] [1743701698.799354508] [BehaviorTreeEngine]: Behavior Tree tick rate 100.00 was exceeded!
your content is absolutely good ! im new in ros and i got this project , but due to low budget im trying to use ultrasonic sensor with a rotation motor (i can get the degree of rotation) instead of the lidar , is it a solution that i can perform it or else i should think in another solution
hi everyone i have followed the tutorial and built my own robot but when in localisation mode my pre-saved map is not loading into the rviz its just showing the laser scan data, i tried it but couldn’t figure out the reason for it. can anyone just help me out in this