Welcome to the MindSqualls site!
MindSqualls is a .Net library for remote controlling your LEGO MINDSTORMS NXT or
NXT 2.0 robot ... from your PC ... via a bluetooth or USB connection.
It is written in C#, but it can be used with any of the .Net programming languages.
Compiles under the Compact Framework i.e. it can run from a PDA or mobile.
MindSqualls offers full support for all "direct commands". Surport for the NXT 2.0
Color sensor. Support of the HiTechnic Compas sensor, the HiTechnic Color sensor,
and the HiTechnic NXT Acceleration / Tilt sensor.
Completely free of charge. With full source code. And well documented.
Latest news
5 September 2011: MindSqualls v2.2 is released
Features:
- Optimized code for reading the Ultrasonic sensor (and other I2C based sensors like
e.g. the HiTechnic sensors). 25% more efficient!
- Speed optimization for USB.
- Added method for sending a byte-array to the NXT via MessageWrite().
- Bugfixes for USB.
- Bugfixes for MotorControl.
- General bugfixes.
MindSqualls - Sample code
// Create a NXT brick,
// and use Bluetooth on COM40 to communicate with it.
NxtBrick brick = new NxtBrick(NxtCommLinkType.Bluetooth, 40);
// Attach motors to port B and C on the NXT.
brick.MotorB = new NxtMotor();
brick.MotorC = new NxtMotor();
// Connect to the NXT.
brick.Connect();
// Run the motors at 75% power, for a 3600 degree run.
brick.MotorB.Run(75, 3600);
brick.MotorC.Run(75, 3600);
// Disconnect from the NXT.
brick.Disconnect();
|