Calibration type 14 update and refactoring #83
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update POS service and correlated methods for new calibration type 14 improvement
Specifically, important changes to check are the following:
typedef struct eOmap_int32_u08_t
used to map rotation values inint32_t
with the ones inuint8_t
used by the enum defined in the POS servicestatic array s_eomc_map_of_calib14rot
used for keeping the available values accepted for the rotation parametereomc_int2calib14_ROT
used for performing the conversion from int32_t and uint8_t specific data type and inverse methodeomc_calib14_ROT2int
to convert a value of typeeOmc_calib14_ROT_t
toint32_t
eOmc_calibrator_params_type14_qenc_hard_stop_and_fap_t
by setting data typeint32_t
for rotation which is not treated asuint8_t
by that struct and then re-defined the filler bits for keeping standard ordered groups of data of 32bit eachCMakeLists.txt
to1.34.3