Closed trym-b closed 4 years ago
I think we should go straight for the proper solution to avoid tech debt.
The fix should be to replace the tolower
here with a transform from capital case to snake case:
Would it be possible to have test(s) to check if the name transformation is working - or it would be considered as over-engineering?
Perhaps we could add that, although we have not set up a C++ test framework for this repository so it might be a bit too much work at this moment.
This one is fixed now, right? @trym-b
Right, will close it.
The current
zivid
module names are inconsistent, we are using both snake case and lower case without separators. For examplecaptureassistant
andcamera_state
. These should all be proper snake case.A quick fix could be to simply rename all the modules to proper snake case, but we should instead implement a camelCase to snake_case function in the pybind11 layer, so that we can simply do a one-to-one mapping of the
_zivid
modules tozivid
modules