Rotator Control
{displayHeading}° {#if hasTarget && activeTargetHeading !== null}
→ {activeTargetHeading}°
{/if}
↺
■
↻
e.key === 'Enter' && handleCompassClick(e)} role="button" tabindex="0" aria-label="Click to rotate antenna">
{#if ultrabeamDirection === 1 || ultrabeamDirection === 2}
{/if}
{#if ultrabeamDirection === 0}
{/if} {#if ultrabeamDirection === 1}
{/if} {#if ultrabeamDirection === 2}
{/if}
{#if hasTarget && activeTargetHeading !== null}
{/if}
N
E
S
W
{#each [45,135,225,315] as angle} {@const x = 150 + 125 * Math.sin(angle * Math.PI / 180)} {@const y = 150 - 125 * Math.cos(angle * Math.PI / 180)}
{angle}°
{/each}
setDirection(0)}>Normal
setDirection(1)}>180°
setDirection(2)}>Bi-Dir