Ask Your Question

How to run people package succesfully?

asked 2014-09-23 23:19:50 -0500

scopus gravatar image

Hi, all! I am learning and trying to run people package on a real kobuki( i.e. turtlebot2) with a hokuyo laser under hydro of ROS. Because there is no tutorial on how to run and use it . I have to try to find out how to write a launch file to run it on a real kobuki. However, I encounter a problem which is same with this post.

I also can't launch the filter.launch from people_tracking_filter. The key parts for running people package is listed as follows

  <include file="$(find turtlebot_navigation)/launch/includes/move_base.launch.xml"/>

  <arg name="limit" default="0.2" />
  <param name="/leg_detector/leg_reliability_limit" value="$(arg limit)" type="double"/>
  <include file="$(find map_laser)/lfilter.launch"/>
  <node pkg="leg_detector" type="leg_detector" name="leg_detector" args="scan:=scan_filtered $(find leg_detector)/config/trained_leg_detector.yaml"/>
  <include file="$(find people_tracking_filter)/launch/filter.launch"/>
  <node name="velocity_tracker" pkg="people_velocity_tracker" type="" respawn="true" />

Please note that the sub-package map_laser doesn't exist in the hydro branch of People package, I downloaded it from an unofficial site of it to use lfilter.launch as some launch files in People Package show.

I also check the cpp code of people_tracking_filter by Qtcreator. Some header file (.h) can't be traced. Does anyone can give me guidance on how to run it succesfully? Thank you!

@David Lu

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2014-09-25 10:56:07 -0500

David Lu gravatar image

You can download the map_laser package as a binary. The source code is also here:

edit flag offensive delete link more


Thank you, David. But the problem is not about Map_laser, it is about the people-tracking-filter. Tbe filter.launch in it can’t be run succesfuly. The same error with this link happened.

scopus gravatar imagescopus ( 2014-09-25 21:27:08 -0500 )edit

That is , the message PositionMeasurementArray is not compatible. The error is " Client [/people_tracker] wants topic /people_tracker_measurements to have datatype/md5sum [people_msgs/PositionMeasurement/54fa938b4ec28728e01575b79eb0ec7c], but our version has [people_msgs/PositionMeasurementArray/59c

scopus gravatar imagescopus ( 2014-09-25 21:32:46 -0500 )edit

That is a known bug that I have not had time to fix. However, it should not impede you from running the leg detector, I believe.

David Lu gravatar imageDavid Lu ( 2014-09-26 12:35:21 -0500 )edit

Thank you! I will try to fix this bug. when I have time, I will read its code and find a way to fix it by extending it to track many people.

scopus gravatar imagescopus ( 2014-09-28 18:52:19 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-09-23 23:19:50 -0500

Seen: 692 times

Last updated: Sep 25 '14