logo logo
Home arrow Forums...
Tuesday, 07 October 2008
 
 
English English  Español Español  
Tag Cloud
Architectures Artificial Associations Books Brain Conscious Consciousness Forums Howto Machine Machine Consciousness Machines Microsoft Neuroscience Projects Publications Research Researchers Reviews Robot Robotics Robots Services Studio
Conscious-Robots.com Forum  


nalaregeork
User

Fresh Boarder
Posts: 1
graphgraph
Karma: 0  
Extensibility - 2007/09/22 20:03 I am really new to this MS product and it looks like it has some potential. However I wonder if it's ease of use might pose limitations on it too.
I wouldn't mind being able to use it but I don't know that the precanned routines can be extended too easily.
Lets say I chose the Parallax device (BOE board) but I don't need the robotics kit instead I want to control a kitchen appliance. I can't figure out how to add an interface for a new feature. What if I want to access a device via I2C how do I develop that. I might want to use that so I could use fewer pins on the Basic Stamp device and control more external devices with one controller.
Well these are some of the issues I see and yes I am examining the source code samples which has the platforms and the Stamp is one of the sample. Still I am having issues figuring out how this can work. Is there some option that lets you interface with the pbasic code that you would normally write to add such functionality.
Anyone got any clues or suggestions for me...
  The administrator has disabled public write access. Please, register to participate in the forum.
Raúl
Moderator

Moderator
Posts: 388
graph
Karma: 6  
Re:Extensibility - 2007/09/24 18:02 I don’t think ‘un-extensibility’ is a tradeoff you have to pay for ease of use in this case. The Microsoft Robotics Studio is a development platform that offers you different components, and it is up to you which ones to use (or combine).

As I have read about the ease of use I was immediately thinking about the VPL (Visual Programming Language), which I think is a really awesome tool if you don’t like to use conventional programming or you just want to develop a relatively simply application within minutes. However, you can write your own services by writing .NET code (usually C#).

So back to the core of your question, extensibility, I think the MSRS team has done a good job in this regard. You always can choose between using pre-existing services or use your own ones. Anyhow, the (good) use of generic contracts can take extensibility (and interoperability) to the next level. I think the key to extensibility is reusability. If you are writing code for a differential drive robot base, this very same code should be valid for any hardware that implements a differential drive. For that reason, it is wise to use a generic contract for the differential drive service. That allows you code to be written independently of the hardware that will ultimately do the physical work. Have a look to the latest tutorials about writing and using generic contracts [1].

Additionally, you can use exactly the same code both for the real robot and for the simulation (the Visual Simulation Environment is another component that comes with MSRS).

As you have mentioned Parallax, I know there is a Boe-Bot kit for Microsoft Robotics Studio [2], which might be of interest for you. I am currently working with ARCOS based robots, so I am afraid that I can’t be of much help regarding the BOE board. However, I’ve seen some related threads in the MSRS Hardware forum [3,4]

About the BasicStamp device, this is an answer by George from MSRS to the question of interfacing with / or executing code in the Basic Stamp [4]:

Hi, unfortanutely there is no such C# translator. The BasiStamp processor is very constrained and the C# language targets IL (intermediate language) that cant be trivially targeted to the boebot.

If you want autonomous robots with boebot + MSRS, then you can take a CE device, like a cellphone, wire it ontop of the boebot and have it communicate with the boebot over bluetooth. The Wimo bot does this with MSRS running in the CE cellphone, talking over bluetooth to lego NXT, etc


So, maybe using a .NET compact framework device could be a possible solution for you to analyze… The MSRS runtime is also available for .NET compact framework.

I guess that other way to interface with the pbasic code is to write your own services that talk to the robot API (if someone hasn’t done it already). And then, you can write whatever application you like that relies on the basic services that interface with the BOE board.

Hope this helps..

[1] http://www.conscious-robots.com/en/robotics-studio/robotics-studio-howto/how-to-create-a-generic- con-2.html
[2] http://www.parallax.com/html_pages/products/robo/msrobostudio.asp
[3] http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1675710&SiteID=1
[4] http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1876544&SiteID=1
Raúl Arrabales Moreno. conscious-robots.com/raul
  The administrator has disabled public write access. Please, register to participate in the forum.





Lost Password?
No account yet? Register
Last Posts in Forum
Last comments
My review of Conscious Machines
Review of the book ‘The Co...
23/09/08 12:32 More...
By Raúl

Re: How do i use this in a simulated rob
Hi, let me answer...
12/08/08 14:46 More...
By Raúl

How do i use this in a simulated robot?
I\'m entirely new ...
10/08/08 16:30 More...
By carlcs

How do i use this in a simulated robot?
I\'m entirely new ...
10/08/08 16:29 More...
By carlcs

Foro de Robotics Studio en Español
Hola sutaro, he copiado...
17/07/08 14:32 More...
By Raúl

fallo de ejecución:Unhandled within caus
Hola a todos, es ...
17/07/08 13:03 More...
By sutaro

Amazed Challenge 2
Good news for those of you who missed t...
03/07/08 11:21 More...
By Raúl

Poster Session Pictures
Some pictures of the poster sessio...
08/04/08 13:17 More...
By Raúl

Final Announcement and Conference Overvi
Final Announcemen...
07/02/08 12:45 More...
By Raúl

Discussion about test for consciousness
More information a...
29/01/08 15:01 More...
By Raúl

 
Top! Top!