Citation: combined PFD+MFD view, hardware AP look, FMS build-out, fluid easing
- CitDuo: PFD + MFD side-by-side on one tablet screen (new 'PFD+MFD' tab, first in the Citation profile) — the two pilot DU-870 tubes at once. - Autopilot restyled to the real Primus FGC: machined dark bezel w/ corner screws, engraved square keys with green annunciator triangles (lit when active), ridged pitch thumbwheel. - FMS more complete per the FMS manual: DEP/ARR now does the two-step procedure→transition pick (NO TRANS / RWxx / named transitions), VNAV split into CLB/CRZ/DES pages (trans-alt, speed/alt limits, cruise alt, target speed, VPA) via PREV/NEXT, and a new PROG page (TO/DEST distance-to-go + ETE at GS). Page keys: FPLN/LEGS/DEP-ARR/DIR-INTC/VNAV/PROG/MENU. - Fluidity: Citation PFD/MFD/EICAS now use the same rAF time-constant easing as the G1000 (useEased/useEasedAngle) for attitude, speed/alt/VS tapes, HSI, compass, map ownship and N1/ITT gauges — smooth 60 fps instead of stepping. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import React, { useState, useEffect, useRef } from 'react';
|
||||
import { num } from '../../api/useXplane.js';
|
||||
import { useEased, useEasedAngle } from '../../api/ease.js';
|
||||
|
||||
// ============================================================================
|
||||
// Citation X — Multi-Function Display (Honeywell Primus 2000 arc map).
|
||||
@@ -35,7 +36,11 @@ export default function CitMFD({ xp }) {
|
||||
const etRun = useRef(false);
|
||||
useEffect(() => { const id = setInterval(() => etRun.current && setEt((t) => t + 1), 1000); return () => clearInterval(id); }, []);
|
||||
|
||||
const lat = num(V.lat), lon = num(V.lon), hdg = num(V.heading), trk = num(V.track);
|
||||
// smooth ownship + compass (same rAF glide as the G1000 map)
|
||||
const lat = useEased(num(V.lat), 0.14);
|
||||
const lon = useEased(num(V.lon), 0.14);
|
||||
const hdg = useEasedAngle(num(V.heading), 0.10);
|
||||
const trk = num(V.track);
|
||||
// arc map geometry: ownship near bottom, ~120° forward arc
|
||||
const W = 760, H = 760, cx = W / 2, cy = 600, R = 470; // compass radius
|
||||
const pxPerNm = R / rng;
|
||||
|
||||
Reference in New Issue
Block a user