完成基于bsp的bmi088编写,更新can comm的CAN配置

This commit is contained in:
NeoZng
2023-04-13 16:09:03 +08:00
parent 4a2bc01525
commit ec005f163c
8 changed files with 77 additions and 115 deletions

View File

@@ -174,6 +174,12 @@ float* Norm3d(float* v)
return v;
}
// 计算模长
float NormOf3d(float *v)
{
return Sqrt(v[0] * v[0] + v[1] * v[1] + v[2] * v[2]);
}
// 三维向量叉乘v1 x v2
void Cross3d(float* v1, float* v2,float* res)
{