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

Revision history [back]

click to hide/show revision 1
initial version

My guess is your issue stems from how you defined your ultrasonic plugin. Try the following instead:

ultrasonic: topics: ["/ultrasonic"] data_type: Range no_readings_timeout: 1.0 clear_on_max_reading: true

Then also remove all of your "ultrasonic_layer:" definition to prevent confusion (Unless you are using that plugin elsewhere). You only need to define a layer/plugin once.

Also the RangeSensorLayer has no 'marking' or 'clearing' parameters (unlike ObstacleLayer) so you don't need those lines.

Let us know if this fixes your problem.

My guess is your issue stems from how you defined your ultrasonic plugin. Try the following instead:

ultrasonic:
    topics: ["/ultrasonic"]
    data_type: Range
    no_readings_timeout: 1.0
    clear_on_max_reading: true

true

Then also remove all of your "ultrasonic_layer:" definition to prevent confusion (Unless you are using that plugin elsewhere). You only need to define a layer/plugin once.

Also the RangeSensorLayer has no 'marking' or 'clearing' parameters (unlike ObstacleLayer) so you don't need those lines.

Let us know if this fixes your problem.