From: Robotics P. u. h. l. <rob...@li...> - 2007-10-09 00:32:30
|
Hello John, On Terminology - Player is a layer of abstraction above the actual hardware (the robot) - you can refer to the Player/Stage website for exactly what this means. Essentially, you need to understand that it is the Player server that is communicating with the robot, and your own controller (your desktop) is sending commands/requests to the Player server. The Client/Server model says that the Gumstix running the Player server is the server, and your desktop computer running the controller is the client. The roboticsprimer/player code you compiled is the library for the Roomba/Create. It's purpose is to simplify your own controller code by providing some useful functions - it does not replace Player, but rather work with it. it is not necessary to SCP this library to the Gumstix. All you need to do is to write a controller (or use the exercise code), link it against the library, and run it on your desktop or SCP that binary to the Gumstix. If you are running the controller on your desktop, client.xml need to have the correct IP address to the Gumstix. If you are running it on the Gumstix itself, the IP address is "localhost". To answer your questions: > 1) What do I need to run on the desktop? Your controller. > 2)what do I need to run on the gumstix? and how do I get it there? > could you perhaps give a sample scp command? The Player server. This is not the code from the workbook - you need to get it from the official website, and cross compile it as I indicated before. You can learn more about SCP from Google, but generally, it is like: scp config.cfg root@gumstix:~/config.cfg > 3) I assume when I get player on gumstix I run it giving the cfg > you mentioned in the e-mail > I'm not sure what you are saying here - if you do have a "player" binary and a .cfg file, you would run it as: ./player config.cfg On a separate note, you should drop any code that has anything to do with cr8 - if you read the website, the cr8 portion of the code is designed for the Command Module (the green bar) that iRobot sells. If you are using the Gumstix, you shouldn't have anything to do with that. If you are still using your hacked version of roombaDev.pc, you should compile the workbook code again, as Nate instructed earlier. Good luck, Jiuguang On Oct 8, 2007, at 8:10 PM, Robotics Primer users help list wrote: > Thank you for your responcse > > Something is strange when I go to the site I don't see any of the > responses to my messages, so I have to wait for the digest. > > Terminology. > I have a Linux desktop upon which I have down loaded the workbook. > This is connected via a USB pseudo serial line to the serial port > on the gumstix. I refer to the Desktop as the host and the gumstix > as the client. It sounds like you're saying the gumstix is the host > and my desktop the server? I don't see why you would turn that > around but ok to avoid confusion I will refer to my desktop > computer as Desktop and my gumstix as gumstix. > I have deduced that I need something running on the gumstix. Your > note indicated that is the cross-compiled player. I think that the > cross-compiled player was made when I ran "scons install" in > roboticsprimer/player, I know it needed avr-g++ and avrdude to > run, so if it wasn't cross compiling player what eas it doing?so I > need to know the name of the file and how to get it to the gumstix. > The tutorial just said scp it but didn't say how. > > Questions > 1) What do I need to run on the desktop? > 2)what do I need to run on the gumstix? and how do I get it there? > could you perhaps give a sample scp command? > 3) I assume when I get player on gumstix I run it giving the cfg > you mentioned in the e-mail > > I have a player directory in which I downloaded player and the > roboticsprimer/player > directory which I downloaded with the work book, could you specify > which one you mean when you say player? > > This may sound very confused to you. but to me I have managed to > compile all the code, establish some sort of connection to gumstix > and am now dead in the water as there are no instructions other > than scp it. scp what? scp how? etc > > John Cummins > > Be a better Heartthrob. Get better relationship answers from > someone who knows. > Yahoo! Answers - Check it out. > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Roboticsprimer-users mailing list > Rob...@li... > https://lists.sourceforge.net/lists/listinfo/roboticsprimer-users |