First TODO/Planning

138 views
Skip to first unread message

Conrado Miranda

unread,
Feb 23, 2012, 11:04:34 AM2/23/12
to Programming a robotic car in ROS
Hi Everybody! (as Dr. Nick from Simpsons)

So, we all want to build a self-driving car. But I believe that we
don't have the money (or don't want to spend it right now) and it's a
big project to do alone. So here we are.

Following Mighty suggestion, I believe that we have some initial TODO
already:
- Those that aren't familiar with ROS, should do their tutorial
(http://www.ros.org/wiki/ROS/Tutorials) as it's really clear how it
works.
- Those that are familiar should also just skim through the tutorial
to make sure. After that, we have to build our world before testing
the car. I'd like to suggest two lines:
1 - Build incrementally complex models following the class (first
a 1D robot, then a 2D and etc) to make sure we understand how to make
ROS work with such simple example.
2 - A parallel development should start building a semi-real-world
environment and a model for the car. When some algorithm is
implemented and tested in the simplified model, we should try to
transpose it to the car model.

I believe that is quite a start. Any opinions? I like github for the
project. If everyone is OK with it (or don't object), by the weekend
I'll create a repository and push some initial content (anyone wanting
to do that, I don't object at all =] ).

I believe that's all for now.

Build environment link: http://www.ros.org/wiki/simulator_gazebo/Tutorials
Create robot: http://www.ros.org/wiki/urdf/Tutorials

toomuchcoffeecoder

unread,
Feb 23, 2012, 1:34:49 PM2/23/12
to Programming a robotic car in ROS
I wonder if this will run ok in a VM. I am weighing running a parallel
Ubuntu install, a Windows install or Ubuntu in a VM .

On Feb 23, 10:04 am, Conrado Miranda <miranda.conr...@gmail.com>
wrote:

Conrado Miranda

unread,
Feb 23, 2012, 1:45:40 PM2/23/12
to robotic...@googlegroups.com
I think it will run OK in a VM. I currently run over an SSH
connection. Can't you install in your current distribution? (mac?)

gadolfvh

unread,
Feb 23, 2012, 9:04:26 PM2/23/12
to Programming a robotic car in ROS
Hi,

I agree with the suggest of Miranda of gradually increment the
complexity of the system, as we all are not familiar with ROS. I have
documented some steps of the tutorial for presentation purpose, so i
will check it and share it for those who want to start in this. I
don't know about github, but sounds great.

For now, i can't start totally because i have to format my computer (I
have so much garbage for the past three years) to install Ubuntu. I
have already installed Ubuntu together with Windows.

Keep in contact.

Gustavo.

On Feb 23, 11:04 am, Conrado Miranda <miranda.conr...@gmail.com>
wrote:

Conrado Miranda

unread,
Feb 23, 2012, 10:06:48 PM2/23/12
to robotic...@googlegroups.com
Github is very easy to keep track of stuff, IMO. Git is much better
than svn, but we can use svn if that's the case.

As I said, this weekend we should have some initial code on the
repository (I'll probably work more during weekends).

MerseyViking

unread,
Feb 24, 2012, 8:43:42 AM2/24/12
to Programming a robotic car in ROS
On Feb 24, 3:06 am, Conrado Miranda <miranda.conr...@gmail.com> wrote:
> Github is very easy to keep track of stuff, IMO. Git is much better
> than svn, but we can use svn if that's the case.

I'm a fan of Mercurial, but I'm cool with git because they're very
similar.

I'm just installing ROS on my Linux Mint 11 VirtualBox, on a Windows
host. Everything seems good so far. I'm not sure how it'll cope with
3D simulated scenes, but I've run 3D on it in the past and it was more
than adequate for simple scenes.

-MV

Conrado Miranda

unread,
Feb 24, 2012, 10:07:52 AM2/24/12
to robotic...@googlegroups.com
If the 3D scene gets complicated at the point it'll be impractical for
virtualization, I'll try to make the rendering in the host, not the
virtual (through virtualgl or something).

For now, don't worry =]

Conrado Miranda

unread,
Feb 24, 2012, 4:21:58 PM2/24/12
to robotic...@googlegroups.com
MV, I just found out that there is a Windows version of ROS. Did you
try to use it?

toomuchcoffeecoder

unread,
Feb 24, 2012, 5:13:18 PM2/24/12
to Programming a robotic car in ROS
I think I will start with Ubuntu in a VM as that looks like the
easiest way for a noob to follow the tutorials. In the meantime I will
play with the windows install just because I may need it to get good
access to the web cam for open cv, something I am definantly
interested in.

On Feb 23, 12:45 pm, Conrado Miranda <miranda.conr...@gmail.com>
wrote:

Klaus Raizer

unread,
Feb 24, 2012, 8:36:07 PM2/24/12
to robotic...@googlegroups.com
After trying to launch (as instructedt in: http://ros.org/wiki/simulator_gazebo/Tutorials) I'm getting an error.

In a terminal I've typed:

roslaunch gazebo_worlds empty_world.launch

After a while I get:

gazebo: /home/klaus/Programs/ogre_src_v1-7-4/OgreMain/include/OgreSingleton.h:80: Ogre::Singleton<T>::Singleton() [with T = Ogre::TerrainPageSourceListenerManager]: Assertion `!ms_Singleton' failed.
[gazebo-2] process has died [pid 822, exit code -6].
log files: /home/klaus/.ros/log/50e86a74-5f50-11e1-a53d-0024d690acd8/gazebo-2*.log

Has anyone faced a similar problem?


cheers



Klaus

Conrado Miranda

unread,
Feb 24, 2012, 10:12:45 PM2/24/12
to Programming a robotic car in ROS
Runs smoothly here. I'm using a fresh Ubuntu 11.10 session (my
development station). Got any logs?

On Feb 24, 11:36 pm, Klaus Raizer <klausrai...@gmail.com> wrote:
> After trying to launch (as instructedt in:http://ros.org/wiki/simulator_gazebo/Tutorials) I'm getting an error.
>
> In a terminal I've typed:
>
> roslaunch gazebo_worlds empty_world.launch
>
> After a while I get:
>
> gazebo:
> /home/klaus/Programs/ogre_src_v1-7-4/OgreMain/include/OgreSingleton.h:80:
> Ogre::Singleton<T>::Singleton() [with T =
> Ogre::TerrainPageSourceListenerManager]: Assertion `!ms_Singleton' failed.
> [gazebo-2] process has died [pid 822, exit code -6].
> log files:
> /home/klaus/.ros/log/50e86a74-5f50-11e1-a53d-0024d690acd8/gazebo-2*.log
>
> Has anyone faced a similar problem?
>
> cheers
>
> Klaus
>

MerseyViking

unread,
Feb 25, 2012, 6:10:48 AM2/25/12
to Programming a robotic car in ROS
It ran ok here too, my main dev machine is Mint 12, which is based on
Ubuntu 11.10. As an aside, if anyone else is using Mint, I found that
when I ran:
rosdep install turtlesim

It gave me this Python stacktrace:
Traceback (most recent call last):
File "/opt/ros/electric/ros/bin/rosdep", line 35, in <module>
sys.exit(rosdep.main())
File "/opt/ros/electric/ros/tools/rosdep/src/rosdep/main.py", line
126, in main
r = core.Rosdep(verified_packages, robust=options.robust)
File "/opt/ros/electric/ros/tools/rosdep/src/rosdep/core.py", line
343, in __init__
self.osi = roslib.os_detect.OSDetect(os_list)
File "/opt/ros/electric/ros/core/roslib/src/roslib/os_detect.py",
line 535, in __init__
self.detect_os()
File "/opt/ros/electric/ros/core/roslib/src/roslib/os_detect.py",
line 554, in detect_os
self._os_version = os_class.get_version()
File "/opt/ros/electric/ros/tools/rosdep/src/rosdep/debian.py", line
133, in get_version
return self.version_map[self.mint_detector.get_version()]
KeyError: '12'

It seems that ROS hasn't been updated to handle Mint 12, but simply
adding to the version map "12", "11.10" gives me problems installing
Boost...
I'll continue playing around.

-MV

MerseyViking

unread,
Feb 25, 2012, 6:20:42 AM2/25/12
to Programming a robotic car in ROS
As per this thread: http://answers.ros.org/question/12185/rgbdslam-with-ros-electric-on-linux-mint-12
, I needed to use:

"12", "oneiric"

in the map, and all is well for now. A patch has been submitted in
December, but appears not to have made it into downloads yet.

-MV

Klaus Raizer

unread,
Feb 25, 2012, 7:16:12 PM2/25/12
to robotic...@googlegroups.com
Trying to run gazebo alone (gzserver, then gzclient) renders:
/-------------------------
klaus@klaus-Inspiron-1545:~$ gzclient
Gazebo multi-robot simulator, version 1.0.0-RC2
Copyright (C) 2011 Nate Koenig, John Hsu, Andrew Howard, and contributors.
Released under the Apache 2 License.
http://gazebosim.org

Msg Waiting for master
Msg Connected to gazebo master @ http://localhost:11345
Qt: Session management error: None of the authentication protocols specified are supported
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'Ogre::ItemIdentityException'
  what():  OGRE EXCEPTION(5:ItemIdentityException): Can not find codec for 'png' image format.
There are no formats supported (no codecs registered). in Codec::getCodec at /build/buildd/ogre-1.7.3/OgreMain/src/OgreCodec.cpp (line 69)
Aborted
klaus@klaus-Inspiron-1545:~$

/-----------------------


The error I got, after running      roslaunch gazebo_worlds empty_world.launch      was:

/-----

gazebo: /home/klaus/Programs/ogre_src_v1-7-4/OgreMain/include/OgreSingleton.h:80: Ogre::Singleton<T>::Singleton() [with T = Ogre::TerrainPageSourceListenerManager]: Assertion `!ms_Singleton' failed.
[gazebo-2] process has died [pid 13366, exit code -6].
log files: /home/klaus/.ros/log/87ad5d8a-600e-11e1-ab32-0024d690acd8/gazebo-2*.log
/-------------

The above mentioned log does not exist.  :(


Miguel G.

unread,
Feb 25, 2012, 7:18:12 PM2/25/12
to robotic...@googlegroups.com
I think you should post your problems at http://answers.ros.org/ in order to get a better and fastest answer ;-)
--
Miguel.
653528166

capelare.es
GTalk: capelare
msn: m...@capelare.es
Yahoo/Skype: miguel.awelo

Conrado Miranda

unread,
Feb 25, 2012, 7:26:56 PM2/25/12
to robotic...@googlegroups.com
I agree with Miguel about the answers.ros.org.

The messages seem like a minor problem but just someone that passed
through this would know.

Also, for you guys using virtual machine, please be sure that it has
access to your video card. I just finished the gazebo tutorial and, in
the last part when the environment was WG office, it was slow as hell
here (in a pc without a video card).

>> The error I got, after running * roslaunch gazebo_worlds
>> empty_world.launch* was:

Klaus Raizer

unread,
Feb 26, 2012, 3:44:32 AM2/26/12
to robotic...@googlegroups.com
I'll give it a try.  :)

cheers
--
Klaus Raizer, MSc
PhD Student at DCA
Unicamp - State University of Campinas
E: klaus at dca . fee . unicamp . br
Site: http://www.dca.fee.unicamp.br/~klaus/

jescasany

unread,
Jul 9, 2012, 12:45:50 PM7/9/12
to robotic...@googlegroups.com
I am a retired engineer doing doctoral work on robotics navigation.
I am in Cadiz (Spain).
I am interested in this group. I`ve been installing and preparing things to work with ROS.
I've come back to the Sebastian classes to review the code and adapt it for using with ROS, when I've found this group.
 
Ubuntu 11.10 with ROS electric are the versions that are working better for me.
I've tried Player/Stage and now I'm seeing how to write Python code to control the simulation on Player/Stage.
 
Are there anybody in similar situation? 
Glad to join all of you guys.

Gustavo Adolfo Velasco Hernández

unread,
Jul 9, 2012, 1:18:01 PM7/9/12
to robotic...@googlegroups.com
Hi,

I'm currently in a very similar situation... I finished the course in april and now I'm reviewing the classes in order to write a "Programming a robotic car in ROS" manual. I've started working with stage as simulator (1D and 2D, in future 3D using gazebo). I'm using ROS Fuerte on Ubuntu 12.04 and everything runs fine.

I write simple docs about what I have done for this course (also in new forum post):


Sorry for my english, if someone find a mistake please let me know.
--
Gustavo Adolfo Velasco Hernández
Development Engineer at Colbits
Elcetronics Engineer - Universidad del Valle
IEEE RAS Member
IEEE CS Member
 


Conrado Miranda

unread,
Jul 9, 2012, 2:14:16 PM7/9/12
to robotic...@googlegroups.com
Hi!

So, I'm currently stuck testing some filtering algorithms for UAVs, so I couldn't touch ROS. If someone can build the framework in some simulator (like Gustavo is doing), it would be a LOT easier to help in some code development (I'm usually better coding algorithms than building interfaces).

Cheers!

jescasany

unread,
Jul 9, 2012, 3:55:21 PM7/9/12
to robotic...@googlegroups.com
A pleasure to collaborate with all of you. I totally agree in doing simulation.
Just now, after installing Stage, in ROS fuerte, roscore doesn't work anymore.
Best,
Juan

Gustavo Adolfo Velasco Hernández

unread,
Jul 9, 2012, 4:04:19 PM7/9/12
to robotic...@googlegroups.com
Hi Juan, Do you have only ROS fuerte distribution installed? if you still have previous distros be sure to update your ROS environment variables. What OS are you using?

jescasany

unread,
Jul 10, 2012, 6:12:50 AM7/10/12
to robotic...@googlegroups.com
I have Ubuntu 12.04, 11.10, 10.10, etc. installed in VirtualBox.  The installation that is more useful is 11.10 because there are more code developed for it. All of them use ROS electric mainly. In Ubuntu12.04 things go, but there appears always some bug or error.

jescasany

unread,
Jul 11, 2012, 12:05:56 PM7/11/12
to robotic...@googlegroups.com
Anyway, it seems Ubuntu Fuerte is improving as you can see in Documentation and thins are beginning to work properly.
 

jescasany

unread,
Jul 12, 2012, 1:13:45 PM7/12/12
to robotic...@googlegroups.com
I already have the Conrado's example running in ROS Fuerte in Ubuntu 12.04 Precise.
Reply all
Reply to author
Forward
0 new messages