Hello, VideoRay

Workflow - Signal Mapper

Testing Digital Signal Scaling

To test a signal that is fully mapped and scaled, open the Signal Viewer page in the Greensea Workspace. Select the Output Channel (for example, OPENMNGR_DAQ_CMD) and highlight the output signal (for example, U_DAQ_JOY_X) that is to be tested. Verify that the output is no longer "true" or "false" but "0" or "100".

Scaling a Signal in Signal Mapper

Once a signal mapping has been generated, the signal can be scaled. To enable scaling, click "ADVANCED VIEW". This will bring up the transform, input min, deadband low, deadband high, input max, output min, output null and output max fields in addition to the basic view fields. The advanced fields will automatically populate the DUAL_LINEAR transform. For example DUAL_LINEAR(0,0,0,1,0,0,100) corresponds to an input min = 0, deadband low =0, deadband high = 0, input max = 1, output min = 0, output null = 0, output max = 100.

Mapping a New Signal in Signal Mapper

To add a signal map, navigate to the signals (and plotting) screen and select the Signal View tab. Select the signal to be scaled. For example, a UI using a joystick may have an axial thrust signal. On the signal page, locate the channel (in this example it is JOYSTICK_STAT) and use the joystick to simulate the axial thrust. the output signal voltage measurement will display in the corresponding signal box. This value is mapped for axial vehicle motion. There are input and output signals and channels designated to hold the the values coming in and set.

What is a Signal Profile?

Profiles are groups of signal maps that may be activated or deactivated together. Profiles are (de)activated by publishing a digital pcomms signal on LCM channel "BALEFIRE_SIGNAL_MAP_CMD". The signal name should be "ACTIVATE_PROFILE(<profile>)" where <profile> is the name of the profile whose status should be changed. If the value of the digital signal is true the profile in question will be activated, if the value is false, the profile will be deactivated.

Signal Mapper Configuration

The Signal Mapper maintains its definitions of signal maps in a configuration file. While operators may edit this file directly (when the Signal Mapper application is not running) it is preferred they use the provided facilities in the workspace to edit the Signal Mapper. A sample signal map definition is listed below:

 

Subscribe to RSS - Workflow - Signal Mapper