Skip to main content Link Menu Expand (external link) Document Search Copy Copied

MapGauge

The MapGauge is used solely to display the VE, Advance, or AFR Target tables. Presently it only supports the primary table (where there are two - ve and advance).

Example:

<gauge>
    <name>vemap</name>
    <type>MapGauge</type>
    <x>50</x>
    <y>40</y>
    <w>950</w>
    <h>390</h>
    <fontsize>12</fontsize>
    <attribute>ve</attribute>
    <colours>blackblack</colours>
    <visible>1</visible>
</gauge>

Attribute Mandatory? Value Type Description
x Yes Integer The x coordinate of the bottom left of the map
y Yes Integer The y coordinate of the bottom left of the map
w Yes Integer The width of the map
h Yes Integer The height of the map
fontsize Yes Integer The size of the font to use for the numeric values of the cells
attribute Yes String Valid values are “ve”, “advance” or “afrtarget”. Specifies which of the three avaialable maps is to be displayed
colours Yes String Defines the colour to use for the values in the cells
visible No Integer 1 or 0 Defines the whether the map should initially be visible or not. There is not normally a reason to use 0 here.
showheatmap No Integer 1 or 0 Default 1. Defines whether the coloured heatmap should be drawn as a background.
showcursor No Integer 1 or 0 Default 1. Defines whether the real-time cursor showing the current cell position should be drawn with a tail showing recent history.
divideby No Integer Defines a value that each cell’s value will be divided by before being displayed. As AFR is an integer value as received from Speeduino, where for example 125 means 12.5, then divideby should be set to 10 for the AFR Target table. If not specified, no division occurs.
delta No Integer Some values in Speeduino use an offset so that unsigned integers can be used to . For example the Advance map uses a delta of -40 to all a range of values from 0 to 255 to represent crank angles of -40 to 225. For Advance you should specify -40 for delta although this could change in future speeduino releases.

Please note that the TPS load axis is not currently supported, and the MapTable gauge will always assume that the load axis is MAP (Manifold Pressure). This will be extended to support TPS in due course.