Subject:
|
Re: RCX simulator ?
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Fri, 13 Sep 2002 21:08:38 GMT
|
Original-From:
|
Andy Gombos <gombos_2000@earthlink.!NoMoreSpam!net>
|
Viewed:
|
1089 times
|
| |
| |
> hi Andy,
>
> Andy Gombos wrote:
> > It can be more work than you think. I created Simlink
> > (http://simlink.sourceforge.net) for leJOS,
>
> looks impressive!
> I'm thinking about a very look-alike simulator, but then based on the
> firmware 2.0, so it can run NQC programs.
Great! You will have to implement all the firmware calls though, or at
least emulate thier function (it has to exist, though not necissarily do
something)
>
> and having a codebase to use was
> > essential.
>
> What do you mean by a "codebase" ?
With leJOS, I had a set of source files that described all the methods and
fields, etc available for use in leJOS. This helped greatly, since I just
changed the code that "did stuff" on the RCX, and let the existing code
handle the details.
Using the standard firmware, there is no source available AFAIK. You will
have to accept straight NQC source (perhaps the easist solution), or accept
binary files that can be interpreted by emulation firmware. Parsing the
source seems like a rather viable option, though I have not checked out Dave
Baum's simulator yet to see what it does.
David Edwards has a project (http://sourceforge.net/projects/rcxemul/) to
use the ROM as a base to interpret any code that can run on the RCX, so any
firmware can be used without modification that uses ROM calls (I think this
is all of them, since I am not sure how you would do it otherwise. I'm not
an embedded systems programmer though). I am listed as another developer,
though truthfully I know enough about C to see what the code does, but have
I can't offer any help on what needs to be done. If you know C, and want to
see the low level RCX, this may be another choice.
>
>
> If you choose to show robot actions as well as what the RCX
> > displays, and motor state and such,
>
> Yes that's quiet what I'm thinking of.
>
> > I can help you out. There are several
> > robot simulator frameworks, ready to be controlled by an implementation.
>
> If you could give me some links, I would be very pleased.
I can't think of any links offhand except the Java based Rossum Playhouse
(http://rossum.sourceforge.net) that I used in Simlink. Eventually, there
will be light sources and such created, so the environment will be ready for
you to drop your code in and watch the robot execute. Search for terms like
"robot simulator", "robot simulation framework", etc, and you should find
other projects in C/C++, Delphi, and VB.
What language are you planning on using?
Andy
|
|
Message has 2 Replies: | | Re: RCX simulator ?
|
| (...) good idea, I've to search more, but here is one (URL) What language are you planning on using? Delphi, but the PIC simulator I'm building can accept "devices" (the RCX is just a device) in DLLs, so in fact it could be written in any language. (...) (22 years ago, 13-Sep-02, to lugnet.robotics)
| | | RE: RCX simulator ?
|
| (...) Actually, not really - if it is a true simulator, then all that will be needed is a ROM dump of the RCX. Then all that is required is a emulator with the Hitachi chip, you'd be using the LEGO codebase itself. Making it much more reliable too! (...) (22 years ago, 13-Sep-02, to lugnet.robotics)
|
Message is in Reply To:
| | Re: RCX simulator ?
|
| hi Andy, Andy Gombos wrote: > It can be more work than you think. I created Simlink > ((URL) for leJOS, looks impressive! I'm thinking about a very look-alike simulator, but then based on the firmware 2.0, so it can run NQC programs. and having a (...) (22 years ago, 13-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
|
|
|
|