Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera crash ubuntu 22 gcc 9 5 #137

Closed
wants to merge 19 commits into from

Conversation

patkenneally
Copy link
Collaborator

  • Tickets addressed: bsk-000
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

Verification

Documentation

Future work

@patkenneally patkenneally force-pushed the feature/camera-crash-ubuntu-22-gcc-9-5 branch from 4189553 to 5a0eec8 Compare September 5, 2023 23:24
@patkenneally patkenneally force-pushed the feature/camera-crash-ubuntu-22-gcc-9-5 branch from 5a0eec8 to abe6961 Compare September 5, 2023 23:25
Copy link
Collaborator

@thibaudteil thibaudteil left a comment

Choose a reason for hiding this comment

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

Works for me!

Comment on lines -39 to -69
this->pointImageOut = NULL;

/*! Default values for the camera. */
this->cameraID = 1;
this->resolution[0] = 512;
this->resolution[1] = 512;
this->renderRate = (uint64_t) (60*1E9);
v3SetZero(this->cameraPos_B);
v3SetZero(this->sigma_CB);
this->cameraIsOn = 0;
this->filename = "";
this->fieldOfView = 0.7;
strcpy(this->skyBox, "black");
this->saveImages = 0;
this->saveDir = "";
this->postProcessingOn = 0;
this->ppAperture = 0;
this->ppFocalLength = 0;
this->ppFocusDistance = 0;
this->ppMaxBlurSize = 0;

/*! Default values for the perturbations. */
this->gaussian = 0;
this->darkCurrent = 0;
this->saltPepper = 0;
this->cosmicRays = 0;
this->blurParam = 0;
this->hsv = std::vector<double>{0., 0., 0.};
this->bgrPercent = std::vector<int>{0, 0, 0};

return;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Lovely

@thibaudteil thibaudteil self-requested a review September 7, 2023 20:25
@patkenneally patkenneally deleted the feature/camera-crash-ubuntu-22-gcc-9-5 branch September 12, 2023 04:57
@thibaudteil thibaudteil restored the feature/camera-crash-ubuntu-22-gcc-9-5 branch October 19, 2023 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants