[racket] racket on arm/armel linux
If it can be of any help: here at Middlesex University we managed to compile the standard sources for 5.93 on a Raspberry Pi (standard raspbian distro). The only thing we had to do was to disable documentation in the configuration step (configure --disable-docs). And then wait a few hours.
Regarding serial communication: we are currently driving an Arduino Uno board connected via serial port to the Raspberry Pi from Racket using a modified version of Firmata. This version is available here: https://bitbucket.org/fraimondi/racket-firmata The Arduino Uno is then connected to a pair of wheels and to bump and IR sensors. A full description of the robotic platform is here: http://www.rmnd.net/middlesex-robotic-platformo-mirto/
I cannot comment on stability over a long period of time, but Racket performs quite well to read / write to the serial port and control wheels and sensors to follow a line is a smooth way, implementing a 100% Racket-based PID controller (25 Hz): http://www.youtube.com/watch?v=laafaTZ7mDU&t=4m46s
Raspbian comes with X, but we "drive" from the command line as we found DrRacket too slow on RPi. Essentially, students develop Racket using DrRacket on their desktops / laptops and then upload the file to the Raspberry Pi, where it is executed from the command line.
Franco
On 25 Feb 2014, at 04:13, Deren Dohoda <deren.dohoda at gmail.com> wrote:
> Meant to reply to all, sorry Neil:
>
> I have a simple racket program handling serial communication between a PC and physical devices running on Debian on an ARM with pretty much those exact specs. There's no windowing system, though, it's strictly console-only. It is responsive enough for me. I haven't done a huge uptime test but it's gone over a week without problems.
>
> The experience was extremely positive. I plan on doing it for my next project, starting this year, which is going to be similar, just with more devices. Maybe this next project will generate some code worth sharing.
>
> Deren
>
>
> On Sat, Feb 15, 2014 at 8:17 PM, Neil Van Dyke <neil at neilvandyke.org> wrote:
> Anyone have success/failure running Racket on ARM "armel" Linux devices?
>
> I'm thinking about reliability and performance, on a 500 MHz device with 256 MB RAM.
>
> (GUI-wise, I probably wouldn't run X, but probably something thinner, atop framebuffer or the SVGA device.)
>
> Neil V.
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users