Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to import 3D assets #9

Open
findlazygirl opened this issue Apr 24, 2024 · 0 comments
Open

How to import 3D assets #9

findlazygirl opened this issue Apr 24, 2024 · 0 comments

Comments

@findlazygirl
Copy link

findlazygirl commented Apr 24, 2024

作者您好,感谢您的开源项目,近期我对您的项目很感兴趣,在使用过程中遇到下面一些问题,还望能够收到您的解答:
1.关于如何导入3D资产部分?目前按照您的指示运行bash scripts/run.sh后只能够看到关于data generator以及limsim等相关内容,想请问在3D资产这部分如何将自己的3D资产导入OASim使用呢?具体的导入代码入口似乎还没发现?
2.在直接运行run.sh文件后GUI页面可以正常展示,但是Terminal端似乎总是会报错?当按照快捷键操作右上角3D preview时也会有NoneType相关错误,这个是因为我得操作超出范围了吗?似乎3D preview在我这边会比较卡,或许是我的机器性能不够,我使用的是3090?
关于报错部分信息如下:
当一开始启动这个GUI的时候就会出现下第一个NoneType面报错
Traceback (most recent call last):
File "/home/user/OASim/hmi/run_oasim_gui.py", line 240, in keyPressEvent
QApplication.instance().sendEvent(self.preview_widget, a0)
File "/home/user/OASim/hmi/preview/preview_3d.py", line 189, in keyPressEvent
rot_tmp = current_matrix[:3, :3]
TypeError: 'NoneType' object is not subscriptable
选中车辆的起始路线并点击confirm后,报错如下,且我发现车辆在拐弯处似乎就停止了,但并没有到达我设置的目的地,然后终端运行就一直卡在TypeError: 'NoneType' object is not subscriptable处.....
Traceback (most recent call last):
File "/home/user/OASim/hmi/run_oasim_gui.py", line 240, in keyPressEvent
QApplication.instance().sendEvent(self.preview_widget, a0)
File "/home/wpm1szh/user/OASim/hmi/preview/preview_3d.py", line 189, in keyPressEvent
rot_tmp = current_matrix[:3, :3]
TypeError: 'NoneType' object is not subscriptable
Warning: Found root element 'trip' in file '/home/user/OASim/limsim/simModel/egoTracking/temp/temp.trip.xml' (expected 'routes').
Success.up to time step: 200.00
Retrying in 1 seconds
import error
('0', 3.8681068420410156, 1.906570553779602, 2.6, 4.5, 55.55555555555556, 'vehicle.jeep.wrangler_rubicon', '-15 -7 21 20 19 -6')
Traceback (most recent call last):
File "/home/user/OASim/hmi/run_oasim_gui.py", line 240, in keyPressEvent
QApplication.instance().sendEvent(self.preview_widget, a0)
File "/home/user/OASim/hmi/preview/preview_3d.py", line 189, in keyPressEvent
rot_tmp = current_matrix[:3, :3]
TypeError: 'NoneType' object is not subscriptable
3.对于使用开源数据集,比如您论文中提到的支持开源数据集waymo,这个该如何加载到Oasim中呢,开源数据集在oasim中是起到了什么作用呢?数据集中的资产会导入oasim作为开源的3D资产吗?

问题有点多,提前感谢您的解答,期待您的回复❤

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant