[Rock-dev] configuration of dynamic properties
Martin.Azkarate at esa.int
Martin.Azkarate at esa.int
Tue Jul 23 18:51:55 CEST 2013
Dear all,
I have a property in a component of the following defined structure:
struct CanParams
{
std::vector<int> CanId;
std::vector<std::string> Name;
std::vector<MotorType> Type;
}
with
enum MotorType
{
WHEEL_DRIVE,
WHEEL_STEER,
WHEEL_WALK,
etc.
}
In the .yml configuration file I set the values for CanParams structure as
follows:
--- name:default
can_parameters:
CanId: [1,10,11,12, etc. ]
Name: ["WHEEL_DRIVE_FL","WHEEL_DRIVE_FR","WHEEL_DRIVE_CL", etc. ]
Type: [WHEEL_DRIVE,WHEEL_DRIVE,WHEEL_DRIVE, etc. ]
num_nodes: 19
etc.
When applying this conf file it shows an error loading the .yml file,
precisely when loading the Name field. I don't know if the nomenclature I
am using is the right one, I have tried with single quotes, semicolon, etc
but nome seems to work. Attached an screenshot of the error.
Regards,
Martin Azkarate
ESA - European Space Agency
Spanish Trainee, TEC-MMA - Automation and Robotics Section
ESTEC - European Space research and TEchnology Centre
Keplerlaan 1, PO Box 299
NL-2200 AG Noordwijk, The Netherlands
Martin.Azkarate at esa.int | www.esa.int
Tel +31 71 565 3480 | Mob +31 650 625 564
This message and any attachments are intended for the use of the addressee or addressees only. The unauthorised disclosure, use, dissemination or copying (either in whole or in part) of its content is not permitted. If you received this message in error, please notify the sender and delete it from your system. Emails can be altered and their integrity cannot be guaranteed by the sender.
Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20130723/25af377f/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config file error.png
Type: application/octet-stream
Size: 153168 bytes
Desc: not available
Url : http://www.dfki.de/pipermail/rock-dev/attachments/20130723/25af377f/attachment-0001.obj
More information about the Rock-dev
mailing list