ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I have already done the following steps in order to make sonar layer working in costmap.
Downloaded range sensor plugin from https://github.com/DLu/navigation_layers.git, catkin make and copied the librange_sensor_layer.so and /include/range_sensor_layer (folder) to /ros/indigo/lib and /ros/indigo/include/ respectively
Added the range sensor plugin in local_costmap_params.yaml and global_costmap_params.yaml as : {name: sonar_layer, type: "range_sensor_layer::RangeSensorLayer"} and in common_costmap_params.yaml defined it as: sonar_layer: topics: ["/sonar"] no_readings_timeout: 1.0
Question.1: As you have seen that I have already added the plugin for range sensor layer, but when I run amcl, it lists one by one each layer like 'Using obstacle_layer, Using static_layer' etc, but does not show the message for Using sonar_layer. Will it be corrected after I update the urdf file with an entry for sonar layer or is it related to something else.
Question.2: To make the sonar layer update the costmap, is there any other step in addition to above 3 which I maybe missing (assuming the urdf step is also done since I am working on it now)
2 | No.2 Revision |
I have already done the following steps in order to make sonar layer working in costmap.
Downloaded range sensor plugin from https://github.com/DLu/navigation_layers.git, catkin make and copied the librange_sensor_layer.so and /include/range_sensor_layer (folder) to /ros/indigo/lib and /ros/indigo/include/ respectively
Added the range sensor plugin in local_costmap_params.yaml and global_costmap_params.yaml as : {name: sonar_layer, type: "range_sensor_layer::RangeSensorLayer"} and in common_costmap_params.yaml defined it as: sonar_layer: topics: ["/sonar"] no_readings_timeout: 1.0
Question.1: As you have seen that I have already added the plugin for range sensor layer, but when I run amcl, it lists one by one each layer like 'Using obstacle_layer, Using static_layer' etc, but does not show the message for Using sonar_layer. Will it be corrected after I update the urdf file with an entry for sonar layer or is it related to something else.
Question.2: To make the sonar layer update the costmap, is there any other step in addition to above 3 which I maybe missing (assuming the urdf step is also done since I am working on it now)
3 | No.3 Revision |
I have already done the following steps in order to make sonar layer working in costmap.
Having arduino publishing data on topic '/sonar'
Downloaded range sensor plugin from https://github.com/DLu/navigation_layers.git, catkin make and copied the librange_sensor_layer.so and /include/range_sensor_layer (folder) to /ros/indigo/lib and /ros/indigo/include/ respectively
Added the range sensor plugin in local_costmap_params.yaml and global_costmap_params.yaml as : {name: sonar_layer, type: "range_sensor_layer::RangeSensorLayer"} and in common_costmap_params.yaml defined it as: sonar_layer: topics: ["/sonar"] no_readings_timeout: 1.0
Question.1: As you have seen that I have already added the plugin for range sensor layer, but when I run amcl, it lists one by one each layer like 'Using obstacle_layer, Using static_layer' etc, but does not show the message for Using sonar_layer. Will it be corrected after I update the urdf file with an entry for sonar layer or is it related to something else.
Question.2: To make the sonar layer update the costmap, is there any other step in addition to above 3 which I maybe missing (assuming the urdf step is also done since I am working on it now)