mit-acl / mit-acl/faster

tf time error in global mapper

Open
#32 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.3k
Forks
199
PR merge metrics
No merged PRs in 30d

Description

I'm trying to run the path planner for the drone but the global_mapper keeps crashing with the following error.

[ INFO] [1629208100.725128566, 60.234000000]: Mapper:: DepthImage received
[ WARN] [1629208101.020232863, 60.355000000]: [GlobalMapperRos::DepthImageCallback] Lookup would require extrapolation into the past.  Requested time 60.199000000 but the earliest data is at time 60.236000000, when looking up transform from frame [SQ01s/camera] to frame [world]
[ INFO] [1629208101.058313847, 60.370000000]: Mapper:: DepthImage received
[SQ01s/global_mapper_ros-1] process has died [pid 9514, exit code -11, cmd /home/grammers/catkin_ws/sim_path/devel/lib/global_mapper_ros/global_mapper_node ~depth_image_topic:=camera/depth/image_rect_raw ~pose_topic:=state ~goal_topic:=/move_base_simple/goal ~odom_topic:=odometry/filtered_no ~occupancy_grid_topic:=~occupancy_grid ~unknown_grid_topic:=~unknown_grid ~frontier_grid_topic:=~frontier_grid ~distance_grid_topic:=~distance_grid ~cost_grid_topic:=~cost_grid ~path_topic:=~path ~sparse_path_topic:=~sparse_path __name:=global_mapper_ros __log:=/home/grammers/.ros/log/c0b0d182-ff61-11eb-a955-c858c0482128/SQ01s-global_mapper_ros-1.log].
log file: /home/grammers/.ros/log/c0b0d182-ff61-11eb-a955-c858c0482128/SQ01s-global_mapper_ros-1*.log

I'm following the instructions in README.
It looks like a timing issue in tf but I don't know if it is and how to fix it if it is. Any suggestion for a solution? Thanks in advance!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the README instructions and the global_mapper_node entry point named in the crash command. Review the ROS log and reproduce the path-planner run while checking the reported transform timestamps between SQ01s/camera and world. Done means the global mapper no longer crashes and the planner run completes without the extrapolation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
robotics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.