pub fn build_app(
trajectory: Trajectory,
config: ViewerConfig,
receiver: Option<Receiver<ViewerCommand>>,
readiness: Arc<ViewerReadiness>,
snapshot: Arc<Mutex<ViewerSnapshot>>,
) -> Apppub fn build_app(
trajectory: Trajectory,
config: ViewerConfig,
receiver: Option<Receiver<ViewerCommand>>,
readiness: Arc<ViewerReadiness>,
snapshot: Arc<Mutex<ViewerSnapshot>>,
) -> App