Skip to content

Thermal Camera Graph Improvements #87

@WilliamsJack

Description

@WilliamsJack

Is your feature request related to a problem? Please describe.
While implementing the MLX9064x wrappers I realised that the sensors mirror the image. To fix this, I mirrored the output in the wrapper before sending it to the web interface. This isn't a great solution, since it sets the precedent that all sensors that do something odd like this need to have fixes implemented within the wrapper.

It also made me think about other issues, such as what happens if you need to mount the thermal camera on its side or upside down in your robot - output in Sights would be on its side or upside down respectively.

Describe the solution you'd like
Instead, I would prefer to do all this in the interface.
In addition to horizontal and vertical scaling when overlayed (which already exists), we should implement horizontal and vertical shift so one can move the thermal camera on top of the visible light camera (since, of course, you cannot have a thermal camera mounted in exactly the same point in space as your regular camera).

Like the existing thermal camera options, one should be able to set default values in the config. That means this is probably best suited as a Sights 2.0 feature, since configuration will be much easier in Sights 2.0

  • Mirror thermal camera toggle
  • Rotate thermal camera cycle
  • Vertical and horizontal shift sliders
  • Specify range of hues used to represent temperatures
  • Specify auto-scale (current system) or hard minimum and maximum temperature range

Describe alternatives you've considered
There is no alternative. This is a good idea and should be implemented.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions