ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

j_salfity's profile - activity

2021-02-11 09:52:24 -0500 received badge  Famous Question (source)
2021-02-11 09:52:24 -0500 received badge  Notable Question (source)
2020-03-03 13:02:21 -0500 received badge  Taxonomist
2019-09-20 02:38:30 -0500 marked best answer Extrapolation Error looking up robot pose ... when looking up transform from frame [base_footprint] to frame [map]

Hi All,

This is one of my first posts, please go easy on me.. To start: Working with the navigation stack in ROS Indigo, on Turtlebot with Xbox Kinect Camera. The Turtlebot is using an NVIDIA TK1 board, roscore is running on a HP Elitebook laptop. Viewing rviz on the HP Elitebook and running all the code locally on the TK1

The launch file looks like this:

<include file="$(find turtlebot_bringup)/launch/minimal.launch"/>
<include file="$(find kobuki_auto_docking)/launch/minimal.launch"/>
<include file="$(find turtlebot_navigation)/launch/amcl_demo.launch"/>
<node pkg="robot_pose_publisher" name="robot_pose_publisher" type="robot_pose_publisher"/>

Pretty simple, right?

Then i'm opening up rviz like this:

roslaunch turtlebot_rviz_launchers view_navigation.launch

I'm then choosing the 2D nav_goal in rviz and moving my robot around the map. The robot will move generally well, but when it gets stuck in tight places, I keep getting this error message:

Extrapolation Error looking up robot pose: Lookup would require extrapolation into the past.  Requested time 1486427903.748853431 but the earliest data is at time 1486427905.883079467, when looking up transform from frame [base_footprint] to frame [map]

When this error message comes up, the command rosrun tf tf_echo /map /base_footprint implies that it cannot find the transformation, which is what the error message is showing

I've looked at some other ROS questions and answers regarding this error message like this. I took the recommendation and set the transform tolerance lower and also set the frequency for local and global cost map lower, all with the intent of trying not to overload the CPU.

One thing I noticed was in rviz I kept noticing was my /scan topic timing out, with the error message:

For frame [/camera_depth_frame]: No transform to fixed frame [map]. TF error: [Lookup would require extrapolation into the future. Requested time is xxxxx but the latest data is at time xxxx, when looking up transform from frame [camera_depth_frame] to frame [map]

Okay! Looks like a /tf problem on two fronts, then I ran rosrun tf tf_monitor and saw this: RESULTS: for all Frames

Frames:
Frame: base_footprint published by unknown_publisher Average Delay: -0.0257666 Max Delay: 0
Frame: base_link published by unknown_publisher Average Delay: -0.52515 Max Delay: 0
Frame: camera_depth_frame published by unknown_publisher Average Delay: -0.525171 Max Delay: 0
Frame: camera_depth_optical_frame published by unknown_publisher Average Delay: -0.525185 Max Delay: 0
Frame: camera_link published by unknown_publisher Average Delay: -0.525198 Max Delay: 0
Frame: camera_rgb_frame published by unknown_publisher Average Delay: -0.525206 Max Delay: 0
Frame: camera_rgb_optical_frame published by unknown_publisher Average Delay: -0.525241 Max Delay: 0
Frame: caster_back_link published by unknown_publisher Average Delay: -0.525249 Max Delay: 0
Frame: caster_front_link published by unknown_publisher Average Delay: -0.525257 Max Delay: 0
Frame: cliff_sensor_front_link published by unknown_publisher Average Delay: -0.525262 Max Delay: 0
Frame: cliff_sensor_left_link published by unknown_publisher Average Delay: -0.52528 Max Delay: 0
Frame: cliff_sensor_right_link published by unknown_publisher Average Delay: -0.525287 Max Delay: 0
Frame: gyro_link published by unknown_publisher Average Delay: -0.525295 Max Delay: 0
Frame: odom ...
(more)
2019-02-12 06:08:47 -0500 received badge  Famous Question (source)
2018-12-12 05:52:43 -0500 received badge  Famous Question (source)
2018-04-27 14:15:47 -0500 marked best answer How to tighten the AMCL particle swarm envelope ?

Looking to tighten the envelope for the ensemble of points placed by AMCL, the topic is /particlecloud. I'm finding that I don't need to worry about the 'kidnapped robot problem', where the robot could suddenly be taken to any point on my map and the envelope stretches and randomly places estimates all over the map.

I'm driving my robot around by either teleop or 2D Nav Goal in rviz and the distribution of points shouldn't be moving further than something like a 2x2 m^2 radius.

Does anyone know the input parameter to amcl that can reduce the covariance? of particle swarm?

Thanks!

2018-04-27 14:13:14 -0500 received badge  Notable Question (source)
2018-01-08 06:16:57 -0500 received badge  Notable Question (source)
2017-12-21 19:03:18 -0500 received badge  Popular Question (source)
2017-10-26 20:32:10 -0500 received badge  Famous Question (source)
2017-10-05 17:03:48 -0500 commented question I would like to ask how can I use master_sync node to ignore all topics by default and then select the topics i need.

did you ever get anywhere on this? I'm wondering the same thing... Thanks

2017-10-05 17:03:48 -0500 received badge  Commentator
2017-08-02 08:22:24 -0500 received badge  Popular Question (source)
2017-07-31 07:01:44 -0500 received badge  Famous Question (source)
2017-07-28 01:43:29 -0500 marked best answer ROS_NAMESPACE , tf , turtlebot_bringup and turtlebot_navigation

Hi All, I'm looking to provide a namespace for my turtlebot. In my .bashrc file, I've set: export TURTLEBOT_NAME=Dave and export ROS_NAMESPACE=$TURTLEBOT_NAME

After launching turtlebot_bringup minimal.launch and turtlebot_navigation amcl_demo.launch the list of topics are all in the /Dave namespace, however the following: /dave/incompatible_rapp_list /dave/rapp_list /dave/status /diagnostics /diagnostics_agg /diagnostics_toplevel_state /rosout /rosout_agg /scan /tf /tf_static are not or have incorrect namespace. dave not Dave. More importantly I'm looking to solve the tf and tf_static because those are very important for actual navigation. I was looking at this ROS Answers but couldn't solve my problem.

Any thoughts? Thanks :)

2017-07-28 01:43:07 -0500 received badge  Notable Question (source)
2017-07-27 15:07:41 -0500 received badge  Popular Question (source)
2017-07-27 14:18:19 -0500 answered a question ROS_NAMESPACE , tf , turtlebot_bringup and turtlebot_navigation

I was wrong all along, tf and tf_static need to be in their own namespace.

2017-07-27 14:16:07 -0500 asked a question global planner using different global costmap

global planner using different global costmap Hi All, Using ROS Indigo on Ubuntu 14.04 and running turtlebot_navigation

2017-07-21 14:00:28 -0500 received badge  Famous Question (source)
2017-07-19 15:37:38 -0500 received badge  Notable Question (source)
2017-06-23 18:04:29 -0500 commented answer Changing tf_prefix for turtlebot

How did you add the name of the robot to odom and base_footprint? robot_name_odom or robot_name/odom ?? I'm struggling w

2017-06-23 18:04:10 -0500 commented answer Changing tf_prefix for turtlebot

How did you add the name of the robot to odom and base_footprint? robot_name_odom or robot_name/odom ?? Thanks

2017-06-23 12:34:10 -0500 commented question ROS_NAMESPACE , tf , turtlebot_bringup and turtlebot_navigation

Got it, thanks. Any thoughts on the tf and tf_static frames naming?

2017-06-23 12:33:55 -0500 commented question ROS_NAMESPACE , tf , turtlebot_bringup and turtlebot_navigation

Got it. Any thoughts on the tf and tf_static frames naming?

2017-06-22 21:12:01 -0500 asked a question ROS_NAMESPACE , tf , turtlebot_bringup and turtlebot_navigation

ROS_NAMESPACE , tf , turtlebot_bringup and turtlebot_navigation Hi All, I'm looking to provide a namespace for my turtle

2017-05-23 18:53:30 -0500 asked a question robot web tools - keyboard, velocity smoother

robot web tools - keyboard, velocity smoother Hi All, I'm using the robot web tools keyboard to teleop my Turtlebot th

2017-05-12 11:53:00 -0500 received badge  Famous Question (source)
2017-05-04 08:49:37 -0500 received badge  Popular Question (source)
2017-04-04 12:55:45 -0500 commented answer communicating with /move_base for kobuki to reverse a bit when /mobile_base/sensors/core/charger is greater than zero

Awesome, thanks for the response. Ended up doing something just like that.

2017-04-04 12:54:55 -0500 received badge  Popular Question (source)
2017-03-29 19:14:15 -0500 received badge  Notable Question (source)
2017-03-28 19:03:26 -0500 received badge  Famous Question (source)
2017-03-27 15:39:02 -0500 commented answer observation_persistence in global costmap

Interesting, can you think of a test to see if its working correctly? What is the way you would set it? The way I'm testing is if the obstacles from human leg scans are being removed, but they are for sure staying in the global_costmap. Ultimately, disrupting the global planner.

2017-03-27 10:50:37 -0500 commented answer observation_persistence in global costmap

First, thanks for the response, David! Yea, I'm really confused, because I saw it in the source files. I didn't see it when I listed out rosparam get /move_base I tried adding it to the param global_costmap/scan/observation_persistence, but didn't see it actually working. Am I lost somewhere?

2017-03-27 10:45:07 -0500 received badge  Notable Question (source)
2017-03-26 19:57:33 -0500 received badge  Popular Question (source)
2017-03-22 17:12:03 -0500 asked a question communicating with /move_base for kobuki to reverse a bit when /mobile_base/sensors/core/charger is greater than zero

Hi All ...Some prelims: Turtlebot 2, Nvidia TK1, Xbox Kinect, Kobuki Base, ROS Indigo with turtlebot_navigation

Suppose the Turtlebot is at the Kobuki Docking station, when the Turtlebo receives a move_base goal the Turtlebot pivots in place and grinds against the docking station. Basically, the Turtlebot and turtlebot_navigation do not know when at the docking station.

Has anyone figured out a simple way to prevent this? I've tried all sorts of round-about methods, but I believe it comes down to /move_base listening to /mobile_base/sensors/core/charging and reversing a bit (0.1 [m]) when charging. I think I could add something into the /move_base library, but I prefer not to recompile an entire library.

Thoughts, suggestions?? Thanks!

2017-03-15 00:07:15 -0500 asked a question observation_persistence in global costmap

What is the equivalent variable in ROS Indigo for observation_persistence in the costmap_2d obstacle layer that is in ROS Hydro?

I'm not finding observation_persistence in ROS Indigo

Thanks!

2017-03-13 13:17:34 -0500 received badge  Popular Question (source)
2017-03-10 17:29:57 -0500 asked a question robot web tools - hosting page in AWS

Hey All, I'm trying to connect my robot to the web for easier user interface. I found the very helpful libraries in www.robotwebtools.org , where I used the NAV2DJS widget to connect my turtlebot, move_base server and map server to a browser.

I went further and put the html file in an Amazon Web Server Ubuntu machine under /var/www/html/project_name, thinking that I could now access the webpage from any device, no matter which network they are on. The caveat I'm coming across is that I can only interact with the map on machines that are on the same LAN where roscore is running. I'm no web programmer by any means and my hunch is that the websockets aren't moving across different networks, only among the same network.

Question, how can I run the NAV2DJS widget in AWS and control the robot from different machines on any network?

2017-03-08 13:42:49 -0500 received badge  Editor (source)
2017-03-08 13:42:23 -0500 asked a question observation_persistence in global costmap

I'm using the most recent turtlebot_navigation with ROS Indigo and noticing laser scans from dynamic obstacles, i.e. humans, moving chairs etc., being added to the global_costmap. That's fine because the robot is able to obstacle avoid for the time being. However, I don't want to rescan the area so that the obstacles get removed from the costmap.

I'm reading about older Navigation in Hydro and looking for the equivalent of "observation_persistence" in the global costmap parameters.

Any ideas?