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

Feature/sync upstream 023502 #3

Open
wants to merge 2,035 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2035 commits
Select commit Hold shift + click to select a range
c50101e
Windows socket buffer (#201)
apuzhevi Apr 21, 2020
412fd6c
RTCP RR fix (#202)
apuzhevi Apr 21, 2020
29b7b71
invalidate xyz in glsl occulusion to avoid artifacts on the edges
gwen2018 Apr 21, 2020
6ce186c
glsl occlusion performance improvement - eliminate intermediate frame…
gwen2018 Apr 21, 2020
c997087
glsl occlusion for L500 devices
gwen2018 Apr 22, 2020
ece11ee
Merge pull request #6203 from doronhi/rsusb_delay
dorodnic Apr 22, 2020
8d3ae48
Merge pull request #6205 from daversintel/genlock
dorodnic Apr 22, 2020
a27bf01
Merge pull request #6188 from apuzhevi/ethernet
dorodnic Apr 22, 2020
542a62d
Add the missing comma separator
ev-mp Apr 22, 2020
106034c
Set depth invalidation enabled by flag
Nir-Az Apr 22, 2020
27ad71d
Change_depth_invalidation_fix_eol
Nir-Az Apr 22, 2020
8a29a64
Merge pull request #6290 from ev-mp/md_script_win_fix
ev-mp Apr 23, 2020
20cd47e
Merge pull request #6200 from krazycoder2k/patch-4
ev-mp Apr 23, 2020
49f638e
Merge remote-tracking branch 'origin/development' into change_depth_i…
Nir-Az Apr 23, 2020
163ec5f
Cosmetics fixes according to code review
Nir-Az Apr 23, 2020
7a39551
Merge pull request #6288 from Nir-Az/change_depth_invalidation_enable…
dorodnic Apr 23, 2020
86643aa
Merge pull request #6143 from gwen2018/fix_yuyv_preview_android
dorodnic Apr 23, 2020
03ccf6a
Merge pull request #6263 from himanshugarg/patch-2
ev-mp Apr 23, 2020
121eecf
Promote to v2.34.1
ev-mp Apr 23, 2020
59eac0b
Merge pull request #6176 from radfordi/t265-release-951
ev-mp Apr 23, 2020
027c067
Merge pull request #6297 from ev-mp/master
ev-mp Apr 24, 2020
a6275d8
Merge pull request #6294 from ev-mp/vb
ev-mp Apr 24, 2020
1daed06
performance improvement - skip occlusion removal if it's sensor
gwen2018 Apr 24, 2020
075bb00
cleanup
gwen2018 Apr 25, 2020
7325a4f
Add coruppted frame notification
Nir-Az Apr 26, 2020
30b2434
Merge remote-tracking branch 'origin/development' into add_notificati…
Nir-Az Apr 26, 2020
adb1e93
fix over agressive issue in glsl occlusion shader
gwen2018 Apr 26, 2020
93bdf0a
fix output variable name mismatch in glsl shaders
gwen2018 Apr 27, 2020
78ae4ef
Update corrupted frame notification
Nir-Az Apr 27, 2020
b50b414
rs-convert convert frames using sensor callback
Apr 27, 2020
40bc266
Merge pull request #6305 from Nir-Az/add_notification_for_corrupted_f…
dorodnic Apr 27, 2020
f159b9d
Merge pull request #6299 from gwen2018/glsl_occlusion
dorodnic Apr 27, 2020
17da7f3
new PID for L515
maloel Apr 28, 2020
85e15d7
Reducing exceptions
dorodnic Apr 27, 2020
ba1ae82
Adding metadata for new PID
dorodnic Apr 28, 2020
019887e
Update readme.md
dorodnic Apr 28, 2020
9f71e78
Merge pull request #6314 from dorodnic/l515_pid
dorodnic Apr 28, 2020
b8aea3b
Disable creation of unnecessary log files
AndrejOrsula Apr 28, 2020
8245b99
MATLAB wrappers for depth_frame::get_units()
mengyui Apr 28, 2020
6a61d5a
Fix aarch64/arm detection
ggardet Apr 29, 2020
9d0c65e
Merge pull request #6315 from AndrejOrsula/disable-empty-log-files
dorodnic Apr 29, 2020
c7a1105
Propagate 0x0b64 PID to MD patch
ev-mp Apr 29, 2020
8d8fde8
No mempool. Dirty. (#203)
apuzhevi Apr 27, 2020
eda49b6
SDP cache (#204)
apuzhevi Apr 27, 2020
8ffd15c
Reclamation fix. Session reclamantion set to 20s. (#205)
apuzhevi Apr 28, 2020
859898f
Only one client allowed. (#206)
apuzhevi Apr 29, 2020
0e5b2bb
Merge pull request #6325 from ev-mp/0xb64_pid
ev-mp Apr 30, 2020
e8044f4
Merge pull request #6328 from apuzhevi/ethernet
dorodnic May 3, 2020
9991089
Fixed bug on frame_validator RS5-7628 - When starting depth profile, …
aangerma May 3, 2020
e2f29d8
Fixes following CR
aangerma May 4, 2020
93e2971
Merge pull request #6344 from aangerma/rc2
maloel May 4, 2020
eeb1a09
Thermal Compensation option for D400 selected SKUs
ev-mp May 5, 2020
2310e9b
Merge remote-tracking branch 'origin/development' into mouse_picking2
dorodnic May 6, 2020
8c65644
manual gain setting fixed
May 6, 2020
1e2e339
Fixing exceptions from zero-order
dorodnic May 6, 2020
a1e4616
Adding shaded view
dorodnic May 6, 2020
0ad5227
Adding normals to 3D view
dorodnic May 6, 2020
c154124
fix compile error in get time
gwen2018 May 6, 2020
d849ab4
use pbo to improve readpixels performance
gwen2018 May 7, 2020
fab87bb
Normal optimisation
dorodnic May 7, 2020
70ebff5
Merge remote-tracking branch 'wen/point_cloud_measurement_gpu' into m…
dorodnic May 7, 2020
64f6b65
Merge pull request #6355 from aseelegbaria/gainsetting
ev-mp May 7, 2020
f727a82
Merge pull request #6350 from ev-mp/dso-14980
ev-mp May 7, 2020
d79487c
work in progress on pbo transfer
dorodnic May 7, 2020
40f461f
Changing to RGB
dorodnic May 7, 2020
9eb6e03
Relative seperation distance for pointclouds
dorodnic May 7, 2020
44adb1f
More viewer behaviour
dorodnic May 7, 2020
bbb0c91
Adding skybox
dorodnic May 9, 2020
b2af73e
Small refactoring in the viewer
dorodnic May 9, 2020
d713a3b
Fixing for high dpi display
dorodnic May 9, 2020
3ce4384
Switching format to F16
dorodnic May 9, 2020
f3d01e5
Merge branch 'mouse_picking2' of https://github.com/dorodnic/libreals…
dorodnic May 9, 2020
3a14830
Remove RC firmware
dorodnic May 9, 2020
74ac3ce
Add notification delay
dorodnic May 9, 2020
df5fe6c
Small UI changes
dorodnic May 9, 2020
facce66
Merge branch 'mouse_picking2' of https://github.com/dorodnic/libreals…
dorodnic May 9, 2020
148afc2
Simplifying the pointclound shader a bit
dorodnic May 9, 2020
b3537db
Merge branch 'mouse_picking2' of https://github.com/dorodnic/libreals…
dorodnic May 9, 2020
160ad87
Fix Syncer Memory Leak
MojamojaK May 9, 2020
55aa2a4
Extracting PBO
dorodnic May 9, 2020
2363c04
Minor changes
dorodnic May 9, 2020
b544626
Merge branch 'mouse_picking2' of https://github.com/dorodnic/libreals…
dorodnic May 9, 2020
305a140
Use half-floats?
dorodnic May 9, 2020
d943247
Merge branch 'mouse_picking2' of https://github.com/dorodnic/libreals…
dorodnic May 9, 2020
f45b4d9
Performance improvments + bug fix in occlusion invalidatio
dorodnic May 9, 2020
4c7b524
New 3D viewer design
dorodnic May 10, 2020
3dd75c5
Calculate normal in CPU
dorodnic May 10, 2020
ce3a617
Fixing the viewport
dorodnic May 10, 2020
e0d1453
Fixing opengl usage in couple of places
dorodnic May 10, 2020
31f3fe0
Fixing mouse picking in custom FB size
dorodnic May 10, 2020
44362c3
Reduce click effect
dorodnic May 10, 2020
1c8ed86
Merge branch 'mouse_picking2' of https://github.com/dorodnic/libreals…
dorodnic May 10, 2020
385ab83
Only mouse pick when needed
dorodnic May 11, 2020
9f02200
rs-convert fixes following code review
May 11, 2020
7a1cb55
Optimisations for integrated graphics
dorodnic May 11, 2020
cc6533f
rs-convert following code review
May 11, 2020
6e6cf74
More UX improvements
dorodnic May 11, 2020
caf36c0
Bump v2.35.0
ev-mp May 11, 2020
8b96829
Adding basic measurement functionality
dorodnic May 11, 2020
ca64c2e
Update rs-convert.cpp
aseelegbaria May 11, 2020
21e1527
Merge remote-tracking branch 'dorodnic/mouse_picking2' into translate…
gwen2018 May 12, 2020
2d9dbde
demo 3d to 2d translation
gwen2018 May 13, 2020
99464b4
Disable creation of unnecessary log files
AndrejOrsula Apr 28, 2020
c057b7b
No mempool. Dirty. (#203)
apuzhevi Apr 27, 2020
f76f3ec
SDP cache (#204)
apuzhevi Apr 27, 2020
de066b4
Reclamation fix. Session reclamantion set to 20s. (#205)
apuzhevi Apr 28, 2020
6fec10a
Only one client allowed. (#206)
apuzhevi Apr 29, 2020
d86d913
manual gain setting fixed
May 6, 2020
513f103
Thermal Compensation option for D400 selected SKUs
ev-mp May 5, 2020
97e950c
Add libcurl into realsense-viewer
Nir-Az May 5, 2020
2950553
add measurement label and origin occlusion detection, validate 3d to …
gwen2018 May 15, 2020
e7a6dc0
fix matrix multiplication inconsistency, ruler label position, and 3d…
gwen2018 May 15, 2020
9511442
fix origin
gwen2018 May 15, 2020
33c1b13
Small UI improvements
dorodnic May 16, 2020
bde8e5d
WIP on frustum decomposition
dorodnic May 16, 2020
7c8817b
Merge remote-tracking branch 'wen/translate_demo' into mouse_picking2
dorodnic May 16, 2020
8b696cc
Make camera model occlusion gradual
dorodnic May 16, 2020
0945fb1
Zoomed in mouse-picking
dorodnic May 16, 2020
0991f50
Simplifying the shader and refactoring
dorodnic May 16, 2020
105935e
Build cleanup
dorodnic May 16, 2020
ed445bd
Fixing small issues
dorodnic May 16, 2020
c0ce8ba
Improved measurement label
dorodnic May 16, 2020
b0df362
Improved UI and more agressive diffuse shading
dorodnic May 16, 2020
2d4cf35
Small UI fixes
dorodnic May 17, 2020
6271b21
Small measurements enhancements
dorodnic May 18, 2020
8371097
Allow moving the measurement points
dorodnic May 18, 2020
ba9d15d
auto updater - Refactor auto updater
Nir-Az May 12, 2020
f29dcda
Force libcurl lib name
Nir-Az May 18, 2020
16f46ed
metadata changes
May 18, 2020
cd52a99
metadata changes
May 18, 2020
8c64a12
metadata changes
May 18, 2020
9841911
Initial version of update UI
dorodnic May 18, 2020
f0c45c8
Fix and check libcurl on all built types
Nir-Az May 18, 2020
2f2f348
WIP on auto update UI
dorodnic May 18, 2020
e77613b
Release frame resource in PB callback if not required.
ev-mp May 18, 2020
ba3d782
Fix memleak in frame-validator PB
ev-mp May 18, 2020
873933d
Merge pull request #6416 from ev-mp/rc2
maloel May 19, 2020
2b9bd81
Merge remote-tracking branch 'sergey/Add_libcurl_library' into Add_li…
Nir-Az May 19, 2020
c1a5955
Merge pull request #6375 from MojamojaK/memory-leak
ev-mp May 19, 2020
5b5bdd5
Merge pull request #6417 from ev-mp/rs5-7715
ev-mp May 19, 2020
83d3f22
Merge pull request #6387 from ev-mp/bump_v2.35
ev-mp May 19, 2020
35716ca
Live555 version update.
apuzhevi May 19, 2020
f93e891
Add support for FW table scheme 106
ev-mp May 19, 2020
5ee4c15
Merge pull request #6420 from IntelRealSenseArchive/live555_version_u…
ev-mp May 19, 2020
0345d27
Fix Syncer Memory Leak
MojamojaK May 9, 2020
1302a83
Live555 version update.
apuzhevi May 19, 2020
a6abee1
Merge pull request #6422 from ev-mp/rc2
maloel May 19, 2020
e9b76ab
auto-updater fixes after code review
Nir-Az May 19, 2020
22cd775
update-handler replace json support REQUIRED with ESSENTIAL
Nir-Az May 19, 2020
b354758
Refactoring to detach progress manager from notifications
dorodnic May 19, 2020
7f52170
Adding firmware download and update flow
dorodnic May 19, 2020
8fb6825
Handle GCC warnings
ev-mp May 19, 2020
db80fa0
resolve dead-lock on multi-threaded notifications calls
ev-mp May 19, 2020
8b7b753
auto updater - replace download errors with LOG_ERROR
Nir-Az May 19, 2020
9813dae
Merge pull request #6427 from ev-mp/dl
ev-mp May 19, 2020
84b3373
Update rs_frame.hpp
krazycoder2k May 20, 2020
a10db1d
Merge pull request #6308 from aseelegbaria/convert
dorodnic May 20, 2020
5986907
Merge remote-tracking branch 'nir/Add_libcurl_library' into Add_libcu…
dorodnic May 20, 2020
78949d1
Merge branch 'Add_libcurl_library' of https://github.com/Nir-Az/libre…
dorodnic May 20, 2020
44db7ec
auto update - merged with UI
Nir-Az May 20, 2020
a8f58f3
Handle DQT YU fixes and enhancements
ev-mp May 20, 2020
0bb2efa
Merge pull request #6429 from ev-mp/fw_scheme_106
ev-mp May 20, 2020
2e684e7
Merge pull request #6434 from ev-mp/dqt_enh
ev-mp May 21, 2020
1337cca
Disable Thermal Compensation
ev-mp May 21, 2020
66e29cc
auto-update refactor + code review fixes
Nir-Az May 21, 2020
5f6b33b
Merge remote-tracking branch 'origin/development' into Add_libcurl_li…
Nir-Az May 21, 2020
1c6caf1
update url to new versions DB
Nir-Az May 21, 2020
93ab20e
WA for RS5-7726 Error message/crash when loading saved record
maloel May 22, 2020
753781e
Merge pull request #6438 from ev-mp/no_tl
ev-mp May 23, 2020
b56f0bd
Refresh updates on device removal
Nir-Az May 24, 2020
44952cf
Code review fixes
dorodnic May 24, 2020
5dd40d2
Enable confidence as texture source, auto switch to new textures and …
dorodnic May 24, 2020
a153223
Refactoring everything measurement related to a dedicated file
dorodnic May 24, 2020
9bdf4ce
Fixed code review comments
Nir-Az May 25, 2020
0fedd83
Fix cross compiling issues
Nir-Az May 25, 2020
cb4f0a4
Merge remote-tracking branch 'origin/development' into Add_libcurl_li…
Nir-Az May 25, 2020
090d7da
auto updates wrap with namespace
Nir-Az May 25, 2020
29a47e4
auto_updates capability
Nir-Az May 25, 2020
b3a4227
auto updates - rename namespace
Nir-Az May 25, 2020
8e68540
SW-Update cosmetics
Nir-Az May 25, 2020
cc70342
Feedback changes
krazycoder2k May 25, 2020
55a60df
More measurement enhancements
dorodnic May 25, 2020
457ff1f
Merge pull request #6450 from krazycoder2k/master
ev-mp May 26, 2020
d1219f3
namespace changes + GUI fixes
Nir-Az May 26, 2020
8000723
Seperate updates checking process from UI thread
Nir-Az May 27, 2020
8537306
Merge remote-tracking branch 'origin/development' into Add_libcurl_li…
Nir-Az May 27, 2020
c258646
Merge branch 't265-config-serial' of https://github.com/radfordi/libr…
dorodnic May 27, 2020
f717634
Fix unit-test for T265 with Serial, fix multicamera with LibUVC
dorodnic May 27, 2020
5050f72
Fix rs-multicam with T265
dorodnic May 27, 2020
ebe841b
SW Update - GUI updates after review
Nir-Az May 27, 2020
23c83c7
Fix bug: Detach event was sent instead of Attach event, when device w…
May 27, 2020
d2c8dd3
Merge pull request #6321 from ggardet/master
ev-mp May 28, 2020
840aef2
Merge pull request #6318 from mengyui/matlab-depth-frame-get-units
ev-mp May 28, 2020
03f0cfd
UI changes
Nir-Az May 28, 2020
b5cd001
Merge pull request #6470 from remibettan/android-attach-detach-correc…
ev-mp May 31, 2020
628a125
Support wildcard + UI cosmetics
Nir-Az May 31, 2020
78fabc0
UI updates
Nir-Az May 31, 2020
3387c90
fix memory leak in occlusion-filter
maloel May 31, 2020
d04376a
Promote D4xx FW to 5.12.5.0
ev-mp May 31, 2020
30fc3f1
Merge remote-tracking branch 'origin/rc2' into rc2_merge
maloel Jun 1, 2020
8263fea
remove false libusb error message.
doronhi Jun 1, 2020
b4f1ee0
Update DB URL
Nir-Az Jun 1, 2020
d141545
Merge branch 'development' into mouse_picking2
dorodnic Jun 1, 2020
267c5a3
Merge pull request #6488 from doronhi/wrong_usb_request_cancel_error
dorodnic Jun 1, 2020
9d117a5
Merge pull request #6484 from maloel/occ_mem_leak
dorodnic Jun 1, 2020
69f98bc
Fixing code review comment
dorodnic Jun 1, 2020
a0ec108
Add L515 firmware to internal update
Nir-Az Jun 1, 2020
d364c1b
Merge pull request #6467 from dorodnic/radfordi-t265-config-serial
dorodnic Jun 1, 2020
690df61
Merge pull request #6423 from dorodnic/mouse_picking2
ev-mp Jun 1, 2020
2a79d31
Merge pull request #6487 from maloel/rc2_merge
ev-mp Jun 1, 2020
afd90be
update imu calibration script for L515 devices
gwen2018 Jun 1, 2020
fda868d
update imu calibration white paper title and web link with CDE input
gwen2018 Jun 1, 2020
f28d78e
support L515 imu calibration intrinsc and motion correction
gwen2018 Jun 2, 2020
9fd415f
minor update
gwen2018 Jun 2, 2020
1982bb4
remove tabs
gwen2018 Jun 2, 2020
ace0ae1
update initial extrinsic parameters - need to verify
gwen2018 Jun 2, 2020
b9a6f70
Merge pull request #6492 from Nir-Az/Add_L515_signed_FW
ev-mp Jun 2, 2020
c5fe4ce
Revert "Add L515 firmware to internal update"
ev-mp Jun 2, 2020
f0b6572
Merge pull request #6497 from IntelRealSense/revert-6492-Add_L515_sig…
ev-mp Jun 2, 2020
213130e
max_power preset switch if L500 starts with default
maloel Jun 2, 2020
6a40be3
Merge remote-tracking branch 'origin/development' into Add_libcurl_li…
Nir-Az Jun 2, 2020
0855357
Merge pull request #6498 from maloel/max_power
dorodnic Jun 2, 2020
22e6fe0
sw_update_after_dev_merge
Nir-Az Jun 2, 2020
de196f1
Merge pull request #6494 from gwen2018/l515_imu_cal
ev-mp Jun 2, 2020
8569b45
Merge pull request #6500 from IntelRealSense/rc2
ev-mp Jun 2, 2020
29ed4cb
Merge pull request #6495 from gwen2018/l515_motion_correction_2
ev-mp Jun 2, 2020
a2ccc0a
Merge pull request #6457 from Nir-Az/Add_libcurl_library
ev-mp Jun 2, 2020
f321c6a
limit the window size to minimum 1 pixel
Nir-Az Jun 2, 2020
a31dd23
Merge pull request #6502 from Nir-Az/fix_viewer_exception
ev-mp Jun 2, 2020
5e3af1d
Fix Debian incompatible warnings, drop unused var
ev-mp Jun 2, 2020
1a9c3e6
Merge pull request #6503 from ev-mp/hot_fix
ev-mp Jun 2, 2020
2395445
Bump v2.35.1
ev-mp Jun 3, 2020
a9b2615
Merge pull request #6507 from ev-mp/2.35.1
ev-mp Jun 3, 2020
62f80c8
Libcurl Replace /MD with /MT
ev-mp Jun 3, 2020
3faf295
rebase to rc3 - handle imu table read issue
gwen2018 Jun 4, 2020
66dcb1c
Bump 2.35.2
ev-mp Jun 4, 2020
afeb4ac
Merge pull request #6517 from gwen2018/fix_imu_table_issue
ev-mp Jun 4, 2020
1d60e4e
Merge pull request #6521 from ev-mp/2352
ev-mp Jun 4, 2020
ba03444
Fix multi build configurations with libcurl
Nir-Az Jun 4, 2020
5b38be6
specify output lib dir
Nir-Az Jun 7, 2020
acae2ab
Revert "Libcurl Replace /MD with /MT"
Nir-Az Jun 7, 2020
5e6e48f
Add L515 firmware to internal update
ev-mp Jun 7, 2020
a3ae09f
Merge pull request #6539 from Nir-Az/support_multiple_build_configura…
ev-mp Jun 8, 2020
08230fe
Merge pull request #6541 from ev-mp/L515_FW_Upd
ev-mp Jun 8, 2020
030fa0f
SW update - UI updates
Nir-Az Jun 8, 2020
2680b04
SW-Update - Fix debian build errors
Nir-Az Jun 9, 2020
141166e
Revert "L515 motion correction 2"
ev-mp Jun 9, 2020
95f854b
Merge pull request #6548 from Nir-Az/UI_Updates
ev-mp Jun 9, 2020
91cc6c7
Merge pull request #6553 from ev-mp/l515_imu_revert
ev-mp Jun 9, 2020
8594d09
Merge pull request #6557 from IntelRealSense/rc3
ev-mp Jun 9, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ lib/
ubuntu-xenial/
ubuntu-xenial-hwe/

# Docs
doc/doxygen/html/
*.html.lnk

# CMake
build/
build*/
connectivity_check

# XCode
Expand Down Expand Up @@ -84,3 +88,4 @@ librealsense-log.txt
*.ini
*.cxx

.vscode/*
39 changes: 21 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ matrix:
language: cpp
env: VS15=false RS_CPP_TEST=true
script:
- cmake .. -G "Visual Studio 15 2017 Win64" -DBUILD_UNIT_TESTS=true -DBUILD_EXAMPLES=false -DBUILD_GRAPHICAL_EXAMPLES=false -DBUILD_WITH_TM2=false -DFORCE_WINUSB_UVC=true
- cmake .. -G "Visual Studio 15 2017 Win64" -DBUILD_UNIT_TESTS=true -DBUILD_EXAMPLES=false -DBUILD_GRAPHICAL_EXAMPLES=false -DBUILD_WITH_TM2=false -DFORCE_RSUSB_BACKEND=true -DCHECK_FOR_UPDATES=true
- cmake --build . --config $LRS_RUN_CONFIG -- -m
- cd $LRS_RUN_CONFIG
- ls
- ./live-test.exe -d yes -i [software-device]
- for i in ../records/single_cam/*; do ./live-test -d yes -i ~[multicam] from "$i"; done
- for i in ../records/multi_cam/*; do ./live-test -d yes -i [multicam] from "$i"; done
- unset LRS_LOG_LEVEL
- C:/Python38/python.exe ../../unit-tests/run-unit-tests.py --verbose .

- name: "Windows - cpp"
os: windows
language: cpp
env: VS15=true
script:
- cmake .. -G "Visual Studio 14 2015 Win64" -DBUILD_EXAMPLES=true -DBUILD_WITH_TM2=true
- cmake .. -G "Visual Studio 14 2015 Win64" -DBUILD_EXAMPLES=true -DBUILD_WITH_TM2=true -DCHECK_FOR_UPDATES=true
- cmake --build . --config $LRS_BUILD_CONFIG -- -m
- ls $LRS_BUILD_CONFIG

Expand All @@ -31,7 +31,7 @@ matrix:
language: cpp
env: VS15=true
script:
- cmake .. -G "Visual Studio 14 2015 Win64" -DBUILD_EXAMPLES=false -DBUILD_CSHARP_BINDINGS=true -DDOTNET_VERSION_LIBRARY="4.5" -DDOTNET_VERSION_EXAMPLES="4.5"
- cmake .. -G "Visual Studio 14 2015 Win64" -DBUILD_EXAMPLES=false -DBUILD_CSHARP_BINDINGS=true -DDOTNET_VERSION_LIBRARY="4.5" -DDOTNET_VERSION_EXAMPLES="4.5" -DCHECK_FOR_UPDATES=true
- cmake --build . --config $LRS_BUILD_CONFIG -- -m
- ls $LRS_BUILD_CONFIG

Expand All @@ -42,22 +42,22 @@ matrix:
dist: xenial
env: RS_CPP_TEST=true
script:
- cmake .. -DBUILD_UNIT_TESTS=true -DBUILD_EXAMPLES=false -DBUILD_WITH_TM2=false
- cmake .. -DBUILD_UNIT_TESTS=true -DBUILD_EXAMPLES=false -DBUILD_WITH_TM2=false -DCHECK_FOR_UPDATES=true
- cmake --build . --config $LRS_RUN_CONFIG -- -j4
- ./unit-tests/live-test -d yes -i [software-device]
- for i in ./records/single_cam/*; do ./unit-tests/live-test -d yes -i ~[multicam] from "$i"; done
- for i in ./records/multi_cam/*; do ./unit-tests/live-test -d yes -i [multicam] from "$i"; done

- name: "Linux - cpp"
- name: "Linux - cpp - static"
os: linux
language: cpp
sudo: required
dist: xenial
script:
- cd ../scripts && ./pr_check.sh && cd ../build
- cmake .. -DBUILD_EXAMPLES=true -DBUILD_WITH_TM2=true
- cmake .. -DBUILD_UNIT_TESTS=true -DBUILD_EXAMPLES=true -DBUILD_WITH_TM2=true -DBUILD_SHARED_LIBS=false -DCHECK_FOR_UPDATES=true
- cmake --build . --config $LRS_BUILD_CONFIG -- -j4
- ls
- python3 ../unit-tests/run-unit-tests.py --verbose .

- name: "Linux - python & nodejs"
os: linux
Expand All @@ -68,19 +68,21 @@ matrix:
node_js: "6"
env: LRS_BUILD_NODEJS=true
script:
- cmake .. -DBUILD_PYTHON_BINDINGS=true -DBUILD_NODEJS_BINDINGS=true -DPYBIND11_PYTHON_VERSION=2.7
- cmake .. -DBUILD_PYTHON_BINDINGS=true -DBUILD_NODEJS_BINDINGS=true -DPYBIND11_PYTHON_VERSION=2.7 -DCHECK_FOR_UPDATES=true
- cmake --build . --config $LRS_BUILD_CONFIG -- -j4
- cd ../wrappers/nodejs/test
- wget http://realsense-hw-public.s3.amazonaws.com/rs-tests/nodejs_record.rec
- mocha test-functional.js --playback nodejs_record.rec
- cd ../wrappers/nodejs/
- npm install
- cd test
- wget http://realsense-hw-public.s3.amazonaws.com/rs-tests/nodejs_records.rec
- mocha test-functional.js --playback nodejs_records.rec

- name: "Mac - cpp"
os: osx
language: cpp
sudo: required
osx_image: xcode7
script:
- cmake .. -DBUILD_EXAMPLES=true -DBUILD_WITH_OPENMP=false -DHWM_OVER_XU=false
- cmake .. -DBUILD_EXAMPLES=true -DBUILD_WITH_OPENMP=false -DHWM_OVER_XU=false -DCHECK_FOR_UPDATES=true
- cmake --build . --config $LRS_BUILD_CONFIG -- -j4
- ls

Expand All @@ -91,7 +93,7 @@ matrix:
dist: xenial
env: LRS_BUILD_ANDROID=true
script:
- cmake .. -DCMAKE_TOOLCHAIN_FILE=../android-ndk-r16b/build/cmake/android.toolchain.cmake
- cmake .. -DCMAKE_TOOLCHAIN_FILE=../android-ndk-r16b/build/cmake/android.toolchain.cmake -DCHECK_FOR_UPDATES=true
- cmake --build . --config $LRS_BUILD_CONFIG -- -j4
- ls

Expand All @@ -115,7 +117,7 @@ before_install:
- if [[ "$RS_CPP_TEST" == "true" ]]; then
export LRS_LOG_LEVEL="DEBUG";
url_records_path="http://realsense-hw-public.s3.amazonaws.com/rs-tests/lrs_2.8.3/";
records_name="records.txt";
records_name="records_test.txt";
url_records_list=$url_records_path$records_name;
wget $url_records_path$records_name;
tests_list=`cat $records_name`;
Expand All @@ -135,14 +137,15 @@ install:
fi

- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
choco install -y python3 --version 3.8.1;
if [[ "$VS15" == "true" ]]; then
choco install -y vcbuildtools --version 2015.4 --force;
fi
fi;
fi

- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew uninstall xctool;
brew install xctool --HEAD;
brew install homebrew/core/glfw3;
brew list libusb || brew install libusb;
fi
fi
5 changes: 0 additions & 5 deletions AUTHORS

This file was deleted.

11 changes: 5 additions & 6 deletions CMake/android_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,16 @@ macro(os_set_flags)
set(BUILD_WITH_OPENMP OFF)
set(BUILD_GRAPHICAL_EXAMPLES OFF)
set(ANDROID_STL "c++_static")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -pedantic -g -D_BSD_SOURCE")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC -pedantic -g -D_DEFAULT_SOURCE")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -pedantic -g -Wno-missing-field-initializers")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-switch -Wno-multichar")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fPIE -pie")

if(ANDROID_USB_HOST_UVC)
set(FORCE_LIBUVC OFF)
set(HWM_OVER_XU ON)
if(FORCE_RSUSB_BACKEND)
set(BACKEND RS2_USE_ANDROID_BACKEND)
set(HWM_OVER_XU ON)
set(IMPORT_DEPTH_CAM_FW OFF)
else()
set(FORCE_LIBUVC ON)
set(BACKEND RS2_USE_V4L2_BACKEND)
endif()
endmacro()
Expand Down
11 changes: 11 additions & 0 deletions CMake/connectivity_check.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# License: Apache 2.0. See LICENSE file in root directory.
# Copyright(c) 2019 Intel Corporation. All Rights Reserved.message(STATUS "Checking internet connection...")
file(DOWNLOAD "http://realsense-hw-public.s3-eu-west-1.amazonaws.com/Releases/connectivity_check" "${CMAKE_CURRENT_SOURCE_DIR}/connectivity_check" SHOW_PROGRESS TIMEOUT 5 STATUS status)
list (FIND status "\"No error\"" _index)
if (${_index} EQUAL -1)
message(STATUS "Failed to identify Internet connection")
set(INTERNET_CONNECTION OFF)
else()
message(STATUS "Internet connection identified")
set(INTERNET_CONNECTION ON)
endif()
28 changes: 28 additions & 0 deletions CMake/embedd_udev_rules.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
file(READ "config/99-realsense-libusb.rules" contents HEX)

set(UDEV_HEADER "${CMAKE_CURRENT_BINARY_DIR}/udev-rules.h")

file(WRITE "${UDEV_HEADER}" "#ifndef __UDEV_RULES_H__\n")
file(APPEND "${UDEV_HEADER}" "#define __UDEV_RULES_H__\n")
file(APPEND "${UDEV_HEADER}" "#ifdef __cplusplus\n")
file(APPEND "${UDEV_HEADER}" "extern \"C\" {\n")
file(APPEND "${UDEV_HEADER}" "#endif\n")

file(APPEND "${UDEV_HEADER}" "const char "
"realsense_udev_rules[] = {")

string(LENGTH "${contents}" contents_length)
math(EXPR contents_length "${contents_length} - 1")

foreach(iter RANGE 0 ${contents_length} 2)
string(SUBSTRING ${contents} ${iter} 2 line)
file(APPEND "${UDEV_HEADER}" "0x${line},")
endforeach()

file(APPEND "${UDEV_HEADER}" "};\n")

file(APPEND "${UDEV_HEADER}" "#ifdef __cplusplus\n")
file(APPEND "${UDEV_HEADER}" "}\n")
file(APPEND "${UDEV_HEADER}" "#endif\n")

file(APPEND "${UDEV_HEADER}" "#endif//\n")
47 changes: 47 additions & 0 deletions CMake/external_libcurl.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
if(CHECK_FOR_UPDATES)
include(ExternalProject)
message(STATUS "Building libcurl enabled")

set(CURL_FLAGS -DBUILD_CURL_EXE=OFF -DBUILD_SHARED_LIBS=OFF -DUSE_WIN32_LDAP=OFF -DHTTP_ONLY=ON -DCURL_ZLIB=OFF -DCURL_DISABLE_CRYPTO_AUTH=ON -DCMAKE_USE_OPENSSL=OFF -DCMAKE_USE_LIBSSH2=OFF -DBUILD_TESTING=OFF )
if (WIN32)
set(CURL_FLAGS ${CURL_FLAGS} -DCURL_STATIC_CRT=ON )
endif()

ExternalProject_Add(
libcurl
PREFIX libcurl
GIT_REPOSITORY "https://github.com/curl/curl.git"
GIT_TAG "53cdc2c963e33bc0cc1a51ad2df79396202e07f8" # curl-7_70_0
SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/third-party/libcurl
TEST_COMMAND ""
CMAKE_ARGS -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS}
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DCMAKE_C_FLAGS_DEBUG=${CMAKE_C_FLAGS_DEBUG}
-DCMAKE_C_FLAGS_MINSIZEREL=${CMAKE_C_FLAGS_MINSIZEREL}
-DCMAKE_C_FLAGS_RELEASE=${CMAKE_C_FLAGS_RELEASE}
-DCMAKE_C_FLAGS_RELWITHDEBINFO=${CMAKE_C_FLAGS_RELWITHDEBINFO}
-DCMAKE_CXX_STANDARD_LIBRARIES=${CMAKE_CXX_STANDARD_LIBRARIES}
-DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_BINARY_DIR}/libcurl/libcurl_install
-DCMAKE_INSTALL_LIBDIR=lib
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
-DANDROID_ABI=${ANDROID_ABI}
-DANDROID_STL=${ANDROID_STL} ${CURL_FLAGS}
)

set(CURL_DEBUG_TARGET_NAME "libcurl-d")
set(CURL_RELEASE_TARGET_NAME "libcurl")
add_library(curl INTERFACE)
add_definitions(-DCURL_STATICLIB) # Mandatory for building libcurl as static lib

target_include_directories(curl INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/libcurl/libcurl_install/include>)

# libcurl require ws2_32.lib for windows only
if (WIN32)
target_link_libraries(curl INTERFACE ws2_32.lib)
endif()

target_link_libraries(curl INTERFACE debug ${CMAKE_CURRENT_BINARY_DIR}/libcurl/libcurl_install/lib/${CURL_DEBUG_TARGET_NAME}${CMAKE_STATIC_LIBRARY_SUFFIX})
target_link_libraries(curl INTERFACE optimized ${CMAKE_CURRENT_BINARY_DIR}/libcurl/libcurl_install/lib/${CURL_RELEASE_TARGET_NAME}${CMAKE_STATIC_LIBRARY_SUFFIX})

endif() #CHECK_FOR_UPDATES
39 changes: 31 additions & 8 deletions CMake/global_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ include(GNUInstallDirs)
# include librealsense helper macros
include(CMake/lrs_macros.cmake)
include(CMake/version_config.cmake)
include(CMake/lrs_options.cmake)

if(ENABLE_CCACHE)
find_program(CCACHE_FOUND ccache)
Expand All @@ -25,6 +24,11 @@ macro(global_set_flags)
add_definitions(-DELPP_THREAD_SAFE)
add_definitions(-DELPP_NO_DEFAULT_LOG_FILE)

if (BUILD_GLSL_EXTENSIONS)
set(LRS_GL_TARGET realsense2-gl)
set(LRS_GL_LIB_NAME ${LRS_GL_TARGET})
endif()

if (ENABLE_ZERO_COPY)
add_definitions(-DZERO_COPY)
endif()
Expand All @@ -49,15 +53,32 @@ macro(global_set_flags)
add_definitions(-DRS2_USE_CUDA)
endif()

if(FORCE_LIBUVC)
set(BACKEND RS2_USE_LIBUVC_BACKEND)
message(STATUS "Using libuvc (by force)")
if (BUILD_SHARED_LIBS)
add_definitions(-DBUILD_SHARED_LIBS)
endif()

if (BUILD_INTERNAL_UNIT_TESTS)
add_definitions(-DBUILD_INTERNAL_UNIT_TESTS)
endif()

if (BUILD_WITH_CUDA)
include(CMake/cuda_config.cmake)
endif()

if(BUILD_PYTHON_BINDINGS)
include(libusb_config)
endif()

if(BUILD_NETWORK_DEVICE)
add_definitions(-DNET_DEVICE)
set(LRS_NET_TARGET realsense2-net)
endif()

if(CHECK_FOR_UPDATES)
include(CMake/external_libcurl.cmake)
add_definitions(-DCHECK_FOR_UPDATES)
endif()

add_definitions(-D${BACKEND} -DUNICODE)
endmacro()

Expand All @@ -79,15 +100,17 @@ macro(global_target_config)
$<INSTALL_INTERFACE:include>
PRIVATE ${USB_INCLUDE_DIRS}
)



endmacro()

macro(add_tm2)
message(STATUS "Building with TM2")
add_subdirectory(third-party/libtm)
include(libusb_config)
target_link_libraries(${LRS_TARGET} PRIVATE usb)
if(USE_EXTERNAL_USB)
add_dependencies(tm libusb)
add_dependencies(${LRS_TARGET} libusb)
endif()
target_compile_definitions(${LRS_TARGET} PRIVATE WITH_TRACKING=1 BUILD_STATIC=1)
target_link_libraries(${LRS_TARGET} PRIVATE tm ${CMAKE_THREAD_LIBS_INIT})
target_compile_definitions(${LRS_TARGET} PRIVATE WITH_TRACKING=1)
endmacro()
4 changes: 2 additions & 2 deletions CMake/install_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/realsense2ConfigVersion.cmake"
DESTINATION ${CMAKECONFIG_INSTALL_DIR}
)

install(CODE "execute_process(COMMAND ldconfig)")

# Set library pkgconfig file for facilitating 3rd party integration
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/config/realsense2.pc"
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig"
)

install(CODE "execute_process(COMMAND ldconfig)")
2 changes: 1 addition & 1 deletion CMake/libusb_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if (NOT TARGET usb)
find_path(LIBUSB_INC libusb.h HINTS PATH_SUFFIXES libusb-1.0)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(usb "libusb not found; using internal version" LIBUSB_LIB LIBUSB_INC)
if (USB_FOUND)
if (USB_FOUND AND NOT USE_EXTERNAL_USB)
add_library(usb INTERFACE)
target_include_directories(usb INTERFACE ${LIBUSB_INC})
target_link_libraries(usb INTERFACE ${LIBUSB_LIB})
Expand Down
Loading