Documentation

/NGOS

/Signals

/Shells

/Cmds

/Ctrl

/HALs

/Configs

/Params

/Behaviors

/DSL

/GPS

Next Chapter

The NG Configurations

Introduction

Different Controllers need to be able to have different configuration parameters. To allow this, the NGOS has two types of configuration parameters, global parameters and controller dependent parameters. Both can be used with the same commands and some Controllers share parameters with other ones if the parameter represents the same variable.

Global Configuration Parameters

The Global Configuration Parameters are the same for all possible Controllers. They represent global variables which can be only changed by the user. The parameters can be viewed with the command show globals. The value of the parameters can be changed using the command set <var> <val>.

The output of the show globals parameters looks similar to this:

Controller Dependent Parameters

Each Controller has associated Controller Dependent Parameters. Some of them are shared between controllers because they represent the same parameters, some are not. They represent configuration parameters used by the currently configured Controller and affect the closed-loop control algorithm implemented by that Controller. The parameters of the currently configured controller can be viewed with the command show conf.

The output of the show conf parameters may look similar to this:

How to use different configurations

The different configurations can be configured on the NG Shells. Each controller will have its own controller dependant configuration variables. Some of them are shared between controllers because they represent the same parameters, some are not. Switching to a Controller also switches to its associated controller dependent configuration parameters.

The needed Shell Commands

The Global Configuration Parameters can be viewed using the command show globals. The parameters of the Controller Dependent Parameters can be viewed with the command show conf after having choosen a controller using the command 'set controller <ctrl>'.

The command set controller <ctrl> configures the currently used closed-loop controller amd switches to its associated controller dependent configuration parameters.

The values of the parameters can be changed with the command set <var> <val>. For controller dependent integer parameters there's a second command called edit <var>.

The global and and controller dependent parameters can be stored with the command conf store [<slot>] and loaded with the command conf load [<slot>]. The commands always store global parameters, configured controller and all controller dependent variables in one slot.

Behavior triggered Configuration Change

There exists a behavior action which can change the configured controller. It is called ctrl.switch.conf(x). It can switch to the next or the previous configuration or to a specific one.

Documentation/Configs (last edited 2010-09-17 17:52:25 by AmirGuindehi)