在运行 m = RigidTransform(rotation_quaternion, translation)
时,出行错误:
ValueError: Translation must be specified as numeric numpy array。
翻译一下:ValueError:转换必须指定为数字numpy数组
大概知道是什么原因了。
之前在csv中读取的数据都是字符串类型的。
转换成浮点数后,运行解决了
03-25
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
12-09
1837
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-20
01-14
334
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交