Simulating NXC Code?

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
oniric85
Posts: 2
Joined: 16 Nov 2010, 12:30

Simulating NXC Code?

Post by oniric85 »

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!
borntoown
Posts: 58
Joined: 14 Nov 2010, 16:58

Re: Simulating NXC Code?

Post by borntoown »

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.
oniric85
Posts: 2
Joined: 16 Nov 2010, 12:30

Re: Simulating NXC Code?

Post by oniric85 »

Yes, I would like to test it.
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: Simulating NXC Code?

Post by mattallen37 »

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 ;)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: Simulating NXC Code?

Post by HaWe »

RobotC only got a runtime debugger, that's nice (I wish NXC got it, too), but that's all.
penguinplus
Posts: 12
Joined: 16 Nov 2010, 01:29

Re: Simulating NXC Code?

Post by penguinplus »

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.
nxtboyiii
Posts: 366
Joined: 02 Oct 2010, 07:08
Location: Everywhere

Re: Simulating NXC Code?

Post by nxtboyiii »

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
rghansen
Posts: 67
Joined: 12 Oct 2010, 17:44

Re: Simulating NXC Code?

Post by rghansen »

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.
nxtboyiii
Posts: 366
Joined: 02 Oct 2010, 07:08
Location: Everywhere

Re: Simulating NXC Code?

Post by nxtboyiii »

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
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: Simulating NXC Code?

Post by mightor »

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)
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 1 guest