1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Simulating NXC Code?

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.

Simulating NXC Code?

Postby oniric85 » 16 Nov 2010, 12:32

Hi all, I'm new here. I've been looking all around the web for a NXT simulator so I could run my NXC code without the brick ( which I don't own myself ). Is there some way to try the code on a PC?
Thank you!
oniric85
 
Posts: 2
Joined: 16 Nov 2010, 12:30

Re: Simulating NXC Code?

Postby borntoown » 16 Nov 2010, 12:53

Try the code means to test it? No, i dont think so.
But if it means to view it, yes, notepad.
B2O productions are the best for the best.
borntoown
 
Posts: 58
Joined: 14 Nov 2010, 16:58

Re: Simulating NXC Code?

Postby oniric85 » 16 Nov 2010, 14:06

Yes, I would like to test it.
oniric85
 
Posts: 2
Joined: 16 Nov 2010, 12:30

Re: Simulating NXC Code?

Postby mattallen37 » 16 Nov 2010, 18:46

You want a virtual NXT. There is not one for NXC. I think there is one for ROBOTC though, but I am not positive.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
User avatar
mattallen37
 
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA

Re: Simulating NXC Code?

Postby doc-helmut » 16 Nov 2010, 22:11

RobotC only got a runtime debugger, that's nice (I wish NXC got it, too), but that's all.
regards,
HaWe
±≠≈αγδεωΔΦΣ∫√∅∞
NXC CHESS for NXT: http://www.mindstormsforum.de/viewtopic.php?f=70&t=6790
indispensable for NXC + EV3-C: easy + trouble-free network & sensor+motor remote control for rs485, BT, USB!
User avatar
doc-helmut
 
Posts: 2425
Joined: 29 Sep 2010, 14:25

Re: Simulating NXC Code?

Postby penguinplus » 17 Nov 2010, 23:51

I'm on a Fll team and we needed the same thing. We would need a simulator for nxt-g but a simulator for the byte code would be nice because it would work for every code.
penguinplus
 
Posts: 12
Joined: 16 Nov 2010, 01:29

Re: Simulating NXC Code?

Postby nxtboyiii » 24 Nov 2010, 04:59

I really wish there was a virtual NXT.
Sometimes I am too lazy to get it out.
Thanks, and have a nice day,
nxtboy III

programnxt.com
User avatar
nxtboyiii
 
Posts: 366
Joined: 02 Oct 2010, 07:08
Location: Everywhere

Re: Simulating NXC Code?

Postby rghansen » 24 Nov 2010, 09:42

I've been doing most of my NXC development work lately with a simple NXT simulator. It wouldn't be suitable for all projects and some assembly would be required for each new project.

You can find the sources and the makefile under "stonehenge" on Mindstorms project forum.

If you have any questions, let me know.
rghansen
 
Posts: 67
Joined: 12 Oct 2010, 17:44

Re: Simulating NXC Code?

Postby nxtboyiii » 24 Nov 2010, 17:32

NXT Simulator??
What is the "makefile" for?
I was thinking of a simulator that looks like the application "NXT Screen" and can run .rxe files that just use the NXT brick and touch sensors. Then someone could add onto it by adding sensors.
Thanks, and have a nice day,
nxtboy III

programnxt.com
User avatar
nxtboyiii
 
Posts: 366
Joined: 02 Oct 2010, 07:08
Location: Everywhere

Re: Simulating NXC Code?

Postby mightor » 24 Nov 2010, 17:59

A Makefile is like a batch file for building systems. You will most likely need a C compiler and binutils and the whole shebang.

- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
User avatar
mightor
Site Admin
 
Posts: 1060
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands

Next

Return to Mindstorms Software

Who is online

Users browsing this forum: No registered users and 0 guests