BerkeleyLearnVerify / Scenic

A compiler and scenario generator for the Scenic scenario description language.
https://scenic-lang.org/
Other
274 stars 92 forks source link

mp4 file does not get generated #198

Closed swatimshah closed 10 months ago

swatimshah commented 10 months ago

Hello there,

scenic carlaChallenge1.scenic --simulate --count 1 --param resolution "1920x1080" --param video_output_path "test.mp4" --param timestep 0.0166

I am able to run the above command successfully and could run the simulation for 38 seconds. However, the mp4 file does not get regenerated on "pygame window" closure. There is no error logged on the console. Could you please guide me where I am going wrong?

Eric-Vin commented 10 months ago

Hello!

I don't believe that parameter currently has any special significance to Scenic or the Carla simulator interface. Are you maybe using a fork of Scenic that added it?

swatimshah commented 10 months ago

Hello! Thanks a lot for your response. So far, I am working with the latest scenic code out of below "Scenic" repository. https://github.com/BerkeleyLearnVerify/Scenic/tree/main. However, I am using the below blog article for my work. https://rocketloop.de/en/blog/video-capture-scenic-scenarios-carla/ The "Fork" url in the above link is inaccessible. (Giving a 404 error). Could you please refer me to the right fork URL for capturing videos?

Eric-Vin commented 10 months ago

Unfortunately that fork isn't something we created, and we don't currently support recording simulation videos in Scenic/Carla. However this is something we're hoping to support in the future.