-
Notifications
You must be signed in to change notification settings - Fork 1k
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
turtlebot3 navigation costmap2DROS transform timeout and Could not get robot pose #383
Comments
Hi, @velvetbleurose :) |
Hi @kijongGil, Thanks for the quick reply! I guess I moved along in the manual too early. So you’re saying that TurtleBot3 and the remote PC aren’t able to communicate properly? Do you have any suggestions on why it wouldn’t work? Both systems are able to ping each other. If I can’t use another package, why was I able to run the SLAM package? So many questions. |
You can check connection turtlebot3 and remote PC by rostopic.
If you connected, you can see publishers and subscribers nodes. Actually, you can run the another package as SLAM, navigation. But, It can't move to turtlebot3. |
I followed your instructions and this is my output for
It looks like they are connected. When I input commands to move around (w for example), I get the following output from the teleop terminal, however, turtlebot doesn't move:
However, when I run roswtf I get the following error even though rqt_graph shows they are:
|
I found the problem with regards to teleoperation - it was my OS firewall settings. I had only allowed turtlebot to communicate on port 11311 instead of allowing all connections. For this I ran However, my navigation problem still remains. I ran roswtf and get the same error outputs (move_base --> move_base not connected but should be) minus the cmd_vel error. I also still get the Costmap2DROS transform timeout error and I notice that tf_monitor still says it's from an unknown publisher. |
I'm sorry for late reply. This package has to run in remote PC. |
I'm sorry for late reply.
|
I have done the time sync numerous times. I got navigation to finally work by increasing the transform tolerance parameter and TurtleBot is able to navigate well so I fixed that issue! I still get the error that the two nodes that should be connected are not. Is that a major problem or if is it one I can ignore? |
Don't care, It is not problem. So, I recommend return to the transform tolerance. and update ntpdate frequently. Thanks. |
This issue will be closed since there were no actions for a while. You can reopen this issue to show this issue to the users whenever. Thanks. |
did you solve it? I have exactly the same issue |
For future reference: Had the same problem, syncing the time on the Turtlebot as well as on the remote PC fixed the problem using this: $ sudo apt-get install ntpdate |
ISSUE TEMPLATE ver. 0.2.0
Set-up
TurtleBot3: Waffle Pi
SBC: Raspberry Pi 3
OS installed in SBC: Raspbian
OS installed on remote PC: Ubuntu 16.04 LTS
SW version: v1.12.13
Firmware version: v1.2.3
Commands:
[remote PC] roscore
[turtlebot] roslaunch turtlebot3_bringup turtlebot3_robot.launch
[remote PC] roslaunch turtlebot3_slam turtlebot3_slam.launch slam_methods:=gmapping
[remote PC] rosrun map_server map_saver -f map
[remote PC] kill slam
[turtlebot] kill bringup
[turtlebot] roslaunch turtlebot3_bringup turtlebot3_robot.launch
[turtlebot] roslaunch turtlebot3_navigation turtlebot_turtlebot3_navigation.launch map=$HOME/map.yaml
Problem:
I am trying to follow the navigation portion of the e-manual and have been running into a couple problems. After running the last command, I get the error shown below. The second error, "could not get robot pose, cancelling reconfiguration", comes and goes. I typically use the RC100 to move the bot as using the teleop keyboard doesn't work when trying to move the robot but works in simulation.
I've tried redoing SLAM and trying navigation on the new map to see if maybe my map just isn't good but still get the same error.
I've looked at other issues related to mine and have tried the proposed solutions (reseting OpenCR, restarting roscore and bringup, checking if turtlebot and the remote PC are on the same time using ntpdate ntp.ubuntu.com). None of these worked.
I ran roswtf to see what was wrong and noticed that the following nodes were not connected.
I noticed in the related issues that there were mentions of topic frequencies (tf and odom) so I'm attaching tf_monitor output. When I ran rostopic hz /tf, the average frequencies ranged from 30Hz to 70Hz. It also says it's an unknown publisher?
I also get this issue sometimes when bringing up turtlebot3: [WARN] Failed to get param: timeout expired
I'm unsure of what is going wrong and would really appreciate any help in getting to the bottom of this! Thank you so much in advanced!
The text was updated successfully, but these errors were encountered: