slam_karto

ROS Wiki: http://wiki.ros.org/slam_karto

Source: https://github.com/ros-perception/slam_karto

Reliance: open_karto - https://github.com/ros-perception/open_karto

fetch_gazebo - https://github.com/fetchrobotics/fetch_gazebo

pr2_navigation - https://github.com/pr2/pr2_navigation

Implementing karto_stage.launch:

1. Error: ResourceNotFound: karto

Use crtl+shift+F to find all "karto" packages, and replace it as slam_karto.

Eg:

For all $(find karto), we should modify them to $(find slam_karto).

2. ERROR: cannot launch node of type [stage/stageros]: can't locate node [stageros] in package [stage]

Use crtl+shift+F to find all "stage" packages, and replace it as stage_ros which is pre-installed in ROS.

3. CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
  Could not find a package configuration file provided by "move_base" with
  any of the following names:

move_baseConfig.cmake
    move_base-config.cmake

the required ROS Navigation packages:

sudo apt-get install ros-indigo-move-base ros-indigo-map-server
ros-indigo-amcl ros-indigo-gmapping
ros-indigo-openni2-launch ros-indigo-openni2-camera
ros-indigo-dwa-local-planner

4. err: Model type laser not found in model typetable (/tmp/binarydeb/ros-indigo-stage-4.1.1/libstage/world.cc CreateModel)

    err: Unknown model type laser in world file. (/tmp/binarydeb/ros-indigo-stage-4.1.1/libstage/world.cc CreateModel)

ANSWER: http://answers.ros.org/question/33973/stage-error-in-fuerte/

An easy solution: $ perl -p -i -e 's/laser/ranger/g' $(find . -name *.world) $(find . -name *.inc)

Tip:

Use comment <!-- & --> to disable some lines to position the error source.

in willow-pr2-5cm.world

looks like you also have to wrap your laser in a "sensor" block...

define topurg ranger
(
range_max 30.0
fov 270.25
samples 1081
# generic model properties
color "black"
size [ 0.05 0.05 0.1 ]
)

Has now become:

define topurg ranger
(
sensor(
range_max 30.0
fov 270.25
samples 1081
)
# generic model properties
color "black"
size [ 0.05 0.05 0.1 ]
)

5. rviz Robot Model Status Error ---- no robot model imported

Because there is no robot model imported. For now, just ignore it.

6. run slam in stage and rviz

$ roslaunch slam_karto karto_stage.launch

use Nav_goal in rviz to navigate the robot

NOTE: This post is outdated since the maintainer has merged what I have modified below. Simply sync the latest version of the package and everything would be OK.

implement "slam_karto" package in Stage simulation的更多相关文章

  1. implement "slam_karto" package on a Freight robot

    1. login ssh fetch@<robot ip or robot name> 2.  set robot master modify .bashrc in robot's com ...

  2. ROS_Kinetic_x 目前已更新的常用機器人資料 rosbridge agvs pioneer_teleop nao TurtleBot

    Running Rosbridge Description: This tutorial shows you how to launch a rosbridge server and talk to ...

  3. 生产者-消费者问题【Java实现】

     生产者-消费者问题是经典的并发问题, 非常适合并发入门的编程练习.  生产者-消费者问题是指, 有若干个生产者和若干个消费者并发地读写一个或多个共享存储空间:生产者创建对象并放入到共享存储空间,消费 ...

  4. strange error encountered today in ROS

    I reinstalled my ubuntu system and also ROS. I tested slam_karto package when some strange error cam ...

  5. SON-RPC for Java

    JSON-RPC for Java https://github.com/briandilley/jsonrpc4j#json-rpc-for-java This project aims to pr ...

  6. oracle 之数据字典屣履造门。

     oracle 之数据字典屣履造门.(更新中)       今天是2013-06-20,哎,写这篇笔记的时候,我发现我是一个非常懒惰的人,这篇文章本该昨天就完成的,想起了钱鹤滩的<明日歌> ...

  7. 使用Java编写的B*算法

    package rpg.stage.path; import java.util.ArrayList; import java.util.HashSet; import java.util.Itera ...

  8. Advanced Pricing - How to source Pricing Attributes using QP_CUSTOM_SOURCE.Get_Custom_Attribute_Valu

    详细内容需要参考文档:Oracle 11i Advanced Pricing-Don't Customize, Extend! utl:http://blog.csdn.net/cai_xingyun ...

  9. TurtleBot教程

    TurtleBot TurtleBot combines popular off-the-shelf robot components like the iRobot Create, Yujin Ro ...

随机推荐

  1. ss 公共代理的必要设置(转)

    转: https://gist.github.com/fqrouter/95c037f9a3ba196fd4dd 本文只关注于确保ss服务还“活着”,如果你希望让其跑得更快,请参考 https://g ...

  2. Centos7 安装配置NFS

    一.安装 NFS 服务器所需的软件包 # yum install -y nfs-utils 二.编辑exports文件 # vim /etc/exports /data/disk1/video *(a ...

  3. vlc分析

    vlc的主界面对应的代码在vlc-2.2.1\modules\gui\qt4\main_interface.cpp.在相同目录下的qt4.cpp的module模块open函数里边new出实例: /* ...

  4. ios tabbar 文字位置

    [nav.tabBarItem setTitlePositionAdjustment)];

  5. Counting Rectangles

    Counting Rectangles Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 1043 Accepted: 546 De ...

  6. Unity-Animator深入系列---StateMachineBehaviour状态机脚本学习

    回到 Animator深入系列总目录 首先这个脚本必须继承自StateMachineBehaviour public class MySMB : StateMachineBehaviour { pub ...

  7. UVa 1339,紫书P73,词频

    题目链接:https://uva.onlinejudge.org/external/13/1339.pdf 紫书P73 解题报告: #include <stdio.h> #include ...

  8. MSSQL删除字段时出现 服务器: 消息 5074,级别 16,状态 1,行 1 的解决办法

    有的朋友在做用户维护字段的界面时,肯定发现一个问题,当用脚本:ALTER TABLE 表名 DROP COLUMN 字段名进行删除字段的操作时,会出现“服务器: 消息 5074,级别 16,状态 1, ...

  9. Mybaits 之根据集合查询和逗号分隔的子查询

    这是我们的mapper要根据传入一个集合进行查询: List<ExtKeywordCategory> findListByIds(List<ExtKeywordFkCategory& ...

  10. shell脚本例子集锦(习题总结)

    练习一:写一个脚本 .设定变量FILE的值为/etc/passwd .依次向/etc/passwd中的每个用户问好,并且说出对方的ID是什么 形如:(提示:LINE=`wc -l /etc/passw ...