From: <dc...@ab...> - 2011-09-30 09:36:03
|
Hello, I was just wondering if there's anybody else out there that have used the Lego NXT with Player? If anybody has, could you tell me how you used Player with it? What I mean is did you load Player onto the NXT itself (I assume the ARM7 microprocessor, not the AVR) or did you run player on the pc (that the NXT is connected to) and the NXT has a 'dumb' driver which sends messages to motors, sensors etc. or perhaps you did something else entirely? Much appreciated, Dominic |
From: Rich M. <jp...@gm...> - 2011-10-03 19:25:22
|
> -----Original Message----- > From: dc...@ab... [mailto:dc...@ab...] > Sent: Friday, September 30, 2011 5:36 AM > To: pla...@li... > Subject: [Playerstage-users] Lego Mindstors NXT with Player > > Hello, > > I was just wondering if there's anybody else out there that have used > the > Lego NXT with Player? > > If anybody has, could you tell me how you used Player with it? What I > mean > is did you load Player onto the NXT itself (I assume the ARM7 > microprocessor, not the AVR) or did you run player on the pc (that the > NXT > is connected to) and the NXT has a 'dumb' driver which sends messages > to > motors, sensors etc. or perhaps you did something else entirely? > > Much appreciated, > Dominic The best way is to just connect to the NXT with a "dumb" driver, either via USB or Bluetooth. There is actually already a Player driver that can drive individual motors over USB[1], though it looks like it still needs some work to get sensors implemented. It's probably not worth the effort to figure out how to install Player on the actual NXT, if it's even possible. Rich |
From: <dc...@ab...> - 2011-10-04 09:17:18
|
Thanks for the reply Rich, I will probably end up using the dummy driver technique as you suggested but how would you go about figuring out how to install Player on the NXT? I'm trying to implement sensors for the NXT but I've never written a driver for anything before and am spending a considerable amount of time doing some head scratching. Please bear with me if I ask any silly questions, I'm a complete novice at this stuff. Dominic >> -----Original Message----- >> From: dc...@ab... [mailto:dc...@ab...] >> Sent: Friday, September 30, 2011 5:36 AM >> To: pla...@li... >> Subject: [Playerstage-users] Lego Mindstors NXT with Player >> >> Hello, >> >> I was just wondering if there's anybody else out there that have used >> the >> Lego NXT with Player? >> >> If anybody has, could you tell me how you used Player with it? What I >> mean >> is did you load Player onto the NXT itself (I assume the ARM7 >> microprocessor, not the AVR) or did you run player on the pc (that the >> NXT >> is connected to) and the NXT has a 'dumb' driver which sends messages >> to >> motors, sensors etc. or perhaps you did something else entirely? >> >> Much appreciated, >> Dominic > > The best way is to just connect to the NXT with a "dumb" driver, either > via > USB or Bluetooth. There is actually already a Player driver that can > drive > individual motors over USB[1], though it looks like it still needs some > work > to get sensors implemented. It's probably not worth the effort to figure > out how to install Player on the actual NXT, if it's even possible. > > Rich > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > |
From: Dominic R. <dc...@ab...> - 2011-11-23 12:12:49
|
Hello, Has anyone recently installed Player and Stage on Windows? I've tried installing using cygwin, msys/mingw and with visual studio 2010 (latest version) and 2008 (version tested in windows install tutorial). It's also worth mentioning that the source that I'm using to install from have been successfully installed on a linux system. Player version - 3.0.1 (from svn a month or so ago) Stage version - 4.0.0 (downloaded tarball) When compiling with cygwin, it fails (initially) because of the "nimu" driver as it uses some unix commands but can't because it's actually running on windows. When running ccmake to disable nimu, it aborts and dumps a stackdump file with a very helpful list of registry values :/ . A colleague manually went through the source code; commented out includes to usb.h and other associated code. He did this for the nimu, nxt and acr120u drivers. He also commented out some code in portio.h. Lastly, he modified the library build scripts to make them create .dll files instead of .so files (literally by replacing .so with .dll). The player 'install' will now run from within cygwin, in the usr/local/lib directory with the dummy.cfg file. It throws up errors if run with simple.cfg: "couldn't find p2os_position" and "failed to parse config file player/config/simple.cfg driver blocks". The p2os driver hasn't touched by me or my colleague. Obviously, even if this setup could be made to work, it wouldn't be ideal. With non-modified source code: When compiling with cmake windows gui and visual express studio 2008; cmake will compile and generate fine but visual studio will give me a plethora of errors about .dll linkage and other things too long to list here. When compiling with cmake windows gui and visual express studio 2010; cmake will compile and generate but will give me two warnings about being unable to fine msvcp100.dll and msvcr100.dll. when running visual studio 2010, it gives more errors than in 2008. When/if this does install then this particular install of player will always be run with stage and doesn't actually need any of the drivers. Just in case that's helpful. Any more information needed and I'd be happy to give it. Any help would be much appreciated. Thanks, Dominic |
From: Rich M. <jp...@gm...> - 2011-11-24 00:45:47
|
On 11/23/2011 07:12 AM, Dominic Roberts wrote: > Hello, > > Has anyone recently installed Player and Stage on Windows? I've tried > installing using cygwin, msys/mingw and with visual studio 2010 (latest > version) and 2008 (version tested in windows install tutorial). It's also > worth mentioning that the source that I'm using to install from have been > successfully installed on a linux system. > > Player version - 3.0.1 (from svn a month or so ago) > Stage version - 4.0.0 (downloaded tarball) > > When compiling with cygwin, it fails (initially) because of the "nimu" > driver as it uses some unix commands but can't because it's actually > running on windows. When running ccmake to disable nimu, it aborts and > dumps a stackdump file with a very helpful list of registry values :/ . A > colleague manually went through the source code; commented out includes to > usb.h and other associated code. He did this for the nimu, nxt and acr120u > drivers. He also commented out some code in portio.h. Lastly, he modified > the library build scripts to make them create .dll files instead of .so > files (literally by replacing .so with .dll). The player 'install' will > now run from within cygwin, in the usr/local/lib directory with the > dummy.cfg file. It throws up errors if run with simple.cfg: > "couldn't find p2os_position" and "failed to parse config file > player/config/simple.cfg driver blocks". The p2os driver hasn't touched by > me or my colleague. Obviously, even if this setup could be made to work, > it wouldn't be ideal. > > With non-modified source code: > > When compiling with cmake windows gui and visual express studio 2008; > cmake will compile and generate fine but visual studio will give me a > plethora of errors about .dll linkage and other things too long to list > here. > > When compiling with cmake windows gui and visual express studio 2010; > cmake will compile and generate but will give me two warnings about being > unable to fine msvcp100.dll and msvcr100.dll. > when running visual studio 2010, it gives more errors than in 2008. > > When/if this does install then this particular install of player will > always be run with stage and doesn't actually need any of the drivers. > Just in case that's helpful. Any more information needed and I'd be happy > to give it. > > Any help would be much appreciated. > > Thanks, > Dominic > Hi, I haven't tested Player under Windows recently, so it's possible that there are new or newly-enabled drivers that aren't building properly. I know that the Player 3.0.2 release builds with Visual Studio 2008 without too much effort, there are directions for doing so on the Player wiki[1]. There are also several discussions on this list from around the 3.0.2 release date. I may try to build 3.1.0 later this week on Win7 64 with vs2008 and vs2010 to see if I can replicate these errors. Stage currently isn't supported on Windows. I haven't heard of anyone getting it to work on Windows, but if FLTK and all of its dependencies are available then it may be worth a shot. Rich [1] http://playerstage.sourceforge.net/wiki/Windows |
From: Jorge S. S. <jsa...@gm...> - 2011-11-24 07:10:35
|
Hello, Just to add that for me the combination cmake 2.8 windows gui and + visual express studio 2010 works with only few tweaks with the svn version of player (Stage not even tried). Apart from the wiki pointed by Rich, I should add some extra hints: - Python version must be between 2.2 and 2.7 EXCLUSIVE. - On CMake, set HAVE_STDINT_H and ENABLE_DRIVER_DIFERENTIAL as FALSE to avoid some compilation errors Not explained in this wiki is how to include external libraries (apart from pthreads). They are mandatory only to build additional player utilities as playernav or pmap: - Gkt+ : It is needed to compile the graphic tools. I use the gtk+ bundle available at http://www.gtk.org/download-windows.html. The only problem is that (at least until version 2.22) the .pc files contain absolute paths that must be corrected. - Gsl : It is needed to compile pmap. I use the binaries available at http://gnuwin32.sourceforge.net/packages/gsl.htm. You need to tweak the gsl.pc file to set the correct paths and define the GSL_DLL macro. - Cygwin : It is needed to compile playernav and all drivers that require jpeg. It is better not to use it, but is the only place where I have found libgnomecanvas and jpeg libraries for Windows. Again, you need to tweak also the libgnomecanvas-2.pc file, as some paths are not correct. Using jpeg needs some additional tweaks, but can also be done. - OpenCV : I will just notice that it took me a half day to make it work... it's really a teeth-pain. Send me the output if you still have compilation errors. Good luck! 2011/11/24 Rich Mattes <jp...@gm...>: > On 11/23/2011 07:12 AM, Dominic Roberts wrote: > > Hello, > > Has anyone recently installed Player and Stage on Windows? I've tried > installing using cygwin, msys/mingw and with visual studio 2010 (latest > version) and 2008 (version tested in windows install tutorial). It's also > worth mentioning that the source that I'm using to install from have been > successfully installed on a linux system. > > Player version - 3.0.1 (from svn a month or so ago) > Stage version - 4.0.0 (downloaded tarball) > > When compiling with cygwin, it fails (initially) because of the "nimu" > driver as it uses some unix commands but can't because it's actually > running on windows. When running ccmake to disable nimu, it aborts and > dumps a stackdump file with a very helpful list of registry values :/ . A > colleague manually went through the source code; commented out includes to > usb.h and other associated code. He did this for the nimu, nxt and acr120u > drivers. He also commented out some code in portio.h. Lastly, he modified > the library build scripts to make them create .dll files instead of .so > files (literally by replacing .so with .dll). The player 'install' will > now run from within cygwin, in the usr/local/lib directory with the > dummy.cfg file. It throws up errors if run with simple.cfg: > "couldn't find p2os_position" and "failed to parse config file > player/config/simple.cfg driver blocks". The p2os driver hasn't touched by > me or my colleague. Obviously, even if this setup could be made to work, > it wouldn't be ideal. > > With non-modified source code: > > When compiling with cmake windows gui and visual express studio 2008; > cmake will compile and generate fine but visual studio will give me a > plethora of errors about .dll linkage and other things too long to list > here. > > When compiling with cmake windows gui and visual express studio 2010; > cmake will compile and generate but will give me two warnings about being > unable to fine msvcp100.dll and msvcr100.dll. > when running visual studio 2010, it gives more errors than in 2008. > > When/if this does install then this particular install of player will > always be run with stage and doesn't actually need any of the drivers. > Just in case that's helpful. Any more information needed and I'd be happy > to give it. > > Any help would be much appreciated. > > Thanks, > Dominic > > > Hi, > > I haven't tested Player under Windows recently, so it's possible that there > are new or newly-enabled drivers that aren't building properly. I know that > the Player 3.0.2 release builds with Visual Studio 2008 without too much > effort, there are directions for doing so on the Player wiki[1]. There are > also several discussions on this list from around the 3.0.2 release date. I > may try to build 3.1.0 later this week on Win7 64 with vs2008 and vs2010 to > see if I can replicate these errors. > > Stage currently isn't supported on Windows. I haven't heard of anyone > getting it to work on Windows, but if FLTK and all of its dependencies are > available then it may be worth a shot. > > Rich > > [1] http://playerstage.sourceforge.net/wiki/Windows > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > > |
From: Dominic R. <dc...@ab...> - 2011-11-24 08:58:23
|
Hello Rich, Brilliant thanks, I'd be interested to hear how you get on. Dominic > > Hi, > > I haven't tested Player under Windows recently, so it's possible that > there are new or newly-enabled drivers that aren't building properly. I > know that the Player 3.0.2 release builds with Visual Studio 2008 > without too much effort, there are directions for doing so on the Player > wiki[1]. There are also several discussions on this list from around > the 3.0.2 release date. I may try to build 3.1.0 later this week on > Win7 64 with vs2008 and vs2010 to see if I can replicate these errors. > > Stage currently isn't supported on Windows. I haven't heard of anyone > getting it to work on Windows, but if FLTK and all of its dependencies > are available then it may be worth a shot. > > Rich |