I am a grad student working on RoboCup (the robotic soccer research
initiative). I work on the legged league, which involves Sony Aibo
robots. The SDK that Sony distributes is for C/C++. I hate programming
in C/C++ but I like programming in Ruby. This year, the UPenn team
wrote a Perl interpreter for the Aibo and wrote all of their code in
Perl. I would cry tears of joy were it at all straightforward to do
something similar for Ruby on the Aibo. I have no idea what this would
entail though. Does anyone have any thoughts on this?
Hmm, what is the platform itself like? What
OS does it run?
SWIG might be an option.
Hal
···
----- Original Message -----
From: “Kurt M. Dresner” kdresner@cs.utexas.edu
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Monday, July 21, 2003 11:11 PM
Subject: Ruby interpreters for different platforms
Okay guys, this is a bit of a stretch, but…
I am a grad student working on RoboCup (the robotic soccer research
initiative). I work on the legged league, which involves Sony Aibo
robots. The SDK that Sony distributes is for C/C++. I hate programming
in C/C++ but I like programming in Ruby. This year, the UPenn team
wrote a Perl interpreter for the Aibo and wrote all of their code in
Perl. I would cry tears of joy were it at all straightforward to do
something similar for Ruby on the Aibo. I have no idea what this would
entail though. Does anyone have any thoughts on this?
Why not use ruby to generate the C++ code and/or write a simple parser
in ruby? A smaller, more simple embedded is lua, that will probably be a
lot more easy to port.
I am a grad student working on RoboCup (the robotic soccer research
initiative). I work on the legged league, which involves Sony Aibo
robots. The SDK that Sony distributes is for C/C++. I hate programming
in C/C++ but I like programming in Ruby. This year, the UPenn team
wrote a Perl interpreter for the Aibo and wrote all of their code in
Perl. I would cry tears of joy were it at all straightforward to do
something similar for Ruby on the Aibo. I have no idea what this would
entail though. Does anyone have any thoughts on this?
_ If it’s possible to write a perl wrapper for API, it should be
pretty simple to write one for Ruby. The ruby API is MUCH MUCH
easier to work with than the XS interface in perl.
_ Porting the Ruby intepreter is maybe more work, but if perl
ports to the platform, then Ruby should without too much work.
_ You might want to also look a Lua, it’s a language designed for
exactly this kind of stuff and is very portable.
The operating system is technically called “Aperios”, which is a Sony
proprietary real-time OS. They do have a C/C++ compiler and associated
SDK for the OS, though. The platform is sort of strange - it involves
creating OPEN-R (the name of the SDK) objects, which all run
concurrently and send messages back and forth to each other. To execute
‘system calls’ (I use the term loosely) you send messages to OPEN-R
objects representing the sensors and the joint effectors and such.
-Kurt
···
On Tue, Jul 22, 2003 at 01:54:32PM +0900, Hal E. Fulton wrote:
----- Original Message -----
From: “Kurt M. Dresner” kdresner@cs.utexas.edu
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Monday, July 21, 2003 11:11 PM
Subject: Ruby interpreters for different platforms
Okay guys, this is a bit of a stretch, but…
I am a grad student working on RoboCup (the robotic soccer research
initiative). I work on the legged league, which involves Sony Aibo
robots. The SDK that Sony distributes is for C/C++. I hate programming
in C/C++ but I like programming in Ruby. This year, the UPenn team
wrote a Perl interpreter for the Aibo and wrote all of their code in
Perl. I would cry tears of joy were it at all straightforward to do
something similar for Ruby on the Aibo. I have no idea what this would
entail though. Does anyone have any thoughts on this?
Hmm, what is the platform itself like? What
OS does it run?
Hmm. A brute-force approach might be:
Simply grab the latest Ruby source and
try to build it. Start fixing the errors
as they crop up. At some point, step back
from the keyboard and ask if this is
really going to work.
If the OS is a reasonable one, it should
be doable. If it’s one that is so strange
that (for example) it doesn’t have the
concept of a file, that might be an order
of magnitude harder.
Hal
···
----- Original Message -----
From: “Kurt M. Dresner” kdresner@cs.utexas.edu
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Tuesday, July 22, 2003 1:17 AM
Subject: Re: Ruby interpreters for different platforms
The operating system is technically called “Aperios”, which is a Sony
proprietary real-time OS. They do have a C/C++ compiler and associated
SDK for the OS, though. The platform is sort of strange - it involves
creating OPEN-R (the name of the SDK) objects, which all run
concurrently and send messages back and forth to each other. To execute
‘system calls’ (I use the term loosely) you send messages to OPEN-R
objects representing the sensors and the joint effectors and such.