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

Idea: Visual NXC

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

Re: Idea: Visual NXC

Postby sidneys1 » 18 Oct 2011, 15:37

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

Re: Idea: Visual NXC

Postby mightor » 25 Oct 2011, 05:56

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)
User avatar
mightor
Site Admin
 
Posts: 1060
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands

Re: Idea: Visual NXC

Postby sidneys1 » 30 Oct 2011, 18:16

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

Re: Idea: Visual NXC

Postby mattallen37 » 30 Oct 2011, 18:37

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 ;)
User avatar
mattallen37
 
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA

Re: Idea: Visual NXC

Postby muntoo » 30 Oct 2011, 19:50

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
User avatar
muntoo
 
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare

Re: Idea: Visual NXC

Postby sidneys1 » 30 Oct 2011, 20:00

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

Re: Idea: Visual NXC

Postby sidneys1 » 03 Dec 2011, 21:01

Finally got around to it... :)

The Visual NXC Website

Have a nice day,
~Sidneys1
My Mindstorms website: http://sidneys1.com
User avatar
sidneys1
 
Posts: 141
Joined: 01 Oct 2010, 14:38
Location: Pennsylvania - The United States of America

Re: Idea: Visual NXC

Postby mattallen37 » 04 Dec 2011, 00:59

Very nice theme :P
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: Idea: Visual NXC

Postby sidneys1 » 04 Dec 2011, 03:09

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

Have a nice day,
~Sidneys1
User avatar
sidneys1
 
Posts: 141
Joined: 01 Oct 2010, 14:38
Location: Pennsylvania - The United States of America

Re: Idea: Visual NXC

Postby muntoo » 04 Dec 2011, 04:02

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
User avatar
muntoo
 
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare

PreviousNext

Return to Mindstorms Software

Who is online

Users browsing this forum: No registered users and 1 guest