logo logo
Home arrow Robotics Studio... arrow Robotics Developer Studio Resources and Howto arrow ARCOS Serial Port Configuration
Saturday, 11 February 2012
 
 
Main Menu
Home
Conscious Machines...
AI Techniques...
Neuroscience...
Researchers...
Publications...
Reviews...
MC Bibliography
Robotics Studio...
Forums...
Blog...
Frontpage
Upcoming Events
22.Feb. 2012

CogSys 2012
Vienna, Austria
04.Apr. 2012

TSC 2012
Tucson, Arizona
17.May. 2012

EAIS 2012
Madrid, Spain
05.Jun. 2012

Cognition & Consciousness
Menorca. Spain
02.Jul. 2012

ASSC 16
Brighton, UK
02.Jul. 2012

Revisiting Turing and his Test
Birmingham, UK
31.Oct. 2012

BICA 2012
Palermo. Italy
Tag Cloud
Associations Books Conferences Conscious Conscious Machines Consciousness Developer Documentación Documentation Español Machine Machine Consciousness Machines Neuroscience Positions Publications Research Researchers Reviews Robotics Robots Spanish Studio VPL
Spotlight
More
Reader's Preferred
MCexperts List
FAQs
Glossary
Site Map
ARCOS Serial Port Configuration Print E-mail
Written by Raúl Arrabales Moreno   
Wednesday, 05 September 2007

How to setup the serial port to communicate with an ARCOS robot?

The concrete case I am describing here is a MobileRobots Pioneer 3 DX robot, but I think this applies to any ARCOS based robot.

Interfacing with the Pioneer 3 DX hardware via Microsoft Robotics Studio requires some configuration. For instance, the first problem I faced was to setup the correct serial port. Some P3 DX setups include an embedded computer; however that is not my case. Instead, I am using a regular laptop connected to the serial port of the robot (actually using a USB to RS232 adaptor). This means that the laptop will communicate with the robot through com3, com4 or whatever comX that Windows driver assigns to the USB to RS232 adaptor. For initial testing I was using the Robotics Tutorial 5 included in the Robotics Studio distribution.

In my case, the port was COM4, so how could I tell MSRS to use laptop’s COM4 port to communicate with the robot? I asked that question and this is the answer from Microsoft:

You will want to check the DriverState section and adjust the connection settings...

<ArcosCoreState xmlns: xsd="http://www.w3.org/2001/XMLSchema" xmlns: xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xw/2005/12/arcoscore.html">
<DriverState>
<ComPort>COM4</ComPort>
<BaudRate>0</BaudRate>
</DriverState>
</ArcosCoreState>

You can create it as follows:
1. Run VPL
2. Drag the "Arcos Core" service on to the pallette
3. In the properties tab, change Configuration to "Set initial configuration"
4. Update the DriverState section with the appropriate config
5. Save the diagram
6. Find the ArcosCore.Config.xml in the directory where you saved the diagram and copy it to [1], making sure to change the name to "ArcosCoreService.xml".
7. Run your service again.

[1] C:\Microsoft Robotics Studio 1.5 (CTP May 2007)\store\ArcosCoreService.xml

Take into account that this applies to Microsot Robotics Studio 1.5 CTP May 2007 (and I have done it with the official 1.5 release as well). I don’t know whether or not this will work for future releases.

The ArcosCoreService.xml file contains more configuration settings that can be altered either using the VPL or editing the XML file directly.

 The following is an example of the ArcosCoreService.xml file:

<?xml version="1.0" encoding="utf-8" ?>

- <ArcosCoreState xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xw/2005/12/arcoscore.html">
- <DriverState>
  <ComPort>COM3</ComPort>
  <BaudRate>0</BaudRate>
  </DriverState>
- <Information>
  <TimeStamp>2007-06-13T19:13:47.7656250+02:00</TimeStamp>
  <Moving>false</Moving>
  <XPos>0</XPos>
  <YPos>0</YPos>
  <ThPos>0</ThPos>
  <LVel>0</LVel>
  <RVel>0</RVel>
  <Battery>0</Battery>
  <StallAndBumpers>LeftWheelStall</StallAndBumpers>
  <Control>0</Control>
  <Flags>MotorsEnabled</Flags>
  <Compass>0</Compass>
  <SONAR />
  <SonarAngles />
  <Grip>0</Grip>
  <AnPort>0</AnPort>
  <Analog>0</Analog>
  <DigIn>0</DigIn>
  <DigOut>0</DigOut>
  <BatteryX10>0</BatteryX10>
  </Information>
- <Config>
  <TimeStamp>2007-06-13T19:13:47.7812500+02:00</TimeStamp>
  <RobotType />
  <SubType />
  <SerialNum />
  <Version />
  <RotVelTop>0</RotVelTop>
  <TransVelTop>0</TransVelTop>
  <RotAccTop>0</RotAccTop>
  <TransAccTop>0</TransAccTop>
  <PwmMax>0</PwmMax>
  <Name />
  <Sip>0</Sip>
  <HostBaud>rate9k6</HostBaud>
  <AuxBaud>rate9k6</AuxBaud>
  <Gripper>0</Gripper>
  <FrontSonar>0</FrontSonar>
  <RearSonar>0</RearSonar>
  <LowBattery>0</LowBattery>
  <RevCount>0</RevCount>
  <WatchDog>0</WatchDog>
  <P2mpacs>0</P2mpacs>
  <StallVal>0</StallVal>
  <StallCount>0</StallCount>
  <JoyVel>0</JoyVel>
  <JoyRVel>0</JoyRVel>
  <RotVelMax>0</RotVelMax>
  <TransVelMax>0</TransVelMax>
  <RotAcc>0</RotAcc>
  <RotDecel>0</RotDecel>
  <RotKP>0</RotKP>
  <RotKV>0</RotKV>
  <RotKI>0</RotKI>
  <TransAcc>0</TransAcc>
  <TransDecel>0</TransDecel>
  <TransKP>0</TransKP>
  <TransKV>0</TransKV>
  <TransKI>0</TransKI>
  <FrontBumps>0</FrontBumps>
  <RearBumps>0</RearBumps>
  <Charger>0</Charger>
  <SonarCycle>0</SonarCycle>
  <AutoBaud>0</AutoBaud>
  <HasGyro>0</HasGyro>
  <DriftFactor>0</DriftFactor>
  <Aux2Baud>rate9k6</Aux2Baud>
  <Aux3Baud>rate9k6</Aux3Baud>
  <TicksMM>0</TicksMM>
  </Config>
- <Encoder>
  <TimeStamp>2007-06-13T19:13:47.7812500+02:00</TimeStamp>
  <Left>0</Left>
  <Right>0</Right>
  </Encoder>
- <Gyro>
  <TimeStamp>2007-06-13T19:13:47.7812500+02:00</TimeStamp>
  <Rate />
  <Temperature />
  </Gyro>
- <IO>
  <TimeStamp>2007-06-13T19:13:47.7812500+02:00</TimeStamp>
  <DigIn>0</DigIn>
  <FrontBump>0</FrontBump>
  <RearBump>0</RearBump>
  <IR>0</IR>
  <DigOut>0</DigOut>
  <AD />
  <Battery>0</Battery>
  </IO>
- <Gripper>
  <TimeStamp>2007-06-13T19:13:47.7812500+02:00</TimeStamp>
  <HasGripper>None</HasGripper>
  <GripState>GripLimit</GripState>
  <GraspTime>0</GraspTime>
  </Gripper>
  </ArcosCoreState>

Add as favourites (232) | Quote this article on your site | Views: 8254

  Comments (1)
RSS comments
 1 ArcosCoreService.xml file
Written by This e-mail address is being protected from spam bots, you need JavaScript enabled to view it website, on 05-09-2007 15:00
When I upgraded from 1.5 CTP May to the official MSRS 1.5 release I had to copy the ArcosCoreService.xml file from \store to (MSRS root directory).

Only registered users can write comments.
Please login or register.


Related Items:

  1. Postdoctoral positions in Bioinspired Social Learning Mechanisms for Human Rob
  2. Postdoctoral Fellowship in neural engineering (Brain-Computer Interface) at CE
  3. Jobs: Two Chair positions for new Centre for Computational Neuroscience and Co
  4. Phd studentship available in computational neuroscience and consciousness
  5. Postdoc position in San Diego
  6. PhD Scholarship in Cognitive Science (Spain)
  7. Postdoctoral opening in computational neuroscience - mathematical biology
  8. Open PhD position in Computational Neuroscience of Sensorimotor learning
  9. EPSRC studentship in Human and Machine Colour Vision
  10. Three open positions for computer scientists - biologists
Last Updated ( Wednesday, 05 September 2007 )
 





Lost Password?
No account yet? Register
 Conscious Robots RSS FeedConscious Robots RSS Feed

Find us on Facebook

Follow us on TwitterFollow us on twitter
Spotlight

Machine Consciousness Bibliography Database

 

ConsScale
The Cognitive Machine Consciousness Scale

 
Categories
Last Posts in Forum
 
CR
miel continental