Re: [ros-users] gazebo laser error message

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
%0A>%20>%0A>%20>%20%20%20<rosparam%20file=%22%24(find%20my_controller_pkg)/my_controller.yaml%22%0A>%20>%20command=%22load%22%20/>%0A>%20>%0A>%20>%20%20%20<node%20pkg=%22pr2_controller_manager%22%20type=%22spawner%22%0A>%20>%20args=%22my_controller_ns%22%20name=%22my_controller_spawner%22%20/>%0A>%20>%0A>%20>%0A>%20>%20%20%0A>%20>%20%20<node%20name=%22map_server%22%20pkg=%22map_server%22%20type=%22map_server%22%0A>%20>%20args=%22%24(find%20my_controller_pkg)/config/office.png%200.05%22/>%0A>%20>%20%20<node%20pkg=%22tf%22%20type=%22static_transform_publisher%22%0A>%20>%20name=%22base_laser_to_base_link%22%20args=%220%200%200%201.57%200%200%20base_link%20base_laser%0A>%20>%20100%22%20/>%0A>%20>%20%20<node%20pkg=%22tf%22%20type=%22static_transform_publisher%22%0A>%20>%20name=%22base_footprint_to_base_link%22%20args=%220%200%200%200%200%201.57%20base_link%0A>%20>%20base_footprint%20%2020%22%20/>%0A>%20>%0A>%20>%20%20%0A>%20>%20%20<include%20file=%22%24(find%20my_controller_pkg)/config/amcl.xml%22%20/>%0A>%20>%0A>%20>%0A>%20>%20and%20my%20laser%20is%20here%20in%20the%20costmap%20yaml:%0A>%20>%0A>%20>%20observation_sources:%20base_scan%0A>%20>%0A>%20>%20base_scan:%20%7Bsensor_frame:%20base_laser_link,%20data_type:%20LaserScan,%0A>%20>%20expected_update_rate:%200.2,%0A>%20>%20%20observation_persistence:%200.0,%20marking:%20false,%20clearing:%20true,%0A>%20>%20min_obstacle_height:%20-0.08,%20max_obstalce_height:%202.0%7D%0A>%20>%0A>%20>%20_______________________________________________%0A>%20>%20ros-users%20mailing%20list%0A>%20>%20ros-users@code.ros.org%0A>%20>%20https://code.ros.org/mailman/listinfo/ros-users%0A>%20>%0A>%20">Reply to this message
Author: John Hsu
Date:  
To: ros-users
Subject: Re: [ros-users] gazebo laser error message
Hi Andreas,

This may or may not help, but one thing I notice is in your costmap yaml,
topic field is missing, i.e.

base_scan: {sensor_frame: base_laser_link,* topic: /base_scan*, data_type:
LaserScan, expected_update_rate: 0.2, observation_persistence: 0.0, marking:
false, clearing: true, min_obstacle_height: -0.08, max_obstacle_height: 2.0}

John


On Mon, May 17, 2010 at 2:42 AM, Andreas Vogt <
> wrote:

> Hi,
>
> I receive this message if I start my launch file:
>
> [ERROR] 4.264000000: Client [/move_base] wants topic /base_laser to have
> datatype/md5sum
> [sensor_msgs/PointCloud/d8e9c3f5afbdd8a130fd1d2763945fca], but our
> version has [sensor_msgs/LaserScan/90c7ef2dc6895d81024acba2ac42f369].
> Dropping connection.
>
>
> I use a simulated laser my launch file look like this:
>
> <launch>
> <!-- start world -->
> <include file="$(find gazebo_worlds)/launch/office_world.launch"/>
>
> <!-- start controller manager (rviz) -->
> <include file="$(find pr2_controller_manager)/controller_manager.launch"/>
>
> <!-- load AILA rover -->
> <param name="robot_description" textfile="$(find
> my_controller_pkg)/ailarover.xml" />
>
> <!-- push robot_description to factory and spawn robot in gazebo -->
> <node name="spawn_single_link" pkg="gazebo_tools" type="gazebo_model"
> args="-p robot_description spawn -z 2" respawn="false" output="screen" />
>
>
> <!--include file="$(find pr2_gazebo)/pr2.launch"/-->
>
> <rosparam file="$(find my_controller_pkg)/my_controller.yaml"
> command="load" />
>
> <node pkg="pr2_controller_manager" type="spawner"
> args="my_controller_ns" name="my_controller_spawner" />
>
>
> <!-- Run the map server -->
> <node name="map_server" pkg="map_server" type="map_server"
> args="$(find my_controller_pkg)/config/office.png 0.05"/>
> <node pkg="tf" type="static_transform_publisher"
> name="base_laser_to_base_link" args="0 0 0 1.57 0 0 base_link base_laser
> 100" />
> <node pkg="tf" type="static_transform_publisher"
> name="base_footprint_to_base_link" args="0 0 0 0 0 1.57 base_link
> base_footprint 20" />
>
> <!--- Run AMCL -->
> <include file="$(find my_controller_pkg)/config/amcl.xml" />
>
>  <node pkg="move_base" type="move_base" respawn="false"
> name="move_base" output="screen">
>    <rosparam file="$(find
> my_controller_pkg)/config/costmap_common_params.yaml" command="load"
> ns="global_costmap" />
>    <rosparam file="$(find
> my_controller_pkg)/config/costmap_common_params.yaml" command="load"
> ns="local_costmap" />
>    <rosparam file="$(find
> my_controller_pkg)/config/local_costmap_params.yaml" command="load" />
>    <rosparam file="$(find
> my_controller_pkg)/config/global_costmap_params.yaml" command="load" />
>    <rosparam file="$(find
> my_controller_pkg)/config/base_local_planner_params.yaml" command="load" />
>  </node>
> </launch>

>
> and my laser is here in the costmap yaml:
>
> observation_sources: base_scan
>
> base_scan: {sensor_frame: base_laser_link, data_type: LaserScan,
> expected_update_rate: 0.2,
> observation_persistence: 0.0, marking: false, clearing: true,
> min_obstacle_height: -0.08, max_obstalce_height: 2.0}
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>