Skip to content

Commit

Permalink
fix camera params
Browse files Browse the repository at this point in the history
  • Loading branch information
ZbyLGsc committed Apr 16, 2020
1 parent 2015723 commit 733e880
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ After the prerequisites are satisfied, you can clone this repository to your cat
set(ENABLE_CUDA false)
# set(ENABLE_CUDA true)
```
The GPU version is recommended, because it generates depth images more like a real depth camera.
If you want to use the GPU depth rendering, set ENABLE_CUDA to true, and also remember to change the 'arch' and 'code' flags according to your graphics card devices. You can check the right code [here](https://github.com/tpruvot/ccminer/wiki/Compatibility).
However, we STRONGLY recommend the GPU version, because it generates depth images more like a real depth camera.
To enable the GPU depth rendering, set ENABLE_CUDA to true, and also remember to change the 'arch' and 'code' flags according to your graphics card devices. You can check the right code [here](https://github.com/tpruvot/ccminer/wiki/Compatibility).

```
set(CUDA_NVCC_FLAGS
Expand Down
10 changes: 6 additions & 4 deletions uav_simulator/local_sensing/params/camera.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
cam_width: 640
cam_height: 480
cam_fx: 385.754
cam_fy: 257.296
cam_cx: 385.754
cam_cy: 236.743
cam_fx: 387.229248046875
cam_fy: 387.229248046875
cam_cx: 321.04638671875
cam_cy: 243.44969177246094


# cam_width: 752
# cam_height: 480
# cam_fx: 258.654
Expand Down

0 comments on commit 733e880

Please sign in to comment.