Peyote asesino

does anybody know if there is a tutorial about control and simulate your own homemade robot i had made a lot of robots, and i'll like to control them using MRS so what do i need to do

Re: Microsoft Robotics - Hardware Configuration and Troubleshooting how to control my own hardware

Ben Axelrod

To control your physical robot, please read robotics tutorial 6.

To simulate your robot, please read simulation tutorial 5 and this page on the wiki: https://channel9.msdn.com/wiki/default.aspx/Channel9.SimulationImportTutorials






Re: Microsoft Robotics - Hardware Configuration and Troubleshooting how to control my own hardware

Omid K. Rad

That's interesting Peyote. To support your robot in MSRS you basically need to create the followings:

- Firmware: First you need to have a communications interface (usually serial) from your robotics hardware to a PC.

- Controller: Then create a simple API (preferably in managed code if possible) to talk to the firmware running on the robot hardware.

- Service: Write MSRS services to wrap that controller API and expose the operations in the service port. However to do this step you need to have some familiarity with the patterns for creating DSS services which you will learn by the tutorials. Also to take advantage of the concurrency features of CCR you can also implement the controller logic in a service. Once you hace your robot services ready you can start creating orchestration services to do AI and other cool tricks. (I think this part is the most interesting part)

So let us know if you managed to run your robots with MSRS. We¡¯re here to help Wink

Thanks





Re: Microsoft Robotics - Hardware Configuration and Troubleshooting how to control my own hardware

Avdhut Joshi

can u explain the things u have said above....also are there any samples available on the net frm which i can learn how to implement it.... i am new to MSRS and C#.....i can write firmware and API but dunno how to integrate in MSRS....

Plz Rep asap...




Re: Microsoft Robotics - Hardware Configuration and Troubleshooting how to control my own hardware

Avdhut Joshi

i have firmware and API ready for my robot...my API involving serial interfacing...how should i integrate them in MSRS....i have read all the tutorials and still not able to figure it out...need some help...




Re: Microsoft Robotics - Hardware Configuration and Troubleshooting how to control my own hardware

Omid K. Rad

OK, so if you¡¯re new to C# first try to create a simple controller class using a SerialPort object to send and receive data to the firmware. Make your controller class to expose an API for the basic operations that your firmware supports such as MoveForward, Stop, IsBumperPressed, ...

I think the fastest way to learn C# is to read the keywords and features in C# Programmer¡¯s Reference.
When you feel you are comfortable with C# and you have your controller ready, then start creating an MSRS service to wrap the controller. MSRS uses some of the new features of C# 2.0 such as Iterators, Anonymous methods and Generics that you need to be familiar with before creating MSRS services.