Skip to content

Rename get_object_2 function. #2

@WilliamsJack

Description

@WilliamsJack

Is your feature request related to a problem? Please describe.
The MLX90614 package contains two IR sensors, IR1 and IR2.
PyMLX90614 has a function to read the temperature from each of these.

#1 renames the IR1 function, but not IR2. We may need to rename the IR2 function.

Describe the solution you'd like
We need more research and discussion in this area. What is the purpose of two identical IR sensors in the same package?
Based on my understanding, IR2 may be faulty in some/many MLX90614s (binning process). IR1 should always work.

Perhaps rename the IR2 function to get_obj_temp_backup or something along those lines (keeping the current get_obj_temp as get_obj_temp).

Describe alternatives you've considered
No interesting alternatives. I suppose we could remove the second function altogether, but someone may find it useful to be able to use both IR sensors.

Additional context
There is some discussion in #1 about this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions