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

cob_leg_detection problem reading data from laser

asked 2017-04-25 17:45:54 -0600

miguelmartins gravatar image

updated 2017-04-26 04:17:56 -0600


I am trying to use this pakage "cob_leg_detection" with a 2D LIDAR suported by ROS "RPILIDAR". I already tested the Lidar with rviz and seems to be working well. My Lidar topic on ROS is "/scan" and i already printed the data with "rostopic echo /scan" to see if everything is ok.

I already changed the topic on the leg_detector.launch file to have access to my lidar data. Here is my launch file:

<launch> <node pkg="cob_leg_detection" type="leg_detection" name="leg_detection" args="scan:=/scan $(find cob_leg_detection)/config/trained_leg_detector.yaml" output="screen"/>

<!--include file="$(find cob_scan_unifier)/launch/scan_unifier.launch"/-->

<!--include file="$(find cob_leg_detection)/launch/filtered_leg_detector.launch" /-->

<arg name="limit" default="0.2" />
<param name="/cob_leg_detector/leg_reliability_limit" value="$(arg limit)" type="double"/>


I already checked on rqt_graph and the leg detector is receiving data from my Lidar but the following message is appearing continually

[ WARN] [1493159323.350254602]: MessageFilter [target=base_link ]: Dropped 100.00% of messages so far. Please turn the [ros.cob_leg_detection.message_notifier] rosconsole logger to DEBUG for more information.

It is my first time with ros. When i use rviz i have to change the fixed frame to laser to can see the data but here seems my target is base_link. I am not sure if i am right or if i am doing something wrong.

i hope someone can help me. Thanks

Ros Indigo

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-04-26 05:21:36 -0600

miguelmartins gravatar image

Problem solved for yet. I changed the fixed frame on the configuration files and on all .cpp code from "base_link" to "laser". I will do more tests to see if everything is ok.

edit flag offensive delete link more

Question Tools


Asked: 2017-04-25 17:45:54 -0600

Seen: 218 times

Last updated: Apr 26 '17