/// <summary> /// Constructor /// </summary> public Remora() { InitializeComponent(); if (!this.DesignMode) { this.gridSizeToolStripComboBox.SelectedIndexChanged += new EventHandler(gridSizeToolStripComboBox_SelectedIndexChanged); this.posteriorPoseDisplay = new PosteriorPose(this.roadDisplay1.aiVehicle); RemoraCommon.aiInformation = new ArbiterInformationDisplay(); } }
/// <summary> /// View posterior pose /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void DataPosteriorPoseInformation_Click(object sender, EventArgs e) { this.posteriorPoseDisplay = new PosteriorPose(this.roadDisplay1.aiVehicle); this.posteriorPoseDisplay.Show(); }