Is there C# (.NET) library for Lego Mindstorm NXT, which is up-to-date?
NXT.NET for LEGO Mindstorms
- last update 18.04.2008
- http://nxtnet.codeplex.com/
MindSqualls
- last update 05.06.2007
- http://www.mindsqualls.net/
Lego .NET
- last update 07.04.2005
- http://www.dcl.hpi.uni-potsdam.de/research/lego.NET/weblog/
I know, there is MS Robotic studio, but my question is not about that.
As far as I can tell, There is no source code available for NXT.NET for LEGO Mindstorms despite the project being hosted on codeplex. The library is not really complete yet - and it would seem that development has stalled.
The MindSqualls library has not been updated recently, but still appears fairly complete and usable. Some recent modifications are available elsewhere.
You've said you aren't interested in MS Robotics Studio but that works well with Lego NXT. Personally, I would find it had to justify using something else other than "for the challenge" of doing so.
I made the source code for the NXT.NET library available on CodePlex, but unfortunately it is true that the development of the library has stalled :(
You can find the source code here for download:
http://nxtnet.codeplex.com/releases/view/12686
The microsoft robotics SDK (for .net) is compatible with mindstorms.
I used AForge.NET for my project. (http://www.aforgenet.com/)
The last update was February 23, 2012.
It makes controlling the Lego Mindstorm NXT very easy.
http://www.aforgenet.com/framework/features/lego_robotics.html#nxt
You can just send down real-time / Direct commands to the NXT in its native format. You don't necessarily need the NXT library.
It sounds like you are using the library, however it can be easily augmented by just sending a command to the com port that the NXT is connected up with. Here is a great tutorial on the NXT direct commands:
http://www.robotappstore.com/Knowledge-Base/Programming-LEGO-NXT-Mindstorms/92.html
-Hope this helps!
I tried to use MRDS, and could not do it. The whole system with services and many twists in most cases only complicates everything.
Now I try to understand AForge and MindSqualls, until they look much better.