Tuesday, March 31, 2009

PlayerClient Question

In the following code:

PlayerClient robot("localhost");

if we want the stage to be the host running the client, what should we write?

Meeting 31-Mar-09

Meeting with all (almost, missing Jean):

  1. Talked about progress installing player/stage.
  2. Luis finally installed both programs. His version of Ubuntu is newer than Laura's.
  3. We met David.
  4. Luis and Carlos G. are trying to make the USB port of the exteriors robot to work so they can access the disk and make an image.
  5. The interiors robot is almost completely assembled, only a cable is missing (Marissa has it).
  6. Laura and Arturo have managed to finish up to the task that uses the playerv using the laser, gripper and the sonar.
  7. Laura and Arturo will start the final task of player/stage setting up (player client).
We need to know if we have access next week to the lab.

Create map for Player/Stage - Notes for task

The student is required to simulate the general use case in Player/Stage. This process involves the following steps:

  1. The robots are given an assembly module in which the pieces are located.
  2. The closest available robot to the piece should book it to the master system and generate a navigation local plan for going to this piece. Then, the robot should make the plan public to the master system. In this case will be used a GoTo function with VFH, Wavefront and AMCL drivers from Player framework.
  3. The robot will reach the piece and report that the piece was reached to the master system. Then, the robot will make a local navigation plan to deposit the damaged piece in a central waste deposit.
The robot should report a stand-by status and look for the report of a next damaged piece.

Map control for Stage simulator - notes for task

In this task the student will get in familiar in how to handle map files obtained from image bitmaps and of creating a simulation use case map.

In the first step, the sample handling file for maps can be found in Stage installation path:

“$STAGE_PATH/worlds/map.inc“. The student will require executing Player/Stage service with the different PNG images files provided in the path of Stage installation: “$STAGE_PATH/worlds/bitmaps“.

The second step involves creating a simulation map according to the Use Case in use and attaches it to the Stage simulator. Such map will contain the following features:
  1. An assembly line divided in modules.
  2. From 1 to 5 robots
  3. Different damaged pieces over the assembly line.
  4. Movable obstacles defined by user in execution time.
  5. A central waste deposit for damaged pieces.

A general overview will be given and discussed with the lecturers involved.

Modeling the environment for Stage simulator. - Notes for task

This set of tasks intent to generate the environment for the use case in use with Player/Stage. The goal is also to create the show-off of robot-user interface for adapting the agent requirements and procedures to this approach.

Meeting via Skype

Jorge and Renato met using Skype:

  1. Discussed progress of each person in the project.
  2. Discussed about progress installing player/stage.
  3. Decided to give more time in the player/stage phase.
  4. Defined new schedule for tasks.
The new Gantt for the project is here:

In a moment I will post the notes for the task that are new.

Notice that the new revision date has changed a little bit but we still need to decide if we are going to set this new date for revision of continue with the previous date.

URGENT!!!!!!

Teacher Marissa we need the bus for the HD which is in the locker at Visión Artificial Lab, is the only thing we need to finally finish assembling the interior robot but we can't because it's locked up.

Guide to Install Player/Stage

Hi! Sorry for not posting in a while. I've been working on installing Player and Stage on Ubuntu, I had many, and I mean a lot of troubles trying to do that, but now I successfully installed it, and made a little guide for everyone else to install it easily.

Hope I didn't miss any step.

Guide
This guide is made to install Player/Stage in Ubuntu 8.04
** This should be working on any Linux platform **

First of all do
sudo apt-get build-essential

Before COMPILING and INSTALLING anything else be sure you have installed thes libraries:

Try to install them in this order
*Note: Many of this libraries may defer on a number at the end, representing the version
*The one that say Download and install... refers to do a "./configure", "make" and "make install" on each package

Download and install >=glib-2.0
Download and install pango
Download and install atk

sudo apt-get install libtiff-dev
sudo apt-get install libjasper-dev
sudo apt-get install libxext-dev
sudo apt-get install libltdl3-dev
sudo apt-get install libplayerjpeg2

Download and install gtk+

Finally,
Go to player/stage sourceforge webPage http://playerstage.sourceforge.net/ and download the player and stage softwares, and first do a "./configure", "make" and "make install" on player, then do the same on stage.

To test you have installed everything and is running do:
player /usr/local/share/stage/worlds/simple.cfg

-----------

PROBLEMS!!!

Hi everyone!

Just for give some BAD NEWS :( I haven't found my charger and I can't go on the installation. Just like I post before, I'm already install Player and already install some of the libs Stage need... While I found my charger I will be helping to install Stage in Luis computer....(It seems to be ready right now). Will be in touch!

Regards

Monday, March 30, 2009

Player/Stage installation

Hey everyone!!!

I hope you're all doing well. I have good news. I've already successfully installed Player/Stage and I can open the .cfg files. Tomorrow with Laura I'll try to see how playerjoy works and hopefully get to work with the robot as soon as possible.
The problems I had while trying to test stage by opening a .cfg file were:
  •  error while loading shared libraries: libplayerdrivers.so.2.2: cannot open shared object file: No such file or directory
  • err: unable to open color database: No such file or directory (stage.c stg_lookup_color)
To solve the first one I have to export the libraries every time I open the Terminal, and I know that this can be made automatically by putting it in the bashc file or something like this but I don't exactly know how to do it so if you could help me with this it would be really great.

And in order to solve the second problem, I had to create a file called rgb.txt that was deleted from the newest versions of ubuntu (they thought it wasn't necessary anymore) so you have to create it with some information given in this link:
http://www.nabble.com/Problem-installing-stage-td22283413.html

I think that would be all, regards!!!

Tomorrow's Meeting

Hi!

I was wondering at what time will tomorrow meeting be, 10:30 or 11:30?

Regards to all!

Pioneer functionality with Aria

Hi!
Today I went to the lab and checked the Pioneer’s functionality with Aria demo in order to teleoperate it.

The directory in which this demo is found in /usr/local/Aria/examples/demo.

It has several modes. In the teleoperate one you can move it around using either a joystick or a keyboard. Italso tried the gripper controls and they worked just fine. The only problem I had was the laser mode since the connection was never achieved.

While I was trying this, the robot suddenly restarted itself. Twice actually. I hope that the cause for this is that the batteries aren’t entirely charged.

I’ll be seeing you soon.
Regards.

Saturday, March 28, 2009

Comentarios de Carlos Nieto sobre los demos de ARIA

Es muy sencillo /usr/local/Aria/bin/demo.. o el directorio puede estar en /opt/Aria/lib/demo ese es el general, hay un directorio de demos.. solo make y listo. Crea los binarios para correr los programas.

Stage y Player es muy utilizado en Alemania y Francia, la ventaja es que puedes tener diferentes robots y sensores. Lo que no me gusta es lo de crear modulos o drivers para cada sensor de robot..

Si quieren programar en python o java usando Aria, lo pueden hacer. Estan instalados tambien los demos de estos lenguajes, lo unico que no probe fue lo de los sensores.

Player/Stage, Aria and other issues

Hi everyone!

I didn't have the opportunity to post this last days however I think I am beginning to understand how does Player/Stage works. On thursday Renato helped me with the task that demanded to execute the playerjoy utility in order to teleoperate the robot.

Yesterday I was looking at the next task which implied the execution of a sample control program. Before executing the instructions included there, I went to Player/Stage main page to get familiarized with this type of tools. I opened the simple.cfg file and used the graphical tool playerv to see the simulated robot's laser in 2d. I could teleoperate it using one of the optios available at the playerv window. Then, in order to see how would it act with autonomous control I executed the laserobstacleavoid program included in one of the libraries.

What I didn't entirely understood was the part that said i had to "set the correct path value for the serial connector for the robot and laser (connection path known as tty0 or tty1)".

Yesterday I also verified that Aria is already installed in the outdoors Pioneer. I tried to teleoperate the robot and the sick sensor through a demo included in the library, however I kept getting some errors related to the ports, I think I would need to read a little more about the correct usage of this type of software since yesterday I was just sort of inferring and making experimentations without having a clear idea of what I was doing. I think it would be convenient to look at that all together in order to give ideas to each other because some of us are more experienced in certain areas than the others.

I also wanted to suggest that, if you keep having too much trouble installing Player/Stage, we could meanwhile work with my laptop. It would be very helpful if all of you could give me suggestions on how to use all of Player/Stage features.

Finally, for me Carlos's post was a great notice, I am very glad that you are figuring out how to fix the interiors Pioneer.

Take care!

Friday, March 27, 2009

Great news!

Hi everyone!

Today Jean, David and I went to the lab to try to assemble the interiors robot and we almost succeded. Everything in the inside of it is almost connected, we just need the bus for the HD so we can connect it to the motherboard and to take away the laser from the rescue robot so we can finish assembling the interiors robot. When we get the bus for the HD we will start making test to verify that connections were made successfully. We hope on monday teacher Marissa will provide us with the bus and make everything we need to start "playing/staging". Have a nice weekend!

Thursday, March 26, 2009

Junta 26 Marzo 2009

Junta con Renato. Asistentes: Marissa, Laura, Carlos L., Arturo, Carlos G., Jorge.

  1. Presentación de cada uno (la cámara de Renato no funcionó).
  2. Instalación del player/stage. Laura ya lo instalo y vimos como hacer que corre al playerjoy.
  3. Los demás siguen intentando instalar el player/stage.
  4. Se discutió sobre lo que se tiene que hacer para armar los robots.
  5. Se tomó la foto de los integrantes.
  6. Renato va a tener una junta para ver como se formaliza todo con Alemania.
  7. Hay que mandar información al blog diariamente.
Run time error detected. Language not recognized :)

Photo


Hi, here I post the photo of the team assembled after today´s meeting.

Regards..
Marissa

Lost my computer charger:(

Hi, I lost my charger just after the meeting... I'm not sure but maybe someone took it... Please let me know if someone saw it:(:(:(:(:(

Thank you, regards

Player/Stage

Hi everyone!

I just successfully installed Player (I think...) but to install Stage requires a lot of other programs and libraries which I was trying to install but somehow I wasn't able to do so because it said at the output that there were some errors and nothing about them so I didn't know what to do. Hope someone can make a quick guide to install Stage and some troubleshooting for us that don't know a lot about Ubuntu.

In other news, we checked the USB port and the cabling is right so perhaps someone can tell how to bring up the port in Ubuntu, I guess that's the problem about the USB.

Good things to all!

Wednesday, March 25, 2009

Hi everyone!!!
Today I went to the lab to try and finish assembling the interiors robot and several things happened:
  • First I found some screws in a tool box that is there in the laboratory, and I think they are enough to finish assembling the pioneer.
  • Second, since I don't understand much of circuits and there are a lot of loose cables and ports without connection I decided to wait for the other members in order to see what we need to get for the robot to be complete and assembled.
Talking about other things I have a Hard disk you could use to do the image of the exteriors robot, I think we'll see each other tomorrow so I'll make the offer in order to get this done as soon as possible and start working on the robot.