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

How to run people package succesfully?

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

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="tracker.py" 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
0

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

David Lu gravatar image

You can download the map_laser package as a binary. The source code is also here: https://github.com/DLu/laser_filtering/

edit flag offensive delete link more

Comments

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 image scopus  ( 2014-09-25 21:27:08 -0600 )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 image scopus  ( 2014-09-25 21:32:46 -0600 )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. https://github.com/wg-perception/peop...

David Lu gravatar image David Lu  ( 2014-09-26 12:35:21 -0600 )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 image scopus  ( 2014-09-28 18:52:19 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 985 times

Last updated: Sep 25 '14