Categories
DSS manifest lego mindstorm NXT MRDS robotics

Basic Controls of Lego Mindstorm NXT 2.0

So after the past two days of trying countless tutorials on the web, I decided to sift through the Microsoft articles to see if I could understand their code, and what happened? Success.


I managed to look at the Drive by wire tutorial on Microsoft (http://msdn.microsoft.com/en-us/library/bb483053.aspx).


Basically I first created a DSS Service 4.0 in VS2010, added the partners of the Lego NXT brick (very basic ones, just the Drive Operation and Brick basically) – made sure to select Add Notification Port and then built the solution. Then opened it up in DSS Manifest Editor and followed the blog here http://blogs.gokulnath.com/default.aspx#a4831ceeb-722c-4872-8d31-275b773c9e8a to edit and set up my Manifest file.


Next, I used Microsofts Drive By Wire Tutorial, which is very clever as you create an abstract class that can be then used with any Manifest file that implements the required services, so if your Lego Robot breaks – you can easily use the simulated environment to showcase your skills.


Any ways, I now have a moving robot that can be controlled by bluetooth and simple up, down, left, right and stop commands.


I have accomplished something today. Time for bed.

1 reply on “Basic Controls of Lego Mindstorm NXT 2.0”

Leave a Reply