Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tile_processor_gpu
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Elphel
tile_processor_gpu
Commits
ff9997c1
Commit
ff9997c1
authored
Apr 19, 2020
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed rByRDist calculation error
parent
26689442
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
+13
-11
geometry_correction.cu
src/geometry_correction.cu
+11
-11
test_tp.cu
src/test_tp.cu
+2
-0
No files found.
src/geometry_correction.cu
View file @
ff9997c1
...
...
@@ -363,8 +363,8 @@ extern "C" __global__ void get_tiles_offsets(
(extrinsic_corr.imu_move[0] != 0.0) ||
(extrinsic_corr.imu_move[1] != 0.0) ||
(extrinsic_corr.imu_move[2] != 0.0);
// Temporary
imu_exists = 0;
#ifdef DEBUG21
if ((ncam == DBG_CAM) && (task_num == DBG_TILE)){
printf("\nTile = %d, camera= %d\n", task_num, ncam);
...
...
@@ -733,7 +733,7 @@ extern "C" __global__ void calcReverseDistortionTable(
}
if (i == 0){
rByRDist[0]= (float) 1.0/d;
break
;
continue
;
}
double rDist = RBYRDIST_STEP * i;
double r = (p == 0) ? rDist : rPrev;
...
...
src/test_tp.cu
View file @
ff9997c1
...
...
@@ -648,6 +648,7 @@ int main(int argc, char **argv)
gpu_rot_deriv,
sizeof(trot_deriv),
cudaMemcpyDeviceToHost));
#if 0
const char* matrices_names[] = {
"rot","d_daz","d_tilt","d_roll","d_zoom"};
for (int i = 0; i < 5;i++){
...
...
@@ -675,6 +676,7 @@ int main(int argc, char **argv)
}
}
}
#endif //#if 0
#endif // TEST_ROT_MATRICES
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment