C# Class MissionPlanner.GCSViews.FlightData

Exibir arquivo Open project: ArduPilot/MissionPlanner Class Usage Examples

Public Properties

Property Type Description
MainHcopy SplitContainer
contextMenuStripHud System.Windows.Forms.ContextMenuStrip
contextMenuStripMap System.Windows.Forms.ContextMenuStrip
gMapControl1 Controls.myGMAP
instance FlightData
kmlpolygons GMapOverlay
myhud HUD
mymap myGMAP
tabActions System.Windows.Forms.TabPage
tabActionsSimple System.Windows.Forms.TabPage
tabControlactions System.Windows.Forms.TabControl
tabScripts System.Windows.Forms.TabPage
tabServo System.Windows.Forms.TabPage
tabStatus System.Windows.Forms.TabPage
threadrun bool
windDir1 Controls.WindDir

Public Methods

Method Description
Activate ( ) : void
BUT_playlog_Click ( object sender, EventArgs e ) : void
CheckBatteryShow ( ) : void
CreateChart ( ZedGraphControl zgc ) : void
Deactivate ( ) : void
FlightData ( ) : System
LoadLogFile ( string file ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnInvalidated ( InvalidateEventArgs e ) : void
ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Private Methods

Method Description
BUT_ARM_Click ( object sender, EventArgs e ) : void
BUT_DFMavlink_Click ( object sender, EventArgs e ) : void
BUT_Homealt_Click ( object sender, EventArgs e ) : void
BUT_RAWSensor_Click ( object sender, EventArgs e ) : void
BUT_abort_script_Click ( object sender, EventArgs e ) : void
BUT_abortland_Click ( object sender, EventArgs e ) : void
BUT_clear_track_Click ( object sender, EventArgs e ) : void
BUT_edit_selected_Click ( object sender, EventArgs e ) : void
BUT_joystick_Click ( object sender, EventArgs e ) : void
BUT_loadtelem_Click ( object sender, EventArgs e ) : void
BUT_log2kml_Click ( object sender, EventArgs e ) : void
BUT_loganalysis_Click ( object sender, EventArgs e ) : void
BUT_logbrowse_Click ( object sender, EventArgs e ) : void
BUT_matlab_Click ( object sender, EventArgs e ) : void
BUT_mountmode_Click ( object sender, EventArgs e ) : void
BUT_quickauto_Click ( object sender, EventArgs e ) : void
BUT_quickmanual_Click ( object sender, EventArgs e ) : void
BUT_quickrtl_Click ( object sender, EventArgs e ) : void
BUT_resumemis_Click ( object sender, EventArgs e ) : void
BUT_run_script_Click ( object sender, EventArgs e ) : void
BUT_select_script_Click ( object sender, EventArgs e ) : void
BUT_setmode_Click ( object sender, EventArgs e ) : void
BUT_setwp_Click ( object sender, EventArgs e ) : void
BUT_speed1_Click ( object sender, EventArgs e ) : void
BUTactiondo_Click ( object sender, EventArgs e ) : void
BUTrestartmission_Click ( object sender, EventArgs e ) : void
CB_tuning_CheckedChanged ( object sender, EventArgs e ) : void
CHK_autopan_CheckedChanged ( object sender, EventArgs e ) : void
CMB_modes_Click ( object sender, EventArgs e ) : void
CMB_setwp_Click ( object sender, EventArgs e ) : void
CaptureMJPEG_OnNewImage ( object sender, EventArgs e ) : void
CheckAndBindPreFlightData ( ) : void
ConvertToDouble ( object input ) : double
FlightData_FormClosing ( object sender, FormClosingEventArgs e ) : void
FlightData_Load ( object sender, EventArgs e ) : void
FlightData_ParentChanged ( object sender, EventArgs e ) : void
FlightData_Resize ( object sender, EventArgs e ) : void
Gspeed_DoubleClick ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void
Messagetabtimer_Tick ( object sender, EventArgs e ) : void
NoFly_NoFlyEvent ( object sender, NoFly e ) : void
POI_POIModified ( object sender, EventArgs e ) : void
PointCameraCoordsToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
RegeneratePolygon ( ) : void

used to redraw the polygon

SwapHud1AndMap ( ) : void
TRK_zoom_Scroll ( object sender, EventArgs e ) : void
UpdateOverlayVisibility ( ) : void
Zoomlevel_ValueChanged ( object sender, EventArgs e ) : void
addHudUserItem ( HUD &cust, CheckBox sender ) : void
addMissionPhotoMarker ( GMapMarker marker ) : void
addMissionRouteMarker ( GMapMarker marker ) : void
addPoiToolStripMenuItem_Click ( object sender, EventArgs e ) : void
addpolygonmarker ( string tag, double lng, double lat, int alt, Color color, GMapOverlay overlay ) : void
addpolygonmarkerred ( string tag, double lng, double lat, int alt, Color color, GMapOverlay overlay ) : void
altitudeAngelSettingsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
but_Click ( object sender, EventArgs e ) : void
but_autotune_Click ( object sender, EventArgs e ) : void
but_bintolog_Click ( object sender, EventArgs e ) : void
but_dflogtokml_Click ( object sender, EventArgs e ) : void
but_disablejoystick_Click ( object sender, EventArgs e ) : void
cam_camimage ( Image camimage ) : void
chk_box_CheckedChanged ( object sender, EventArgs e ) : void
chk_box_hud_UserItem_CheckedChanged ( object sender, EventArgs e ) : void
chk_box_quickview_CheckedChanged ( object sender, EventArgs e ) : void
chk_log_CheckedChanged ( object sender, EventArgs e ) : void
customizeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
deleteToolStripMenuItem_Click ( object sender, EventArgs e ) : void
dropOutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
dropout_FormClosed ( object sender, FormClosedEventArgs e ) : void
dropout_Resize ( object sender, EventArgs e ) : void
flightPlannerToolStripMenuItem_Click ( object sender, EventArgs e ) : void
flyToHereAltToolStripMenuItem_Click ( object sender, EventArgs e ) : void
gMapControl1_Click ( object sender, EventArgs e ) : void
gMapControl1_MouseDown ( object sender, MouseEventArgs e ) : void
gMapControl1_MouseLeave ( object sender, EventArgs e ) : void
gMapControl1_MouseMove ( object sender, MouseEventArgs e ) : void
gMapControl1_OnMapZoomChanged ( ) : void
gMapControl1_OnMarkerEnter ( GMapMarker item ) : void
gMapControl1_OnMarkerLeave ( GMapMarker item ) : void
gMapControl1_OnPositionChanged ( PointLatLng point ) : void
gMapControl1_Resize ( object sender, EventArgs e ) : void
goHereToolStripMenuItem_Click ( object sender, EventArgs e ) : void
hud1_DoubleClick ( object sender, EventArgs e ) : void
hud1_Resize ( object sender, EventArgs e ) : void
hud1_ekfclick ( object sender, EventArgs e ) : void
hud1_vibeclick ( object sender, EventArgs e ) : void
hud_UserItem ( object sender, EventArgs e ) : void
loadFileToolStripMenuItem_Click ( object sender, EventArgs e ) : void
loadTabControlActions ( ) : void
mainloop ( ) : void
modifyandSetAlt_Click ( object sender, EventArgs e ) : void
modifyandSetLoiterRad_Click ( object sender, EventArgs e ) : void
modifyandSetSpeed_Click ( object sender, EventArgs e ) : void
modifyandSetSpeed_ParentChanged ( object sender, EventArgs e ) : void
mymap_Paint ( object sender, PaintEventArgs e ) : void
onOffCameraOverlapToolStripMenuItem_Click ( object sender, EventArgs e ) : void
pointCameraHereToolStripMenuItem_Click ( object sender, EventArgs e ) : void
quickView_DoubleClick ( object sender, EventArgs e ) : void
recordHudToAVIToolStripMenuItem_Click ( object sender, EventArgs e ) : void
resetToolStripMenuItem_Click ( object sender, EventArgs e ) : void
run_selected_script ( ) : void
russianHudToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveFileToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveTabControlActions ( ) : void
scriptChecker_Tick ( object sender, EventArgs e ) : void
setAspectRatioToolStripMenuItem_Click ( object sender, EventArgs e ) : void
setHomeHereToolStripMenuItem_Click ( object sender, EventArgs e ) : void
setMJPEGSourceToolStripMenuItem_Click ( object sender, EventArgs e ) : void
setMapBearing ( ) : void
setupPropertyInfo ( PropertyInfo &input, string name, object source ) : bool
startCameraToolStripMenuItem_Click ( object sender, EventArgs e ) : void
stopRecordToolStripMenuItem_Click ( object sender, EventArgs e ) : void
swapWithMapToolStripMenuItem_Click ( object sender, EventArgs e ) : void
tabControl1_DrawItem ( object sender, DrawItemEventArgs e ) : void
tabControl1_SelectedIndexChanged ( object sender, EventArgs e ) : void
tabPage1_Resize ( object sender, EventArgs e ) : void
tabQuick_Resize ( object sender, EventArgs e ) : void
tabStatus_Resize ( object sender, EventArgs e ) : void
takeOffToolStripMenuItem_Click ( object sender, EventArgs e ) : void
tfr_GotTFRs ( object sender, EventArgs e ) : void
timer1_Tick ( object sender, EventArgs e ) : void
tracklog_Scroll ( object sender, EventArgs e ) : void
triggerCameraToolStripMenuItem_Click ( object sender, EventArgs e ) : void
txt_messagebox_TextChanged ( object sender, EventArgs e ) : void
updateBindingSource ( ) : void
updateBindingSourceWork ( ) : void
updateClearMissionRouteMarkers ( ) : void
updateClearRoutes ( ) : void
updateClearRoutesMarkers ( ) : void
updateLogPlayPosition ( ) : void
updateMapPosition ( PointLatLng currentloc ) : void
updateMapZoom ( int zoom ) : void
updatePlayPauseButton ( bool playing ) : void
updateRoutePosition ( ) : void
zg1_DoubleClick ( object sender, EventArgs e ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

BUT_playlog_Click() public method

public BUT_playlog_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

CheckBatteryShow() public method

public CheckBatteryShow ( ) : void
return void

CreateChart() public method

public CreateChart ( ZedGraphControl zgc ) : void
zgc ZedGraphControl
return void

Deactivate() public method

public Deactivate ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FlightData() public method

public FlightData ( ) : System
return System

LoadLogFile() public method

public LoadLogFile ( string file ) : void
file string
return void

OnInvalidated() protected method

protected OnInvalidated ( InvalidateEventArgs e ) : void
e InvalidateEventArgs
return void

ProcessCmdKey() protected method

protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg Message
keyData Keys
return bool

Property Details

MainHcopy public_oe property

public SplitContainer MainHcopy
return SplitContainer

contextMenuStripHud public_oe property

public System.Windows.Forms.ContextMenuStrip contextMenuStripHud
return System.Windows.Forms.ContextMenuStrip

contextMenuStripMap public_oe property

public System.Windows.Forms.ContextMenuStrip contextMenuStripMap
return System.Windows.Forms.ContextMenuStrip

gMapControl1 public_oe property

public Controls.myGMAP gMapControl1
return Controls.myGMAP

instance public_oe static_oe property

public static FlightData instance
return FlightData

kmlpolygons public_oe static_oe property

public static GMapOverlay kmlpolygons
return GMapOverlay

myhud public_oe static_oe property

public static HUD myhud
return HUD

mymap public_oe static_oe property

public static myGMAP mymap
return myGMAP

tabActions public_oe property

public System.Windows.Forms.TabPage tabActions
return System.Windows.Forms.TabPage

tabActionsSimple public_oe property

public System.Windows.Forms.TabPage tabActionsSimple
return System.Windows.Forms.TabPage

tabControlactions public_oe property

public System.Windows.Forms.TabControl tabControlactions
return System.Windows.Forms.TabControl

tabScripts public_oe property

public System.Windows.Forms.TabPage tabScripts
return System.Windows.Forms.TabPage

tabServo public_oe property

public System.Windows.Forms.TabPage tabServo
return System.Windows.Forms.TabPage

tabStatus public_oe property

public System.Windows.Forms.TabPage tabStatus
return System.Windows.Forms.TabPage

threadrun public_oe static_oe property

public static bool threadrun
return bool

windDir1 public_oe property

public Controls.WindDir windDir1
return Controls.WindDir