feat: 初始化 Go2 导航代码与配置
This commit is contained in:
14
Livox_automatic_calibration-master/include/fitline.h
Executable file
14
Livox_automatic_calibration-master/include/fitline.h
Executable file
@@ -0,0 +1,14 @@
|
||||
#ifndef FITLINE_H
|
||||
#define FITLINE_H
|
||||
#include"type.h"
|
||||
#include<cmath>
|
||||
int FitLine2D( Point2D32f * points, int _count, float *weights, float *line );
|
||||
double CalcDist2D( Point2D32f * points, int count, float *_line, float *dist );
|
||||
int FitLine2D(Point2D32f * points, int count, float *line);
|
||||
void WeightL1( float *d, int count, float *w );
|
||||
void WeightL12( float *d, int count, float *w );
|
||||
void WeightHuber( float *d, int count, float *w, float _c );
|
||||
void WeightFair( float *d, int count, float *w, float _c );
|
||||
void WeightWelsch( float *d, int count, float *w, float _c );
|
||||
double max(double a, double b);
|
||||
#endif
|
||||
Reference in New Issue
Block a user