[ROS] Use irobot create in gazebo with ROS

2014年8月24日 10:08

So far there is no complete tutorial to guide users how to create an irobot create in gazeboros. I find a helpful answer from Saurav Agarwal at [1]. Based on his anwser, I post my steps here:

Tags: ubuntu ROS
评论(2779) 阅读(24427)

[ROS] Solution to fix "Unable to handle 'index' format version '2', please update rosdistro" problem

2014年8月12日 07:37

When I upgrade ROS from Hydro to Indigo on Ubuntu 14.04 Trusty, I followed the installation instructions posted at http://wiki.ros.org/indigo/Installation/Ubuntu. However, after typing in command "rosdep update", I met a problem saying :

rosdep version: 0.10.24

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 121, in rosdep_main
    exit_code = _rosdep_main(args)
  File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 264, in _rosdep_main
    return _no_args_handler(command, parser, options, args)
  File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 272, in _no_args_handler
    return command_handlers[command](options)
  File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 437, in command_update
    error_handler=update_error_handler)
  File "/usr/lib/pymodules/python2.7/rosdep2/sources_list.py", line 433, in update_sources_list
    for d, dist in get_index().distributions.items():
  File "/usr/lib/pymodules/python2.7/rosdep2/rosdistrohelper.py", line 58, in get_index
    _RDCache.index = rosdistro.get_index(_RDCache.index_url)
  File "/usr/lib/pymodules/python2.7/rosdistro/__init__.py", line 109, in get_index
    return Index(data, base_url)
  File "/usr/lib/pymodules/python2.7/rosdistro/index.py", line 50, in __init__
    assert int(data['version']) == 1, "Unable to handle '%s' format version '%d', please update rosdistro" % (Index._type, int(data['version']))
AssertionError: Unable to handle 'index' format version '2', please update rosdistro

评论(113) 阅读(3264)

ROS Problem: stack/package not found

2013年11月06日 10:43

I am using ROS Hydro in Ubuntu 13.10. After creating package using command:

~/catkin_ws/src$ catkin_create_pkg pkg_name

I can successfully compile the programe using:

~/catkin_ws/$ catkin_make

The executable files are generated and saved in the folder  ~/catkin_ws/devel/lib/. However, if I use "rosrun pkg_name execute_name" to, it says "stack/package not found".

评论(144) 阅读(5893)