Re: Idea: Visual NXC
Posted: 28 Mar 2011, 15:39
To avoid hijacking this discussion, I have started another thread on the subject of an NXC code library -
NXC Code library - would it work?
NXC Code library - would it work?
Give a child a robot, he'll play for an hour. Teach him to build, and he'll play forever.
https://mindboards.org:443/
What I meant was that there are very many libraries for the Arduino. There are libraries for almost every imaginable purpose, and they are quite easy to find. Though I don't program NXC, I haven't seen a huge amount of libraries being distributed, like with Arduino. While many functions are built into NXC commands, like taking sensor readings for example, there isn't such a huge amount of libraries made for one purpose; stuff like Wii Nunchuck (AFAIK), Bluetooth GPS (again, AFAIK), HiTechnic products (although most of them are now supported) and other such things. Mr. Mighty Mightor's RobotC libraries are a perfect example of what I'm talking about; something similar for NXC would probably be quite popular.mattallen37 wrote:Actually, NXC commands are very straight forward for the most part. Just as easy as Arduino. They are different of course, as you don't write the IO pins high and low or read them, directly (different set of commands). It is very much the same concepts though.
I am using .NET 4.0, and VS2010 Pro comes with the VS Icons. (I have Pro via MS Dreamspark) Yes, I am planning on making it semi-open source.. The UI code doesn't really need to be released, but we'll see. When I do release the source it will be on SourceForge.muntoo wrote:Wow, I must've underestimated your skillz. That's looking great so far.
Where'd you get the Visual Studio icons? What framework are you using? Will Visual NXC be open source? If so, where're you going to put the repositories?
Not quite sure what you mean about the compilers and def libraries, could you elaborate?mattallen37 wrote:I am impressed. I to didn't realize to what extent you could take this. While I still don't really think it is necessary, it is looking very good. Also, make sure you have the compilers and defs libraries not included. That will allow for easy/instant upgrades to the latest version of NXC/NBC.
Really great work!
Ah, I see. I was not planning on implementing the defs directly, they were always meant to be a seperate file. Also, it will (hopefully) automatically detect if BricxCC is installed and use the compiler/defs there.mattallen37 wrote:Instead of implementing them directly into the program, you should put them in a directory so they can be changed out with the newest versions. It will allow people to update the SW whenever a new NXC/NBC version comes out, instead of waiting for you to update it.