C# 클래스 MissionPlanner.MagCalib

파일 보기 프로젝트 열기: ArduPilot/MissionPlanner 1 사용 예제들

공개 메소드들

메소드 설명
DoGUIMagCalib ( bool dointro = true ) : void
LeastSq ( List data, bool ellipsoid = false ) : double[]

Does the least sq adjustment to find the center of the sphere

ProcessLog ( int throttleThreshold ) : void

Self contained process tlog and save/display offsets

SaveOffsets ( double ofs ) : void

saves the offests to eeprom, os displays if cant

SaveOffsets2 ( double ofs ) : void
SaveOffsets3 ( double ofs ) : void
getOffsets ( string fn, int throttleThreshold ) : double[]

Processes a tlog to get the offsets - creates dxf of data

getOffsetsLog ( string fn ) : double[]

비공개 메소드들

메소드 설명
GetColour ( int pitch, int yaw ) : string
ReceviedPacket ( MAVLink rawpacket ) : bool
RemoveOutliers ( List &data ) : void
doDXF ( List vertexes, double x ) : void
doLSQ ( List data, Action fitalgo, double x ) : double[]
prd_DoWork ( object sender, ProgressWorkerEventArgs e, object passdata = null ) : void
radius ( Vector3 mag, Vector3 offsets, Vector3 diagonals, Vector3 offdiagonals ) : double
setMinorMax ( float value, float &min, float &max ) : void

Min or max finder

sphere_ellipsoid_error ( double p1, double fi, object obj ) : void
sphere_error ( double xi, double fi, object obj ) : void
sphere_scale_error ( double xi, double fi, object obj ) : void

메소드 상세

DoGUIMagCalib() 공개 정적인 메소드

public static DoGUIMagCalib ( bool dointro = true ) : void
dointro bool
리턴 void

LeastSq() 공개 정적인 메소드

Does the least sq adjustment to find the center of the sphere
public static LeastSq ( List data, bool ellipsoid = false ) : double[]
data List list of x,y,z data
ellipsoid bool
리턴 double[]

ProcessLog() 공개 정적인 메소드

Self contained process tlog and save/display offsets
public static ProcessLog ( int throttleThreshold ) : void
throttleThreshold int
리턴 void

SaveOffsets() 공개 정적인 메소드

saves the offests to eeprom, os displays if cant
public static SaveOffsets ( double ofs ) : void
ofs double offsets
리턴 void

SaveOffsets2() 공개 정적인 메소드

public static SaveOffsets2 ( double ofs ) : void
ofs double
리턴 void

SaveOffsets3() 공개 정적인 메소드

public static SaveOffsets3 ( double ofs ) : void
ofs double
리턴 void

getOffsets() 공개 정적인 메소드

Processes a tlog to get the offsets - creates dxf of data
public static getOffsets ( string fn, int throttleThreshold ) : double[]
fn string Filename
throttleThreshold int
리턴 double[]

getOffsetsLog() 공개 정적인 메소드

public static getOffsetsLog ( string fn ) : double[]
fn string
리턴 double[]