Subject:
|
Re: RCX simulator ?
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Sat, 14 Sep 2002 15:58:31 GMT
|
Original-From:
|
Steve Baker <sjbaker1@airmail(ihatespam).net>
|
Reply-To:
|
SJBAKER1@AIRMAIL.NETspamcake
|
Viewed:
|
1199 times
|
| |
| |
Steve Baker wrote:
> > I expect that it would cost me at least a few weeks of my spare time,
> > so if you've a few hours of spare time, ...
> > I would be much obliged ;-)
>
> OK - I'll do it if nobody else has - but I kinda thought it had
> already been done.
OK - I just did some searching and it looks like David Baum (author
of NQC amongst other things) has already done this:
http://www.baumfamily.org/nqc/pbsim/index.html
...so I don't think I'll be taking the time to duplicate his efforts!
According to his notes, David hasn't released a new version of this
code since 11/19/2000 so I suspect this is as good as it'll get. However,
it appears to be OpenSourced so anyone could pick it up and work on it.
Interestingly, David backs up my claim that a byte-code simulator could
be written in just a few hours. He says:
I have started working on an RCX simulator. The simulation
runs at the bytecode level, not the hardware level.
<snip>
... after only a few hours I had the workings of a viable
(but woefully incomplete) simulator. Since then I've put
a few more evenings into it, and it is now capable of
simulating some reasonably interesting NQC programs.
----------------------------- Steve Baker -------------------------------
Mail : <sjbaker1@airmail.net> WorkMail: <sjbaker@link.com>
URLs : http://www.sjbaker.org
http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net
http://prettypoly.sf.net http://freeglut.sf.net
http://toobular.sf.net http://lodestone.sf.net
|
|
Message has 1 Reply: | | Re: RCX simulator ?
|
| (...) A few hours + a few evenings = 2 hours + 2 * 4 hours = 10 hours. Total code size (including documentation) = 74,000 characters. That's an average keystrokes/minute of (74,000 / (10*60))= 123 keystrokes/minute. I think that's very fast, ..... (...) (22 years ago, 14-Sep-02, to lugnet.robotics)
|
Message is in Reply To:
| | Re: RCX simulator ?
|
| (...) OK - I'll do it if nobody else has - but I kinda thought it had already been done. There are a few things I need: 1) The format of the byte-code files that NQC and the Lego tools use to save byte-code in. Are they the same - or are there two (...) (22 years ago, 14-Sep-02, to lugnet.robotics)
|
32 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|