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

Running robot_pose_ekf and amcl

asked 2015-02-27 18:28:20 -0500

velveteenrobot gravatar image

We are trying to use the Leg Detector package on the Turtlebot to detect people and then send goals to the navigation stack to follow a person. Separately, running leg detection and amcl work fine. However, when you run them together there are problems. robot_pose_ekf, which the leg_detector needs, seems to interfere with amcl somehow. Can anyone explain why this happens and how I can get around it? I think it's problem some duplication in pose estimation, so maybe hopefully it's something easy that I'm missing.

Thanks, Sarah

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-02-27 22:19:25 -0500

One possibility is that there are interfering published transforms. Did you try dumping the tf graph both with and without amcl running? E.g., rosrun tf view_frames. To debug this, you could try spawning the amcl with modified odom_frame_id, base_frame_id, and global_frame_id parameters. Confer (near the bottom of the page).

You wrote that robot_pose_ekf is required by leg_detector. However, there is no indication of this in the package description. It is required to specify a reference frame (parameter fixed_frame), which could be provided by multiple packages, e.g., robot_pose_ekf or amcl.

edit flag offensive delete link more

Question Tools



Asked: 2015-02-27 18:28:20 -0500

Seen: 697 times

Last updated: Feb 27 '15