orca-robotics INTRODUCTION Overview Download and Install Quick Start Documentation Publications REPOSITORY Interfaces Components Libraries Utilities Software Map DEVELOPER Tutorials Examples Dev Guide Dashboard Wiki login/pass: orca/orca PEOPLE Contributors Users Project Download Mailing lists
|
Def2CfgConverts from component definition file to component configuration file.
More... |
$ def2cfg <.def file> <.cfg file> [--verbose]
File name convention: for component.def
, create component.cfg
# # Component Configuration # ----------------------- # # Format: # DefaultComponentTag=DefTestInput (REQUIRED) # DefaultComponentEndpoints=DefTestInput (optional) # Component.Comment.1=Line 1 of comments about this component (optional) # Component.Comment.2=Line 2 of comments about this component (optional) # Note: Any number of comment lines can be used, just keep incrementing the number. DefaultComponentTag=DefTestInput DefaultComponentEndpoints= Component.Comment.1=Line 1 of comments about this component Component.Comment.2=Line 2 of comments about this component # Provided Interfaces # ------------------- # # Format: # Provides.<InterfaceTag>.Type=<type> (REQUIRED) # Provides.<InterfaceTag>.DefaultName=<name> (optional) Provides.Laser.Type=LaserScanner2d Provides.Laser.DefaultName=laser Provides.Platform2d.Type=Odometry2d # Required Interfaces # ------------------- # # Format 1 : Direct Proxy # Requires.<InterfaceTag>.Type=<type> (REQUIRED) # Requires.<InterfaceTag>.DefaultProxy=<name>:<endpoint> (optional) Requires.Interface1.Type=Odometry2d Requires.Interface1.DefaultProxy=odometry2d:tcp -h localhost -p 15000 # # Format 2 : Indirect Proxy # Requires.<InterfaceTag>.Type=<type> (REQUIRED) # Requires.<InterfaceTag>.DefaultProxy=<name>@<platf>/<comp> (optional) Requires.Interface2.Type=Odometry2d Requires.Interface2.DefaultProxy=odometry2d@local/odometry2d # # Config Parameters # ----------------- # # Format: # Config.<ParamTag>.Default=xxx (REQUIRED) # Config.<ParamTag>.Comment=xxx (optional) # Config.<ParamTag>.Type=xxx (optional) # Config.<ParamTag>.External=xxx (optional) Config.Max.Default=default value Config.Max.Comment=The max blah Config.Max.Type=string # # This syntax is OBSOLETE, use ExternalConfig tag # Config.Max.External=0 Config.Min.Default=another default value # # This syntax is OBSOLETE, use ExternalConfig tag # Config.External.One.Two.Default=another default value Config.External.One.Two.External=1 # This is the new syntax for external config parameters ExternalConfig.External.Avg.Default=99
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)