Ruby & Robotics?

M

Michael Craig

[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
 
M

Michael Morin

Michael said:
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.rubyforge.org/

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

James Britt

Michael said:
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-mindstorms/


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
 
M

Martin DeMello

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
 
R

Rodrigo Rosenfeld Rosas

Michael said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top