implement "slam_karto" package in Stage simulation
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
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的更多相关文章
- 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 ...
- 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 ...
- 生产者-消费者问题【Java实现】
生产者-消费者问题是经典的并发问题, 非常适合并发入门的编程练习. 生产者-消费者问题是指, 有若干个生产者和若干个消费者并发地读写一个或多个共享存储空间:生产者创建对象并放入到共享存储空间,消费 ...
- strange error encountered today in ROS
I reinstalled my ubuntu system and also ROS. I tested slam_karto package when some strange error cam ...
- SON-RPC for Java
JSON-RPC for Java https://github.com/briandilley/jsonrpc4j#json-rpc-for-java This project aims to pr ...
- oracle 之数据字典屣履造门。
oracle 之数据字典屣履造门.(更新中) 今天是2013-06-20,哎,写这篇笔记的时候,我发现我是一个非常懒惰的人,这篇文章本该昨天就完成的,想起了钱鹤滩的<明日歌> ...
- 使用Java编写的B*算法
package rpg.stage.path; import java.util.ArrayList; import java.util.HashSet; import java.util.Itera ...
- 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 ...
- TurtleBot教程
TurtleBot TurtleBot combines popular off-the-shelf robot components like the iRobot Create, Yujin Ro ...
随机推荐
- jenkins相关
1. jenkins maven tomcat做持续集成的时候几个关键配置:http://my.oschina.net/congqian/blog/112782?fromerr=PmIDbLs5 2. ...
- css分离思想
CSS命名就应该最简单.最直接,直捣黄龙.没有HTML标签,没有层级,这些通通滚蛋,不要.为什么不要,有三大原因: 1. 限制重用 我们会使用层级(#test .test),会使用标签(ul.test ...
- 30个深度学习库:按Python、C++、Java、JavaScript、R等10种语言分类
30个深度学习库:按Python.C++.Java.JavaScript.R等10种语言分类 包括 Python.C++.Java.JavaScript.R.Haskell等在内的一系列编程语言的深度 ...
- Spring项目启动时执行初始化方法
一.applicationContext.xml配置bean <bean id="sensitiveWordInitUtil" class ="com.hx.daz ...
- PHP的一些常用汇总
1. 使用strcmp()函数[区分大小写] 和strcasecmp()函数按照字节比较.比较结果显示:前和后相同为0,前>后为大于0,前<后为小于0. 2. 格式化字符串:number_ ...
- WMsg参数常量值
//WMsg参数常量值: //创建一个窗口 const int WM_CREATE = 0x01; //当一个窗口被破坏时发送 const int WM_DESTROY = 0x02; //移动一个窗 ...
- 直接在Chrome里抓取数据
一个小测试发现可以自动做题,于是想通过脚本的方式看能不能获取相应的题库,刚好可以学习一下JS异步操作.花了一天时间,总算跑顺利了,遇到了不少坑.记录下来分享. 1.JS如何顺序执行 JS有强大的异步操 ...
- ACM题目————反约瑟夫问题
题目描述 Description 著名的约瑟夫问题是这样描述的:N个人排成一个圆圈,然后把这N个人按逆时针方向编号为1.2.….N:随机产生 一个正整数M,然后从编号为1的人开始按逆时针计数,当某人计 ...
- JQuery知识快览之四—样式
前面我们获取了对象集,本文介绍怎么控制对象集的样式 基本概念 在一个html页面中,我们有两种方式来控制一个对象的样式,用HTML attribute控制,或者用CSS类来控制,这两种方法虽然都能控制 ...
- poj3342 Party at Hali-Bula
树形dp题,状态转移方程应该很好推,但一定要细心. http://poj.org/problem?id=3342 #include <cstdio> #include <cstrin ...