pyoscx / scenariogeneration

Python library to generate linked OpenDRIVE and OpenSCENARIO files
Mozilla Public License 2.0
272 stars 85 forks source link

Can I specify a fixed date of the FileHeader? #78

Closed bleach31 closed 2 years ago

bleach31 commented 2 years ago

Is it possible to specify a fixed date for the FileHeader when generating an OpenSCENARIO file?

image

I want to avoid Date being detected as a difference when comparing the generated OpenSCENARIO.

mander76 commented 2 years ago

When you do comparison (with scenariogeneration) the date is not taken into account. Or are you using a standard diff tool?

bleach31 commented 2 years ago

Sorry, I didn't explain well.

I' m not comparing Python objects directly, I' m comparing the generated text files.

I'm using winMerge https://winmerge.org/

mander76 commented 2 years ago

Ah ok, that shouldn't be hard to add. Will look into it.

bleach31 commented 2 years ago

Thank you very much. I'm looking forward to it!

mander76 commented 2 years ago

I actually found another bug when fixing this so it's good :) Can you try it out c26caf236dccdfead218aab6fc94acf19fb29817

If it is waht you expected I'll put it on pipy later today

bleach31 commented 2 years ago

this is perfect. thank you again. image

->

image