Skip to content

Rot Linear

The Rot Linear shows the rate of turn (ROT) of the vessel on a straight strip: a bar grows from zero in the middle to the rate of turn, to the right for a turn to starboard and to the left for a turn to port. It is found in the Maritime - OpenBridge section of the Perspective Component Palette as Rot Linear.

Rot Linear at 20°/min with a readout

It is the rate-of-turn partner of the Compass Flat and the straight form of the track bar of the Rate Of Turn. It is one of the maritime instruments; see Maritime Instruments — Common Features. It has no state, setpoint or advice zones.

A Rot Linear dropped from the palette has no bar, because no rate of turn is set:

Rot Linear with default properties

Set hasRateOfTurnDegreesPerMinute to true and bind rateOfTurnDegreesPerMinute to the rate of turn in degrees per minute; positive is a turn to starboard. The bar ends in a needle at the value.

Value
20 (starboard) Turn to starboard
-30 (port) Turn to port
120 (beyond rotMaxValue) The bar stops at the end of the scale

The Rot Linear has no deprecated rotationsPerMinute: until hasRateOfTurnDegreesPerMinute is true, no bar is drawn.

Name Description Property Type
hasRateOfTurnDegreesPerMinute Use rateOfTurnDegreesPerMinute. Default false. value
rateOfTurnDegreesPerMinute Rate of turn in degrees per minute; positive is starboard. Only shown when hasRateOfTurnDegreesPerMinute is true. value

rotMaxValue is the end of the scale to each side, in degrees per minute; a larger rate of turn stops at the end. The scale is labelled at zero, half and the full range. tickInterval is the distance between the small tickmarks.

Scale
rotMaxValue = 30 Scale to 30°/min
tickInterval = 10 A tickmark every 10°/min

Note: The labels at the ends of the scale (-90 and 90 by default) are cut off by the edges of the strip; only a sliver of them is visible.

Name Description Property Type
rotMaxValue End of the scale to each side, in degrees per minute. Default 90. value
tickInterval Degrees per minute between the small tickmarks. Default 5. value

priority works as described in Priority: with enhanced the bar is drawn in the enhanced colour. With rotPortStarboard set to true, the bar is green for a turn to starboard and red for a turn to port, whatever the priority.

Colour
priority = enhanced Enhanced bar
rotPortStarboard, starboard Bar in the starboard colour
rotPortStarboard, port Bar in the port colour
Name Description Property Type
rotPortStarboard Colour the bar by the direction of the turn. Default false. value

Set hasReadout to true to show the rate of turn as a number under the strip. label and unit are written under the number, and fractionDigits sets the number of decimals. The readout shows a dash while no rate of turn is set.

Readout
hasReadout = true Rot Linear with a readout
label and unit cleared Readout, number only

Note: A new Rot Linear has label ROT and unit DEG/min; clear them to show the number only. With the readout on, the strip moves up: give the box more height (the images use 400 × 240) or the labels above the strip are cut off.

Name Description Property Type
hasReadout Show the rate of turn as a number under the strip. Default false. value
label Text under the number. Default ROT. Only shown when hasReadout is true. value
unit Unit after the label. Default DEG/min. Only shown when hasReadout is true. value
fractionDigits Number of decimals. Default 0. Only shown when hasReadout is true. value

The strip is as wide as the component’s box, and its height follows from its width. The labels above the strip need room inside the box, or they are cut off: keep the height of the box at about a third of its width — a new component is 512 × 170. The blue frame is the component’s box:

Box
Too low (400 × 100) Labels cut off in a low box
Higher than needed (400 × 260) Strip in a high box

These work in the same way on every maritime instrument, and are described in Maritime Instruments — Common Features:

The Rot Linear has no component events of its own.

Example 1 — Rate of Turn Under a Heading Strip

Section titled “Example 1 — Rate of Turn Under a Heading Strip”
  1. Drop a Compass Flat and, under it, a Rot Linear, both 600 × 200.
  2. On the Rot Linear, set hasRateOfTurnDegreesPerMinute to true and bind rateOfTurnDegreesPerMinute to [default]Nav/ROT.
  3. Set rotMaxValue to 60 and rotPortStarboard to true.

Built on the OpenBridge Design System