iRobot Corporation

Projects using iRobot Create
Register  ·  Sign In  ·  Help
Jump to Page:   1
  Reply   Reply  

using Player with Create (ala Brown smurv?)
Options    Options  
tharveypa
Newbie
Posts: 2
Registered: 04-15-2008


tharveypa

Message 1 of 2

Viewed 2,592 times


I'm trying to get Player to talk to my Create. I'm using a Roostick for the usb to serial connection. My roomba.cfg file looks like this:

 

driver
(
  name "roomba"
  provides ["position2d:0"]
#  provides ["position2d:0" "power:0" "bumper:0" "ir:0" "opaque:0"]
  port "/dev/cu.SLAB_USBtoUART"
#  port "/dev/ttyS2"
  safe 1
  alwayson 1
)

 

It wasn't happy with all the sensors, and I thought I'd try to start simple. The port is what comes up in my /dev directory for the Roostick.

 

I plug the Create in to the usb coming out of the roostick, turn on the create, and get the error messages shown below my signature. The Create shuts off (is it pissed?).

 

I'm sure I'm doing something silly here, like a missing spec file of some kind. I have successfully used the Roostick with Create for the roombacomm java program. 

 

Any help getting it to work with player will be greatly appreciated!!

 

Thanks,

Terry 

 

% player roomba.cfg
Player v.2.0.5

* Part of the Player/Stage/Gazebo Project [http://playerstage.sourceforge.net].
* Copyright (C) 2000 - 2006 Brian Gerkey, Richard Vaughan, Andrew Howard,
* Nate Koenig, and contributors. Released under the GNU General Public License.
* Player comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
* are welcome to redistribute it under certain conditions; see COPYING
* for details.

Opening connection to Roomba on /dev/cu.SLAB_USBtoUART...roomba_get_sensors():read(): Resource temporarily unavailable
roomba_open():failed to get data
error   : failed to connect to roomba
error   : initial subscription failed for device 4:0
error   : failed to start alwayson drivers
 

04-15-2008 02:16 PM
  Reply   Reply  

Re: using Player with Create (ala Brown smurv?)
Options    Options  
tharveypa
Newbie
Posts: 2
Registered: 04-15-2008


tharveypa

Message 2 of 2

Viewed 2,587 times


ok, I deleted the line:

 

alwayson 1 

 

and that made player happier. Hoorah!

 

Then I start playerv. There is no robot graphic in the center of the window.

 

So I thought I would try using the "create" driver by gerkey. It is in my drivers directory, but was not compiled into player:

 

>The following 45 drivers were compiled into Player:
>
>   acts amtecpowercube aodv bumper_safe canonvcc4 clodbuster cmucam2
>    cmvision dummy erratic fakelocalize festival flockofbirds garminnmea
>    insideM300 iwspy khepera laserbar laserbarcode lasercspace
>    laserposeinterpolator laserrescan lasersafe laservisualbarcode
>    laservisualbw mapcspace mica2 microstrain3dmg nd obot p2os ptu46 readlog
>    relay rflex roomba sicklms200 sickpls skyetekM1 sonyevid30 urglaser vfh
>    vmapfile wavefront writelog
 

So I tried using config with an option

 

./configure --enable-create

 

to force the installation of the create driver, but that didn't work (though two more map drivers got installed; go figure).

 

I'm using player 2.0.5

 

Any thoughts?

 

Thanks,

Terry 

04-15-2008 07:42 PM
Jump to Page:   1