Skip to content

Investigate MSVC optimization done on settings #830

Description

@Hpn4

Their is strange behaviors in release mode that does not appear in debug mode:

  • outside the API CameraFps and P settings has not the same value as inside the API (solved by removing inlining in the update_setting inside settings_container.hh).
  • In output_holo_file.cc in the creation of the footer, PixelSize and CameraFps returns a negative float and 0 (fixed by removing optimization locally).
  • In input_holo_file.cc some api functions like get_record_file_path returns a random string instead of the real path (not fised).

It seems to be related with how container inside settings_container.hh are optimized and maybe with the alignment of all the structure used for settings settings.hh.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingurgentMust be fixed in priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions