Subject:
|
Re: RCX simulator ?
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Sat, 14 Sep 2002 18:57:53 GMT
|
Viewed:
|
1198 times
|
| |
| |
Steve Baker wrote:
> 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.
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, .....
even for a writer who knows every in and out of the RCX ;-)
But Steve, thanks for your efforts anyway,
and I'll certainly will take a look at Dave's sources !
best regards,
Stef Mientki
|
|
Message has 2 Replies: | | Re: RCX simulator ?
|
| (...) You are making the serious mistake of equating number of characters in the file with number of keystrokes taken to create it. The project I'm doing at work is up to about 60Mb of source code. Does that mean I've typed 60 million keystrokes in (...) (22 years ago, 14-Sep-02, to lugnet.robotics)
| | | Re: RCX simulator ?
|
| (...) I stopped working on it because there wasn't much demand. I never intended to write a full-blown simulation environment. I hoped other people would write appropriate front ends (GUIs that might let you interact with the RCX's sensors, or (...) (22 years ago, 15-Sep-02, to lugnet.robotics)
|
Message is in Reply To:
| | Re: RCX simulator ?
|
| (...) OK - I just did some searching and it looks like David Baum (author of NQC amongst other things) has already done this: (URL) I don't think I'll be taking the time to duplicate his efforts! According to his notes, David hasn't released a new (...) (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
|
|
|
|