-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"base_link" passed to lookupTransform argument source_frame does not exist. #15
Comments
Bump, i'm having the same issue |
I was getting the same error when trying to play back data from a bag file. The mistake was launching all the static transforms and the
EDIT: I am getting the same error again, eventhough I am following the following steps. My tf tree is alright, it looks like this: But I am getting an error:
|
It seem that, it can't get the first laser data before the |
@HaoQChen Hey a tried what you sad but didn't worked could you take a look at my files to give a hit about what to do? tf_listener.lookupTransform(base_frame_id, last_scan.header.frame_id, ros::Time::now(), transform);//tf_listener.lookupTransform(base_frame_id, last_scan.header.frame_id, ros::Time::now(), transform) freitasufsc@freitasufsc-X510UR:~/mybot_ws$ roslaunch chefbot_bringup laser_odom.launch started roslaunch server http://freitasufsc-X510UR:36325/ SUMMARYPARAMETERS
NODES ROS_MASTER_URI=http://localhost:11311 process[rf2o_laser_odometry-1]: started with pid [12927] // Launch file
For more details you can send me email for [email protected] |
Hey. |
In your case, you should specify which I think this happen may due to the slow publication of laser data. |
/////////////////////////////////////////////////////////////////////////////////////////// try I changed the code and the freq argumento but didn't solve my problem ERROR example: roslaunch chefbot_bringup laser_odom.launch started roslaunch server http://freitasufsc-X510UR:46401/ SUMMARYPARAMETERS
NODES ROS_MASTER_URI=http://localhost:11311 process[rf2o_laser_odometry-1]: started with pid [9363] My code doesn't publish the tf odom My entire code can be found https://github.com/PabloFreitasUfsc/AGV_ROS |
I have similar problem, but seems to be solved after adding a waitForTransfrom |
this is caused by a race condition. I did a fix for it by calling waitForMessage (for the scan) just before the lookup. Here is another solution, by moving said method out of the constructor to the laser callback: #24 |
maybe is your rviz config error |
Hi thank you for your code.
I ran your code and met an error like this:
[ERROR] [1528530745.560135159]: "base_link" passed to lookupTransform argument target_frame does not exist.
lookupTransform is a function from MRPT.
Is this OK?
I don't know how to solve this.Thank you!
The text was updated successfully, but these errors were encountered: