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

Add support for InternalConstr #245

Merged
merged 2 commits into from
Dec 16, 2023

Conversation

willzhang05
Copy link
Contributor

@willzhang05 willzhang05 commented Dec 1, 2023

Implemented the classes based on the schema in ISO 22901-1:2008 pg. 376-377, 394

@willzhang05 willzhang05 force-pushed the internalconstr-support branch from 52892db to 9024f5f Compare December 2, 2023 01:47
Copy link
Collaborator

@andlaus andlaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks pretty good. After some minor cleanups it's ready to be merged.

Ideally, I'd prefer to have adherence to the internal and physical constraints to be checked in the en- and decoding logic, but if this is too much work, it can be deferred and PR can go in as-is (plus the cleanups mentioned above)

odxtools/dataobjectproperty.py Show resolved Hide resolved
odxtools/internalconstr.py Outdated Show resolved Hide resolved
odxtools/internalconstr.py Outdated Show resolved Hide resolved
@andlaus
Copy link
Collaborator

andlaus commented Dec 8, 2023

@willzhang05: what's the status here?

@willzhang05
Copy link
Contributor Author

@andlaus Sorry, been busy with some other things, will try to address these later this week.

@andlaus
Copy link
Collaborator

andlaus commented Dec 11, 2023

@andlaus Sorry, been busy with some other things, will try to address these later this week.

Great to read :) (I was just wondering if this was still on your radar...)

@willzhang05 willzhang05 force-pushed the internalconstr-support branch 4 times, most recently from 89eca3d to cad2218 Compare December 13, 2023 23:30
odxtools/internalconstr.py Outdated Show resolved Hide resolved
odxtools/write_pdx_file.py Outdated Show resolved Hide resolved
@willzhang05 willzhang05 force-pushed the internalconstr-support branch from cad2218 to 2b8f33d Compare December 14, 2023 22:18
@andlaus
Copy link
Collaborator

andlaus commented Dec 16, 2023

looks good; let's merge. thanks everybody!

@andlaus andlaus merged commit 16b6ae2 into mercedes-benz:main Dec 16, 2023
6 checks passed
@willzhang05 willzhang05 deleted the internalconstr-support branch December 16, 2023 17:40
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

Successfully merging this pull request may close these issues.

4 participants