Yujin Robot for the Microsoft Robotics (MSRDS)

Yujin Robot
  1. Yujin's English Homepage

Required S/W
  1. Microsoft Robotics Developer Studio 2008 Express Edition
Install service files and source code about X-Bot
  1. YujinXBot_Install_MSRDS2008_Express.exe


  2. For the C# source code, refer below path
    1. C:\Users\...\Microsoft Robotics Dev Studio 2008 Express\HelloApps\Robots\Yujin\XBot
 


X-Bot is a developer robot supporting Microsoft Robotics.





It supports 15 sensors (3 bumper, 5 IR, 3 floor sensor, 3 button sensor, and a wheel-fallen sensor) and two encoders.



It also supports labtop holder that you can equip your laptop on the X-Bot.



X-Bot is connected from the laptop through serial port and you can use USB2Serial cable to connect the robot to the laptop or PC.




MSRDS Services for the X-Bot


X-Bot incldues five services as follows;





Configuration for the Brick service (You only need to chanage serial port number):





Simple driving using SimpleDashBoard:





Simple driving using "SetDrivePower":



Although "SetDriveSpeed", "RotateDegrees", and "DriveDistance" will be provided soon, you can develop your own logic for these services by using encorder data.

Simple VPL diagram for the Contact Sensors:





HardwareIdentifiers and names of sensors are as follows;
  1. 0: LeftBumper
  2. 1: FrontBumper
  3. 2: RightBumper
  4. 10: LeftIR
  5. 11: LeftFrontIR
  6. 12: FrontIR
  7. 13: RightFrontIR
  8. 14: RightIR
  9. 20: LeftFloorSensor
  10. 21: FrontFloorSensor
  11. 22: RightFloorSensor
  12. 30: PowerButtonOn
  13. 31: ModeButtonOn
  14. 32: StartButtonOn
  15. 33: WheelFallen


Simple VPL diagram for the Encoder Servoce:





Encoder value for the one rotation of wheel is 600. And hardwareIdentifiers of each encoders are as follows;
  1. 40: LeftEncoder
  2. 41: RightEncoder


Simple VPL diagram for the LED services:





For the LED1 refer below image and you can use string to set each button such as "A", "B", "C", "D", "E", "PLAY", "TURBO", and "ERROR".





For the LED2 refer below image and you can use string to set each segment such as "A", "B", "C", "D", "E", "F", and "G". Also you have to set the side of segment.