24

Is there C# (.NET) library for Lego Mindstorm NXT, which is up-to-date?

NXT.NET for LEGO Mindstorms

MindSqualls

Lego .NET

I know, there is MS Robotic studio, but my question is not about that.

Tim Pietzcker
  • 328,213
  • 58
  • 503
  • 561
MicTech
  • 42,457
  • 14
  • 62
  • 79

6 Answers6

9

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

György Balássy
  • 2,938
  • 1
  • 28
  • 23
7

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.

Stewart
  • 4,223
  • 6
  • 31
  • 39
  • I think MS Robotics Studio requires a live bluetooth connection to the hosting PC that runs the "AI" code. This means that the NXT creation is being remote controlled and is not truly autonomous. This is in contract to NQC and the Java VMs that are actually running on the brick itself. However, I would love to be proved wrong. – Kirk Woll Dec 07 '10 at 03:11
6

The microsoft robotics SDK (for .net) is compatible with mindstorms.

Toad
  • 15,593
  • 16
  • 82
  • 128
3

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

user1355682
  • 191
  • 1
  • 4
  • There has been a new update on July 17, 2013 to Version 2.2.5. http://www.aforgenet.com/framework/release_notes/2.2.5.html – Michael Kargl Dec 26 '13 at 14:31
1

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!

Robotman
  • 31
  • 2
0

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.

Nikita
  • 46
  • 4