locked
Getting started with iRobot Create and MRDS RRS feed

  • Question

  • I am struggling to get going with MRDS and an iRobot Create. I am trying to work through the tutorials so I get some basic idea of how the system is supposed to work. So far I have got through tutorial #1 and have not been able to make an application to turn the motors on. Here are some specific questions:

    - Why, each time I run an application, does it come up with incorrect COM port and bluetooth adapter information? How can I get it to initialize correctly?

    - In order for MRDS and Create to sync up with Bluetooth it seems to be necessary to cycle power to the Create. What am I doing wrong?

    - I'm following the directions as well as I can for Tutorial 2, which seems to turn on the motors when a switch press is detected. Instead all I get is an error. What am I doing wrong?

    - How can I write an application which does several things concurrently - for example, moving forward until a switch is pressed and then changing direction; blinking LEDs when another switch is pressed and so on?

    General comment: This is a very user-hostile system for people like me who are trying to get started. Once I figure this stuff out I will write a series of tutorials specifically designed for the Create. But in the meantime I am stuck. Any guidance would be most appreciated. I am trying to develop a robotics club for my high school students, but I need to get the damn thing to work first.

    Sunday, April 17, 2011 6:01 AM

Answers

  • Hi,

    I have never use a Create with bluetooth, but I could give you some general advices on RDS.

    RDS (DSS) is a service oriented software, so it's very modular but totally not "plug and play". The common use case is to associate one service to a robot part, for example a service for the motor, a service for the bumpers, a service for the camera, ... With bluetooth or wifi communication, there is usually an additional "brick" or "central" service that handles the communication.

    So each time you want to "run" a RDS application, you have to specify which services will be run, their partnerships and eventually their initial states. This is done with a manifest XML file (for service definitions and partnerships) and several initial state XML files. In you particular case, you certainly have to edit the initial state of the communication service with the correct bluetooth information.

    Concurrency (CCR) is the core of RDS so it's quite easy to write a parallel program.

    To summarize, RDS is made with these two core softwares, CCR (concurrency) and DSS (service), that are not reserved to the robotics (for example, myspace website data layer is done with CCR), that are not easy to understand, but it's the minimum requirement to make things working in RDS.

    Regards,

    Vincent


    http://www.simplysim.net/
    Tuesday, May 3, 2011 6:34 AM

All replies

  • Hi,

    I have never use a Create with bluetooth, but I could give you some general advices on RDS.

    RDS (DSS) is a service oriented software, so it's very modular but totally not "plug and play". The common use case is to associate one service to a robot part, for example a service for the motor, a service for the bumpers, a service for the camera, ... With bluetooth or wifi communication, there is usually an additional "brick" or "central" service that handles the communication.

    So each time you want to "run" a RDS application, you have to specify which services will be run, their partnerships and eventually their initial states. This is done with a manifest XML file (for service definitions and partnerships) and several initial state XML files. In you particular case, you certainly have to edit the initial state of the communication service with the correct bluetooth information.

    Concurrency (CCR) is the core of RDS so it's quite easy to write a parallel program.

    To summarize, RDS is made with these two core softwares, CCR (concurrency) and DSS (service), that are not reserved to the robotics (for example, myspace website data layer is done with CCR), that are not easy to understand, but it's the minimum requirement to make things working in RDS.

    Regards,

    Vincent


    http://www.simplysim.net/
    Tuesday, May 3, 2011 6:34 AM
  • A good question to ask yourself. It may be stupid, but ask it anyway. "Do I have a BAM bluetooth or equivalent hooked up to the Create? and on what port?

    This is another accessory to purchase to ADD to your Create to give it Blue tooth capabilities.  Correct me, Microsoft, if I am wrong. This is MY understanding. I am a NUB on this stuff also.

    Mel


    • Edited by yhmmc Sunday, March 25, 2012 3:12 AM
    Sunday, March 25, 2012 3:10 AM