Raúl
Moderator
 Moderator
| Posts: 590 |  | Karma: 10
|
Re:Pioneer P3-AT - 2010/05/05 17:44
I don't think you necessarily need to go through all the services code changing the variables related to serial port communications. If I remember correctly, it is saved in the service state (and it can be persisted between executions in a XML file).
When you edit the serial com port in VPL the XML file is created, but I think you need to move/copy that file to the path the service will be looking for its persisted state file. The file is called something like this: ArcosCoreService.xml (I think it is created in the VPL project directory), then you need to move it to RDS home directory for instance. It looks something like this:
| Code: | <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>
|
Raúl Arrabales Moreno. conscious-robots.com/raul |