Content Archived

This content is no longer current.

Microsoft Robotics Studio and Lego Mindstorms NXT

Sign in to queue

The Discussion

  • User profile image
    Clint

    https://msdn.microsoft.com/en-us/library/cc998522.aspx

    "64-bit: Running services from VPL now calls VplHost32.exe which is compiled for 32-bit systems and hence force use of the Microsoft Windows-32-on-Windows-64 (WOW64) subsystem on 64-bit systems. Services that use Visual Simulation Environment or other services that require running in 32-bit mode now run seamlessly from VPL on 64-bit systems. "

    So I'm going to assume yes it can run 64bit but don't quote me on that please!

  • User profile image
    Bill

    How did you all get your XBOX 360 controller to work with your PC?  Did you buy the specal one?  Or is there a trick?  I downloaded the software for it, and had the hardward wizard find the drvers too seperately, and nothing seems to connect it.

  • User profile image
    Clint

    @Bill, the Wired controllers work straight out, wireless you need to get the little hub that plugs into the computer.

    http://www.xbox.com/en-US/hardware/x/xbox360wirelessgamingreceiver/

  • User profile image
    RNolan

    Question, I have a problem with running dsshost -port:50000 -tcpport:50001 -manifest:samples\Config\LEGO.NXT.Brick.manifest.xml I am forbidden http 403

  • User profile image
    Clint

    @RNolan Try adding localhost to "Local Intranet" in Internet Options -> security tab

  • User profile image
    Kee

    I am trying to use Xbox360 Controller to control one robot that I created. The robot has 2 separate motors, connected to a AX1500 dual channel high current motor controller board.

    The motor will turn on when it accepts an ASCII code like this : "!A00"

    How can I convert the value "1" sent from the Xbox360 controller to an ASCII code that will enable my motor?

    Thanks

  • User profile image
    Clint

    @vikram, not understanding your question.

  • User profile image
    vikram

    i am not having NXT brick device......i got one project on object tracking by matching the color......in that NXT com port is used.....i want to activate computer parallel port to switch on the laser if the color is matched......please help me.......

  • User profile image
    Adam Cox

    I purchased my NXT unit back in June 07 and received the 1.0 version of software, which was not compatible to my OS (Windows 2000).

    I am unable to source any upgrades to use my NXT with current OS (Vista 32).

    Please help.  Thanks.

    `Adam

  • User profile image
    Clint

    @adam Cox, sadly, this is up to Lego, not us.  based on http://en-us.kb.lego.com/ics/support/KBAnswer.asp?questionID=180 looks like you'll have to give them a call.

  • User profile image
    Sunil

    While using the code as in img in VPL I am getting the error "There is no input for value A".

    So how to solve the error??

    Please help me

  • User profile image
    Karunakar

    Hi!!...

    Username and password is asking in the Web Browser(Mozilla FireFox) when i run theabove VPL example....So am not able to overcome this problem...Can u please help me with this problem

  • User profile image
    Jake

    Im having the same problem as Karunakar. It will NOT accept my windows username and password.

  • User profile image
    Clint

    @Jake and @Karunakar, After talking with the author, I guess MSRS rewrote the LEGO NXT stuff.  This may have changed how stuff works.  This article is known working on version 1.5, past that, we don't know.

  • User profile image
    diiirk

    ^^^ must be an issue with firefox, when i ran the program in vpl, it went to firefox and refused to accept my pw. Changed my default browser to IE and its all good now...

  • User profile image
    sebastian

    Hello i was wondering if I can use the triggers of the x-360 contoller (which are touch sensative) and drive it like a tank.Please let me know if this is possible:

    left triger: Left track with sensitivity

    right triger: right track with sensitivity

    left bumper: backwards left track ( no sensitivity)

    right bumper: backwards right track (no sensitivity)

    Y button: Accesory mottor forward (no sensativity)

    A button: accesory mottor backwards (no senistivity)

    Please let me know if thuis is possible or not by contacting me at: sebiemil@yahoo.ca      Thanks!!!

    P.S. I have a wireless x-360 remote and lego mindstorms nxt 2.0 with a computer NOT capable of bluetooth. Can I still do this???

  • User profile image
    Clint

    @sebastian With computer, you sure can.

    straight xbox controller to lego mindstorm, no.

  • User profile image
    Clive

    Hi, I am new to lego Minstorms NXT 2.0, please excuse. I am using MS Robotics Develper Studio, but cannot find a service for the color sensor. Is there such a service

  • User profile image
    Clint

    @Clive, not sure, I think that is a newer sensor.  I'll try and find out for you

  • User profile image
    Brian Peek

    @LegoMan, I do believe the XInputController service requires a true 360 controller as it wraps the XInput API which is specific to 360 controller accessories.

  • User profile image
    LegoMan

    Hi, I'am trying to test the application but it doesnt work. From service menu I can see that the motors are ok and the bumper. Bumper works fine. The problem is that nothing happens when I tried to drive.

    I have Visual Studio 2008, MSRDS 2008 R2, Win Xp, Logitech Dual Action gamepad.

    Is it necessery to use xbox 360 controller? Is the problem my logitech?

    thanks,

  • User profile image
    demodraco

    planning to attempt to program a robot but so far cannot find a simple list of all the instructions to control it using vb.net could you possibly help?

  • User profile image
    Clint

    @demodraco with MSRS, this is as simple as it will get.  You could try netduino / Fez boards that run .NET Microframework or their is a Robotic Connection Stinger robot as well which is pretty fun and easy.

  • User profile image
    HIA

    I have a wired Xbox controller is this for wired?

  • User profile image
    Clint

    @HIA yes

  • User profile image
    Oddmar

    Hi Clint.
    I tried the example in VPL, works fine with a Lego Mindstorm and the xbox controller.
    But when i try to write a program in VS2010 C#, i use the 
    using drive = Microsoft.Robotics.Services.Sample.Lego.Nxt.Drive.Proxy;
    i dont see the function for the drive.SetDrivePower(req);
     do you know what i can do ?

  • User profile image
    Matthew S.

    I need help with programming the Lego Robot NXT 2.0 with commands like forward, backward, left, right commands in Visual Basic 2008 interface I created, I am fairly new to this, and wished I had more programming experience. This is quite a challenge because I am trying to find resources on the internet but I cannot find any template or tutorial that someone has developed. I saw this message board but I am still struggling with the code. I understand you can do it with the software that came with the robot but I want to be able to do this in visual basic. Please Help!! I would greatly appreciate it!

  • User profile image
    Danielle

    @Oddmar
    I too used VC# 2010 and noticed some differences like that. I'm currently writing an updated version of this article using MC#2010 and MRDS 2008 R3 that utilizes all the sensors. I suggest you use the following instead:
    //At the top of the code
    using drive = Microsoft.Robotics.Services.Drive

    //The partner service
    [Partner("drive", Contract=drive.Proxy.Contract.Identifier, CreationPolicy=PartnerCreationPolicy.UseExisting)]
    private drive.Proxy.DriveOperations _drivePort = new drive.Proxy.DriveOperations();

    //Down in the function
    drive.Proxy.SetDrivePower(req)

  • User profile image
    Adrian

    Lego Mindstorms NXT 2.0 $10YO?

  • User profile image
    Omar

    // Hello, I have the latest robotics studio but i cant find services for hitechnic gyro sensor. Where to get that and how to install it?
    // Are there any other resources or tutorials where i can learn the communication between visual basic and nxt?
    Thanks.
    Omar

  • User profile image
    Thomas

    I am also looking for a service for the hitechnic gyro sensor! Can't find one anywhere. Help is apprechiated.

  • User profile image
    Leandro Garcia

    Hello everyone!

    I have the LEGO Mindstorm 2.0 and I'd like to know where can I find some samples of coding C# with lego mindstorm API's.I intent to add the API's reference in visual studio 2010 and start programing my robot.Do you know where can I find some samples?I'm getting some dificults to find some material on internet.

    Thanks & Regards
    Leandro Garcia

  • User profile image
    Joshua

    Hey, I am having trouble getting my computer to read the next and then sync the program on it. I am running NXT software version 1.01 on my Windows 7 computer. Everytime I run it, it tries to get me to log into some account on the internet. Please help

  • User profile image
    Jim

    I'm doing this project with Visual Studio 2010 and MS Robotics 4.0. After adding XInputGamepad.Y2006.M09, XInputGamepad.Y2006.M09.Proxy, RoboticsCommon, and RoboticsCommon.Proxy dlls from the MS Robotics bin folder to the project References, the code has no errors. However, when running it fails and says

    *** Error creating service. Service type:http://schemas.microsoft.com/robotics/2006/09/xinputgamepad.html

    Any ideas?

  • User profile image
    dobus

    I haven't been able to get this working either.  Has anyone got this to work with robotics studio 4 and visual studio 2010?  If so, post source please Big Smile

  • User profile image
    Vahid

    Is it possible to explain me clearly How can I control NXT by C# programming?

  • User profile image
    Eric

    Any way to use the USB port and not Bluetooth?

  • User profile image
    nisa74

    i really learned alot

  • User profile image
    nisa74

    , nisa74 wrote

    i really learned alot

    owwww!!!!!!!!!!!!!!www u said alot

  • User profile image
    JC Solis

    I'm having problems with the bluetooth connection. Is there a way to do this with the USB connection?

  • User profile image
    kostek

    hi,
    i am having problem starting examples from RDS 2008 R3.
    The examples i tried are : "VplExamples\LEGO\MindSensorsCompass-FaceNorth" and "VplExamples\LEGO\UltrasonicExplorer". Program connects to lego brick. i get "beep" from it, but it is unable to connect to sensors (thats what i think is wrong).
    The error i am seeing is
    Error: I2C Communication Error System.InvalidOperationException: I2C Communication Error
    : http://www.w3.org/2003/05/soap-envelope:Receiver -> Fault

    I read that i should try starting it on port 0 so it will reload sensors so i tried and than got this error:
    None: ### SecurityForwarder:InboundFailure. Exception:No permissions found for this action: S-1-5-7 Get

    Did any of you face this kind of problem? I couldn't find solution for it even through i tried rly hard.

    I will appreciate any tips you could give me.

  • User profile image
    kostek

    I probaly should add that getting battery readings using \samples\VplExamples\LEGO\Battery was succefull. This is why i think it connects to brick succesfully

  • User profile image
    habib rebai

    please i want to ask you if there are platforms or robots ready in microsoft robotic studio because i want to work on it and if you can send me an exemple of pfe robtic already aplied on microsoft robotic studio

Add Your 2 Cents