Sunday, April 5, 2009

Player client questions and Holy Week

Hi everyone!

I was just looking at the "Program a Player Client" task and it wasn't really clear for me what is the difference between this task and the one the implied the execution of the samples. It said that I should compile the example0 program and then execute it, but since it was already compiled I just simply tested it in the cfg files just like I did with the laseobstacleavoid sample. I am thinking that what is required in this task is to change the variables of the example.cc code and then compile and execute it in order to see how does it work with these modifications. I looked at the code and started wondering how would we test this program on the robot so I'm rewritting the question posted by Jorge:


In the following code:

PlayerClient robot("localhost");

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

I know we won't have access to the robots this week but it would be very useful for me to clear this doubt in order to have a better understanding of concepts like client and service because I am having some trouble with these ideas.

I would appreciate that you told me in a more concrete way what exactly do I have to do for this task. Meanwhile I will be taking a look at the libplayerc++ features included in the web pages as well as at the tutorials included there.

I also wanted to ask you Renato when can you be available during this week in order to receive advise and talk about how will the revision on next week will take place through chat or skype

Thank you and I'll be seeing you soon.

Have a nice week!

1 comment:

  1. Hi Laura,

    The task "Execute samples for robot and laser sensor in Player and Stage” is meant for you to understand how are related the drivers and interfaces of Player and Stage. Also it is done for you to understand what are the playerv tool and its functionality.

    The task “Program a Player client (a.k.a. ClientProxy)” is meant for you to create your own developing environment in which you will be normally working. As a developing environment I mean how you are going to be creating/compiling/linking the files related to further required programs. For example, in here we usually work with an IDE (KDevelop) and we use the facilities of the CMAKE for compiling and linking. In specific, in this task you need to understand the content of the program and not only making a copy/paste and then compile it. Also you can add a LaserProxy and check how it will be working because you will be using it if you want to access the SICK sensor.

    Each task is relatively easy, but it has specific concepts you might be required to “promoted” by yourself as the intention of this collaboration is to give you “Research” oriented skills. Also, the task will be checking the consistency of your system in order to be completely functional and related to the concepts you are needing. I am also seeing you are in the good way as you are already reading the tutorials and understanding how to obtain useful information from the possibilities the developers give.

    I will be accessible for Tuesday and Thursday from 6 to 8 pm in German time. My skype is “renacido” or you can contact me by the google chat renatsamperio@gmail.com.

    I hope this is useful for (all of) you.

    Renato.

    ReplyDelete