vista-simulator / vista

Data-driven simulation for training and evaluating full-scale autonomous vehicles.
https://vista.csail.mit.edu
Other
379 stars 88 forks source link

regarding RIG.xml files #4

Open rayguan97 opened 2 years ago

rayguan97 commented 2 years ago

Hi,

I have a couple of questions.

  1. When I try to run examples/basic_usage/sim_event, it asks for a RIG.xml file. Where can I find this file?
  2. How can I synthesize the view, and visualize it? Which script would be good to get started on generating views?

Best,

rayguan97 commented 2 years ago

In addition,

  1. I also can not run sim_multi_car.py (missing mesh-dir) and sim_lidar.py ("No video_label.csv"). Could you please list out which script can be run (located in examples) given what is provided in this repo, and when will other files be provided to run the rest of the script?

Best,

MarkCodering commented 2 years ago

Same here, it is possible to provide a sample file for RIG.xml to continue the development? @aamini

MarkCodering commented 2 years ago

@rayguan97 I just found out there is a RIG.xml file in another repository within VISTA organization page on GitHub. Check it out, hope you found this useful

MarkCodering commented 2 years ago

Hi there, here is the file I organized for adding the RIG.xml file in the VISTA simulator. But since I am not a current contributor to this project. I have forked this repository. You could reference this link to learn more about the example of the VISTA simulator. Also, @aamini, are there any application channels for becoming a VISTA contributor? Much appreciate your reply.

Jung132914 commented 2 years ago

Hi there, here is the file I organized for adding the RIG.xml file in the VISTA simulator. But since I am not a current contributor to this project. I have forked this repository. You could reference this link to learn more about the example of the VISTA simulator. Also, @aamini, are there any application channels for becoming a VISTA contributor? Much appreciate your reply.

hi, I have download the RIG.xml from your repository, but where I put it? Should I create the resource folder to put it in?

MarkCodering commented 2 years ago

Hi there, here is the file I organized for adding the RIG.xml file in the VISTA simulator. But since I am not a current contributor to this project. I have forked this repository. You could reference this link to learn more about the example of the VISTA simulator. Also, @aamini, are there any application channels for becoming a VISTA contributor? Much appreciate your reply.

hi, I have download the RIG.xml from your repository, but where I put it? Should I create the resource folder to put it in?

@Jung132914 You could just put the RIG file into the folder where the sim_rgb.py is. If I remember it right, they will automatically detect if there is a setting file in the same directory.

Jung132914 commented 2 years ago

Hi there, here is the file I organized for adding the RIG.xml file in the VISTA simulator. But since I am not a current contributor to this project. I have forked this repository. You could reference this link to learn more about the example of the VISTA simulator. Also, @aamini, are there any application channels for becoming a VISTA contributor? Much appreciate your reply.

hi, I have download the RIG.xml from your repository, but where I put it? Should I create the resource folder to put it in?

@Jung132914 You could just put the RIG file into the folder where the sim_rgb.py is. If I remember it right, they will automatically detect if there is a setting file in the same directory.

thanks,this problem is solved, but a new wranning occur. Do meet the problem " Fail to import module for event camera. Remember to do source /openeb/build/utils/scripts/setup_env.shCan ignore this if not using it"

MarkCodering commented 2 years ago

Hi there, here is the file I organized for adding the RIG.xml file in the VISTA simulator. But since I am not a current contributor to this project. I have forked this repository. You could reference this link to learn more about the example of the VISTA simulator. Also, @aamini, are there any application channels for becoming a VISTA contributor? Much appreciate your reply.

hi, I have download the RIG.xml from your repository, but where I put it? Should I create the resource folder to put it in?

@Jung132914 You could just put the RIG file into the folder where the sim_rgb.py is. If I remember it right, they will automatically detect if there is a setting file in the same directory.

thanks,this problem is solved, but a new wranning occur. Do meet the problem " Fail to import module for event camera. Remember to do source /openeb/build/utils/scripts/setup_env.shCan ignore this if not using it"

@Jung132914 No worries on that, if you are not using the event camera, just skip the warning. If yes, then you could use the bash to set-up the environment with the set up script.

gokulbnr commented 12 months ago

Hi there, here is the file I organized for adding the RIG.xml file in the VISTA simulator. But since I am not a current contributor to this project. I have forked this repository. You could reference this link to learn more about the example of the VISTA simulator. Also, @aamini, are there any application channels for becoming a VISTA contributor? Much appreciate your reply.

Thanks for the sample RIG.xml. I was getting the following errors when running with this file: File "/home/gokul/mambaforge/envs/vista-env/lib/python3.9/site-packages/vista/entities/sensors/camera_utils/CameraParams.py", line 51, in init self._roi = params['roi'].astype(np.int) AttributeError: 'str' object has no attribute 'astype'

Just realized that some of the parameters had to be comma-separated instead of space-separated. Not sure if that completely fixes it though, I've not got it working perfectly yet. I'm stuck at the following error when running sim_event.py. I couldn't find a module called slowmo_warp yet.

ModuleNotFoundError: No module named 'slowmo_warp'