I have Squeak on a RPi but I don't know how to access any USB peripherals or how to make primitives to do so. I want to use RPi for controlling a microcontroller and processing webcam video for my robot. If I can't get that in Smalltalk can it be added or what language should I move to?
I was referred to but I can't get it to work on RPi. A major focus of RPi is to teach electronics but without access to the peripherals, Smallltalk is not useful. But some access is available in Scratch which is built on top of Squeak so why can't I get access to that code directly instead of going through the Scratch changes file? Why can't I get Smalltalk goodies like I used to buy from Digitalk? With all the VM work, there must be a way to hook up C++ code like OpenCV to do real time video contours and other image recognition algorithms. Dolphin has a somewhat easy way to add primitives. If Squeak all in one contains package bundles only for Mac, why not include essentials for RPi? |
> On 16-04-2016, at 9:19 AM, ReliableRobots.com <[hidden email]> wrote: > > I have Squeak on a RPi but I don't know how to access any USB peripherals or how to make primitives to do so. I want to use RPi for controlling a microcontroller and processing webcam video for my robot. If I can't get that in Smalltalk can it be added or what language should I move to? Learn about FFI. That provides access to C libraries; then you wrap that low-level interface with nice Smalltalk code so it makes sense. > > I was referred to > http://car.mines-douai.fr/category/software/pharos/ > but I can't get it to work on RPi. Can’t help you there. As far as I can make out some of the changes in Pharo use too much compute to be realistic on a Pi. > > A major focus of RPi is to teach electronics but without access to the peripherals, Smallltalk is not useful. But some access is available in Scratch which is built on top of Squeak so why can't I get access to that code directly instead of going through the Scratch changes file? Because nobody has provided me with time (ie, money) to make all that stuff decently available for general use. There’s only so much I can do at one time. > > Why can't I get Smalltalk goodies like I used to buy from Digitalk? Because nobody will pay to buy software any more. > With all the VM work, there must be a way to hook up C++ code like OpenCV to do real time video contours and other image recognition algorithms. As I mentioned above, look up the FFI (Start with http://wiki.squeak.org/squeak/2426 for example) > > If Squeak all in one contains package bundles only for Mac, why not include essentials for RPi? It does. Last time I checked the Pi had all the linux related plugins there aren’t x86 specific. tim -- tim Rowledge; [hidden email]; http://www.rowledge.org/tim There are two ways to write error-free programs; only the third one works. |
Tim, would the Exobox USB code be around, available?
On 04/16/2016 12:41 PM, tim Rowledge wrote: >> On 16-04-2016, at 9:19 AM, ReliableRobots.com <[hidden email]> wrote: >> >> I have Squeak on a RPi but I don't know how to access any USB peripherals or how to make primitives to do so. I want to use RPi for controlling a microcontroller and processing webcam video for my robot. If I can't get that in Smalltalk can it be added or what language should I move to? > Learn about FFI. That provides access to C libraries; then you wrap that low-level interface with nice Smalltalk code so it makes sense. > >> I was referred to >> http://car.mines-douai.fr/category/software/pharos/ >> but I can't get it to work on RPi. > Can’t help you there. As far as I can make out some of the changes in Pharo use too much compute to be realistic on a Pi. > >> A major focus of RPi is to teach electronics but without access to the peripherals, Smallltalk is not useful. But some access is available in Scratch which is built on top of Squeak so why can't I get access to that code directly instead of going through the Scratch changes file? > Because nobody has provided me with time (ie, money) to make all that stuff decently available for general use. There’s only so much I can do at one time. > >> Why can't I get Smalltalk goodies like I used to buy from Digitalk? > Because nobody will pay to buy software any more. > >> With all the VM work, there must be a way to hook up C++ code like OpenCV to do real time video contours and other image recognition algorithms. > As I mentioned above, look up the FFI (Start with http://wiki.squeak.org/squeak/2426 for example) >> If Squeak all in one contains package bundles only for Mac, why not include essentials for RPi? > It does. Last time I checked the Pi had all the linux related plugins there aren’t x86 specific. > > > tim > -- > tim Rowledge; [hidden email]; http://www.rowledge.org/tim > There are two ways to write error-free programs; only the third one works. > > > -- Robert . .. ... ^,^ |
In reply to this post by ReliableRobots.com
On 16/04/16 18:19, ReliableRobots.com wrote:
> I was referred to > http://car.mines-douai.fr/category/software/pharos/ > but I can't get it to work on RPi. That is the explanation and script for x86. On a Raspberry Pi you need an ARM vm. You'll need to make some changes in the script in http://car.mines-douai.fr/scripts/PhaROS I think Cyril Ferlicot runs Pharo on his pi, but I don't remember which vm he's using, probably the latest from Eliot: http://www.mirandabanda.org/files/Cog/VM/VM.r3663/ cogspurlinuxhtARM-16.13.3663.tgz Stephan |
Free forum by Nabble | Edit this page |