[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby & Robotics?

Michael Craig

8/18/2008 1:48:00 AM

[Note: parts of this message were removed to make it a legal post.]

Hello all,
Does anybody know if there are any good implementations of Ruby in basic
robotics? I want to learn some robotics (basic ground-level stuff, i.e. how
to control servos from a computer with ruby) and I don't really want to do
it in Java when I know Ruby and love it so much :). Also, anybody know a
good place to start for getting into that kind of stuff?

Thanks,
Mike

4 Answers

Michael Morin

8/18/2008 2:32:00 AM

0

Michael Craig wrote:
> Hello all,
> Does anybody know if there are any good implementations of Ruby in basic
> robotics? I want to learn some robotics (basic ground-level stuff, i.e. how
> to control servos from a computer with ruby) and I don't really want to do
> it in Java when I know Ruby and love it so much :). Also, anybody know a
> good place to start for getting into that kind of stuff?
>
> Thanks,
> Mike
>

This is something related I came across before. Though as much as I
like Ruby, it's not really the right tool for the job.

http://rad.ruby...

--
Michael Morin
Guide to Ruby
http://ruby....
Become an About.com Guide: beaguide.about.com
About.com is part of the New York Times Company

James Britt

8/18/2008 2:47:00 AM

0

Michael Craig wrote:
> Hello all,
> Does anybody know if there are any good implementations of Ruby in basic
> robotics? I want to learn some robotics (basic ground-level stuff, i.e. how
> to control servos from a computer with ruby) and I don't really want to do
> it in Java when I know Ruby and love it so much :). Also, anybody know a
> good place to start for getting into that kind of stuff?

In general, no, but at a RubyConf a few years ago (2003, I guess),
Shashank Date showed off controlling a Lego Mindstorms assembly using Ruby.

http://rubyforge.org/projects/lego-m...


If you google a bit you'll find more links about Ruby and Mindstorms

--
James Britt

www.happycamperstudios.com - Wicked Cool Coding
www.jamesbritt.com - Playing with Better Toys
www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff

Martin DeMello

8/18/2008 6:32:00 AM

0

On Sun, Aug 17, 2008 at 6:47 PM, Michael Craig
<ungluedattheseams@gmail.com> wrote:
> Hello all,
> Does anybody know if there are any good implementations of Ruby in basic
> robotics? I want to learn some robotics (basic ground-level stuff, i.e. how
> to control servos from a computer with ruby) and I don't really want to do
> it in Java when I know Ruby and love it so much :). Also, anybody know a
> good place to start for getting into that kind of stuff?

If you already have a java api to your hardware controller, you can
write your program in jruby and use the java calls

martin

Rodrigo Rosenfeld Rosas

8/25/2008 7:50:00 PM

0

Michael Craig wrote:

> Hello all,
> Does anybody know if there are any good implementations of Ruby in
> basic
> robotics? I want to learn some robotics (basic ground-level stuff, i.e.
> how to control servos from a computer with ruby) and I don't really want
> to do it in Java when I know Ruby and love it so much :). Also, anybody
> know a good place to start for getting into that kind of stuff?
>
> Thanks,
> Mike

Actually, real robotic systems need to be real-time systems, running on
Real-time operating systems such as the Linux + Xenomai real-time extension
patch. But, for testing certain alghoritms, I think ruby could act as
Matlab, for prototyping. But you need to have in mind that you will need to
port the final alghoritm to C ou C++, since, usually, real-time system APIs
are written in those languages...

Writing realtime systems in languages such as Ruby or Java (both have
garbage collector) is not reliably (actually it is impossible in Ruby,
currently, as far as I know).

Good luck!

Rodrigo.