To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 18974
18973  |  18975
Subject: 
Re: RCX simulator ?
Newsgroups: 
lugnet.robotics
Date: 
Fri, 13 Sep 2002 22:12:00 GMT
Original-From: 
Andy Gombos <gombos_2000@IHATESPAMearthlink.net>
Viewed: 
806 times
  
The only Hitachi emulators I ever found were $$$$ - like the 10K range, for
a "basic" one that emulated the most basic Hitachi processors.


----- Original Message -----
From: "Rob Limbaugh" <RLimbaugh@greenfieldgroup.com>
To: <jmatthews@generation5.org>; <lego-robotics@crynwr.com>
Sent: Friday, September 13, 2002 6:08 PM
Subject: RE: RCX simulator ?


Does Hitachi have the emulators in their SDK's on their website?

-----Original Message-----
From: James Matthews [mailto:jmatthews@generation5.org]
Sent: Friday, September 13, 2002 5:56 PM
To: lego-robotics@crynwr.com
Subject: RE: RCX simulator ?


You will have to implement all the firmware calls though, or at

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!

The only catch obviously, is getting the ROM dump. Even if YOU could get
one, you wouldn't be allowed to distribute it (well, you might, if LEGO was
reaaaaaaaaaally nice). So it'd have to be a method that everyone would be
able to use.

Ah, I've just read the part about David Edwards' stuff - that is probably
what you'd want to do then. Don't be too scared about starting Stef, often
emulating a system isn't all that hard. I've done a limited emulator with a
ZiLOG Z80 processor (used the TI graphing calculators).

Well, my 2 cents.

James.

-----Original Message-----
From: news-gateway@lugnet.com [mailto:news-gateway@lugnet.com]On Behalf
Of Andy Gombos
Sent: 13 September 2002 22:09
To: lugnet.robotics@lugnet.com
Subject: Re: RCX simulator ?


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 is in Reply To:
  RE: RCX simulator ?
 
Does Hitachi have the emulators in their SDK's on their website? -----Original Message----- From: James Matthews [mailto:jmatthews@ge...tion5.org] Sent: Friday, September 13, 2002 5:56 PM To: lego-robotics@crynwr.com Subject: RE: RCX simulator ? (...) (22 years ago, 13-Sep-02, to lugnet.robotics)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
11 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR