Idea: Visual NXC

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
sidneys1
Posts: 141
Joined: 01 Oct 2010, 14:38
Location: Pennsylvania - The United States of America
Contact:

Re: Idea: Visual NXC

Post by sidneys1 »

Finally got around to merging the main fork of Visual NXC with the Compiler fork. Some interesting new features added as well:

http://screenr.com/Dlrs

Have a nice day,
~Sidneys1
My Mindstorms website: http://sidneys1.com
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: Idea: Visual NXC

Post by mightor »

That is some impressive work! I am really looking forward to seeing the finished project :)

- 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)
sidneys1
Posts: 141
Joined: 01 Oct 2010, 14:38
Location: Pennsylvania - The United States of America
Contact:

Re: Idea: Visual NXC

Post by sidneys1 »

I'm thinking of adding a new feature... A sort of hybrid view that shows the blocks, but instead of a simplified piece of text to title the block it shows the actual code-behind.. Just a thought.

~Sidneys1
My Mindstorms website: http://sidneys1.com
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: Idea: Visual NXC

Post by mattallen37 »

As long as that view is optional, that sounds good.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: Idea: Visual NXC

Post by muntoo »

sidneys1 wrote:A sort of hybrid view that shows the blocks, but instead of a simplified piece of text to title the block it shows the actual code-behind.
Or you could have a hover-over 'tool tip' appear that shows a few lines of the code whenever you hover over a block.

By 'hybrid', I am guessing you mean having two panels: the rendered blocks and the source code. (Sort of like Firebug or Chrome Developer Tools docked.)
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
sidneys1
Posts: 141
Joined: 01 Oct 2010, 14:38
Location: Pennsylvania - The United States of America
Contact:

Re: Idea: Visual NXC

Post by sidneys1 »

muntoo wrote:Or you could have a hover-over 'tool tip' appear that shows a few lines of the code whenever you hover over a block.

By 'hybrid', I am guessing you mean having two panels: the rendered blocks and the source code. (Sort of like Firebug or Chrome Developer Tools docked.)
Not quite... I'll work up a mock later if I have time.
My Mindstorms website: http://sidneys1.com
sidneys1
Posts: 141
Joined: 01 Oct 2010, 14:38
Location: Pennsylvania - The United States of America
Contact:

Re: Idea: Visual NXC

Post by sidneys1 »

Finally got around to it... :)

The Visual NXC Website

Have a nice day,
~Sidneys1
My Mindstorms website: http://sidneys1.com
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: Idea: Visual NXC

Post by mattallen37 »

Very nice theme :P
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
sidneys1
Posts: 141
Joined: 01 Oct 2010, 14:38
Location: Pennsylvania - The United States of America
Contact:

Re: Idea: Visual NXC

Post by sidneys1 »

Got bored and had Expression Web 4 on my hands :) Only took maybe 5-7 hours total.

Have a nice day,
~Sidneys1
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: Idea: Visual NXC

Post by muntoo »

You should make the header translucent. :)

BTW, instead of:

Code: Select all

Start: main()
End: main()
You could make it look like while().

Code: Select all

main()

    Rotate Motor Forward (Port A, 100%)
    Wait (2.5s)

    while (true)
        Wait(42ms)
        Wait(42ms)
        Wait(42ms)
    // End of while 'block'.

// End of main 'block'
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests