Skip to content

Fix camera fps#772

Merged
Hpn4 merged 8 commits intodevfrom
fix_camera_fps
Jan 9, 2025
Merged

Fix camera fps#772
Hpn4 merged 8 commits intodevfrom
fix_camera_fps

Conversation

@alexispinson
Copy link
Collaborator

No description provided.

@alexispinson
Copy link
Collaborator Author

this are the tests that have been done using gui :

  • créer un fichier a partir de la 710 -> expected 40k | good
  • créer un fichier a partir d'open cv -> expected input_fps | good
  • faire un record sur un fichier de la 710 -> expected celui d'avant | good
  • faire un record sur un fichier d'open cv -> expected celui d'avant | good

@alexispinson
Copy link
Collaborator Author

the results are also test after with the ps1

@alexispinson alexispinson marked this pull request as ready for review January 8, 2025 09:38
@alexispinson
Copy link
Collaborator Author

Good for me

set_data_type(RecordedDataType::RAW);

if (active_camera->get_camera_fps() != -1)
API.input.set_camera_fps(static_cast<uint>(active_camera->get_camera_fps()));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to call the macro API you can just call api_->input

@Hpn4 Hpn4 merged commit 0dec38c into dev Jan 9, 2025
@Hpn4 Hpn4 deleted the fix_camera_fps branch January 9, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants