Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2490 commits
Select commit Hold shift + click to select a range
99fa05b
tm-device: Let the user know if we can't communicate on startup
bfulkers-i Dec 17, 2019
64c753b
tm-device: Move to threaded data dispatch
bfulkers-i Dec 17, 2019
460fa80
Update readme.md
shiritbrook Dec 18, 2019
ea5712c
rs_sensor: pass on thrown errors from export_localization_map
radfordi Dec 18, 2019
2ef96a0
tm-device: ensure we stop threads when throwing from export_localizat…
radfordi Dec 18, 2019
892a13a
fix extrinsics right ir to depth translation issue
alowenst01 Dec 19, 2019
351ac98
record_sensor: pose_sensors can also be recorded
bfulkers-i Dec 19, 2019
60adf12
Added constructor for region of interest
Dec 19, 2019
23ee0ad
rs_sensor: move handle error up to emphaise that !map should should i…
radfordi Dec 19, 2019
854d3ae
tm-device: keep polling for logs while stopping
radfordi Dec 20, 2019
0047589
tm-device: avoid casting by accessing the header
radfordi Dec 20, 2019
38a33d9
tm-device: fewwer debug message for maps
radfordi Dec 20, 2019
b35fded
Merge branch 'development' of https://github.com/IntelRealSense/libre…
alowenst01 Dec 23, 2019
9b7df83
fix extrinsics commutativity
alowenst01 Dec 23, 2019
c12b95a
fix recording crash
alowenst01 Dec 23, 2019
4204753
suppress -Wpatantic in glad.c
tylerjw Dec 23, 2019
7c2b1c2
cosmetic changes according to Evgeni's comment
alowenst01 Dec 24, 2019
536a93f
Add Clone method to VideoStreamProfile
ogoshen Dec 24, 2019
d378431
Merge branch 'development' of https://github.com/IntelRealSense/libre…
ogoshen Dec 24, 2019
4c76dfe
Fix reported HID frame size required for unpacker
Dec 24, 2019
1373bec
Fix behaviour of motion correction control for D400:
Dec 24, 2019
a3d89f9
Merge pull request #5522 from arilowen/recording-crash
ev-mp Dec 25, 2019
7c315ed
Merge pull request #5521 from arilowen/fix-extrinsics
ev-mp Dec 25, 2019
86aa11c
Merge pull request #5213 from bfulkers-i/t265_direct
ev-mp Dec 26, 2019
936a22b
Add support for ColorSensor, MotionSensor, FisheyeSensor in C#, node-JS
doronhi Dec 26, 2019
e569263
Upgrade T265 firmware to 0.2.0.908
radfordi Dec 21, 2019
9ea8fd7
Merge pull request #5526 from tylerjw/p/tylerjw/warnings
dorodnic Dec 29, 2019
600cbc0
Merge pull request #5495 from compscidr/feature/jason/add-python-cons…
dorodnic Dec 29, 2019
23ede77
Merge pull request #5443 from jirislaby/Waddress
dorodnic Dec 29, 2019
3b01c08
Merge pull request #5465 from jamieforth/bug/gl-headers
dorodnic Dec 29, 2019
0bd0906
Merge pull request #5444 from jirislaby/PIC
dorodnic Dec 29, 2019
833d421
Add Clone method to VideoStreamProfile
ogoshen Dec 30, 2019
3516e90
Add COLOR_SENSOR, MOTION_SENSOR, FISHEYE_SENSOR to librealsense::get_…
doronhi Dec 30, 2019
823fde6
Merge pull request #5468 from doronhi/add_sensor_extensions
dorodnic Dec 30, 2019
29a9cc4
Merge pull request #5387 from bfulkers-i/polling_race
dorodnic Dec 30, 2019
179118b
Merge pull request #5155 from mengyui/pyglet-fix
dorodnic Dec 30, 2019
f4caf68
Merge pull request #5356 from honpong/ar-advanced
dorodnic Dec 30, 2019
f5a14bb
Merge pull request #5264 from neilyoung/patch-1
dorodnic Dec 30, 2019
80a20d8
Merge pull request #5529 from ogoshen/development
dorodnic Dec 30, 2019
29e4fa3
Init z16h: establish format, processing block infrastructure
Dec 25, 2019
6ba9e2d
Assign Z16H required firmware version. OpenGl render to exclude compr…
Dec 25, 2019
b376b0d
Decoder processing block and its integration with realsense-viewer
Dec 26, 2019
ead29fe
Add raw_size metadata attribute required for Huffman depth decoding.
Dec 30, 2019
4adb041
Replace non-UTF characters
Dec 30, 2019
3b5c2ad
Add Huffman decoder for pointcloud renderer
Dec 30, 2019
b4997e7
Adjust processing block to handle Z16H outputs as Depth frames.
Dec 30, 2019
fae5eaf
Handle GCC warnings
Dec 30, 2019
613d758
Add Z16H format to kernel patch.
Dec 30, 2019
6d41748
Add Huffman decoder to wrappers: C#, Python
Dec 30, 2019
7e12ffd
Drop comments
Dec 31, 2019
c6fb180
Add color_sensor, motion_sensor, fisheye_sensor to ros_reader (enable…
doronhi Jan 1, 2020
8082101
fix playback and record in regards with color, motion and fisheye ext…
doronhi Jan 1, 2020
7703838
Added action_delayer
aangerma Jan 2, 2020
92b13d3
Remove option - gamma correction.
aangerma Jan 2, 2020
5c6cff0
Merge pull request #5574 from aangerma/development
dorodnic Jan 2, 2020
6a89599
feat: add is_streaming interface to rs2::sensor
DrCodeWizzard Jan 3, 2020
eb71576
Specify Z16H FW minimal version.
Jan 2, 2020
eaf8df7
Fix metadata handling for Z16H compressed stream w/o metadata node
Jan 4, 2020
50ef7d4
Unit-tests adjustments
Jan 4, 2020
f4a2733
Fixed some warnings from headers
maloel Dec 11, 2019
db3bcf9
fixed openvino test-cases in static build
maloel Dec 31, 2019
d2fe3c7
Adjust patch flags for retrofitted patch
Jan 5, 2020
73e76e4
log_to_callback + unit-tests
maloel Dec 5, 2019
cb453b5
Bump version to v2.32.0
Jan 5, 2020
3a6e75c
Add support for POWER9 CPUs on Linux.
AlbertoGP Jan 5, 2020
bbb4b25
Enable Z16H with RSUSB backend
Jan 5, 2020
c331be9
Merge pull request #5534 from ev-mp/motion_correction_fix
dorodnic Jan 5, 2020
8515b98
Merge branch 'development' into z16h_pr
ev-mp Jan 5, 2020
6d6ead5
Merge pull request #5564 from ev-mp/z16h_pr
dorodnic Jan 5, 2020
eceb0d7
L500 duplicated IR frame fix
alowenst01 Jan 6, 2020
018c303
log_to_callback adjustments, based on feedback
maloel Jan 6, 2020
c848cc4
Drop IR frames from Zero-Order output
alowenst01 Jan 7, 2020
306e68a
Merge pull request #5504 from radfordi/t265-release-908
dorodnic Jan 7, 2020
33ec0a3
community projects - hardware depth encoding example
bmegli Jan 7, 2020
86280d3
Update readme.md
shiritbrook Jan 7, 2020
69bfb11
Adding link to a community project
dorodnic Jan 11, 2020
4e831cf
Adding link to the Erwhi Hedgehog
dorodnic Jan 11, 2020
950b923
remove accel 50fps profile
alowenst01 Jan 12, 2020
d637f3f
Removing fw-logger duplicate logic from android tree
remibettan Jan 13, 2020
64f33d4
CMake configuration and include to header in cpp changed to use files…
remibettan Jan 13, 2020
e7072ea
Timestamp from metadata casted to long only when inserted into string…
remibettan Jan 13, 2020
7f1db1a
HWM_OVER_XU is set ON even when FORCE_RSUSB_BACKEND is not enabled
remibettan Jan 13, 2020
a553adf
Merge pull request #3 from remibettan/merge-android-branch
arilowen Jan 13, 2020
7ef38d9
Adding space in printed string and checking HW PRESET is supported be…
remibettan Jan 13, 2020
c4894f3
Removing useless line
remibettan Jan 13, 2020
e39e9be
Merge pull request #4 from remibettan/merge-android-branch
arilowen Jan 13, 2020
ba6fada
Trim frame size when the metadata is present but invalid
Jan 13, 2020
64639e2
Promote to v2.32.0.7
Jan 13, 2020
1e2b6a4
Remove debugging section
Jan 13, 2020
20acb33
Include stddef in usbhost.h
jonberling Jan 13, 2020
e78d394
global ts base preecision and filtering
cchen6 Jan 14, 2020
63f04c2
Merge pull request #5637 from jonberling/patch-1
dorodnic Jan 14, 2020
8642cb4
Fix size condition
Jan 14, 2020
a969435
Reduce warning to info for Huffman decode failures. Hanldle GCC pedan…
Jan 14, 2020
f407d0a
Introduce heuristic logic for extraction of metadata for compressed s…
Jan 14, 2020
940b3d9
Enable record/playback rosbags for Z16H
Jan 14, 2020
c5a8d7d
realsense-viewer: avoid creating unused contexts
radfordi Jan 10, 2020
f8371f9
Let ux_window's pops use a shared context
radfordi Jan 15, 2020
15d237f
Make T265 serial number match the output of lsusb/"system_profiler SP…
radfordi Jan 9, 2020
a00dcd0
Formatting string of double instead of casting it to long
remibettan Jan 15, 2020
b767467
Merge pull request #5 from remibettan/merge-android-branch
arilowen Jan 15, 2020
95cbea5
Merge pull request #5636 from ev-mp/frame_size_segfault
dorodnic Jan 15, 2020
b6bd25f
Fix depth measurement with mouse pointer. Promote to v2.32.1.0
Jan 15, 2020
18c95b9
Merge pull request #5649 from ev-mp/z16h_viewer_depth_measurement
dorodnic Jan 16, 2020
cf2f208
Merge pull request #5627 from arilowen/remove-50fps-hid-profiles
dorodnic Jan 16, 2020
a51e737
Upgrade T265 firmware to 0.2.0.926
radfordi Jan 16, 2020
e612577
restore milli-sec precision
cchen6 Jan 17, 2020
87c59ff
remove get_time_ns
cchen6 Jan 17, 2020
9ccb6e4
using duration for compare
cchen6 Jan 17, 2020
1f12c6c
initialize device_to_host_ns to constructor
cchen6 Jan 17, 2020
f52b48f
image time sync code update
cchen6 Jan 17, 2020
dc863aa
chrono::abs() not supported on pre-c++17
cchen6 Jan 18, 2020
416338b
use ts.global_ts for update
cchen6 Jan 18, 2020
7ffeb61
Add heuristic to drop UVC overflow frames with v4l kernel prior to v4.16
Jan 19, 2020
8860ed8
Merge pull request #5677 from ev-mp/overflow_frame
dorodnic Jan 19, 2020
6592526
Update readme.md
krazycoder2k Jan 20, 2020
a3307ad
Option to enable metadata with single click on Windows
dorodnic Jan 19, 2020
fa8ad65
Adding extrinsic/intrinsic scan toggle to on-chip and tare calibratio…
dorodnic Jan 20, 2020
5f9a51e
Fixing on-chip and tare using USB2 in DQT
dorodnic Jan 20, 2020
741d3ec
Give special treatment to crop resolution used in OCC
dorodnic Jan 20, 2020
5f1f7ac
Merge pull request #5589 from arilowen/l500-duplicated-ir-fix
dorodnic Jan 20, 2020
0c2f7a4
Merge pull request #5419 from arilowen/merge-android-branch
dorodnic Jan 20, 2020
9552398
Merge pull request #5633 from remibettan/core-removeLine
dorodnic Jan 20, 2020
acf296a
Merge pull request #5626 from IntelRealSense/dorodnic-patch-1
dorodnic Jan 20, 2020
db6cd95
Merge pull request #5679 from krazycoder2k/patch-3
dorodnic Jan 21, 2020
970f260
Merge branch 'development' into patch-1
dorodnic Jan 21, 2020
4800cb0
Merge pull request #5586 from AlbertoGP/development
dorodnic Jan 21, 2020
7967668
Merge pull request #5573 from doronhi/add_sensor_extensions
dorodnic Jan 21, 2020
c2ef215
Test again for Win7 CI failure
cchen6 Jan 21, 2020
3b780d2
Add support for remove_static_node
radfordi Jan 16, 2020
04887e2
unit-tests-common: avoid assignment in if without extra parens warning
radfordi Jan 16, 2020
4d25100
unit-tests-live: actually check json strings for equality
radfordi Jan 16, 2020
47d09a3
unit-tests-post-processing: avoid assignment in if without extra pare…
radfordi Jan 21, 2020
6b768f8
unit-tests-post-processing-from-bag: cast to the correct type before …
radfordi Jan 21, 2020
5e97d0e
fix possible bug in device-hid detection
maloel Jan 22, 2020
26e9b75
Code-review fixes
dorodnic Jan 22, 2020
2264818
Re-enable back light compensation for the D465 - adding to this branc…
dorodnic Jan 22, 2020
63ca8a7
Merge pull request #5597 from bmegli/patch-1
dorodnic Jan 22, 2020
5190393
Merge pull request #5639 from cchen6/global_ts_base
dorodnic Jan 22, 2020
7ab4121
More code review fixes
dorodnic Jan 23, 2020
d51c02d
fix compilation warnings
maloel Jan 22, 2020
2b0868e
Merge pull request #5691 from maloel/cap
dorodnic Jan 23, 2020
20a65bc
Merge pull request #5687 from radfordi/t265-release-926
ev-mp Jan 23, 2020
6006739
Merge pull request #5678 from dorodnic/install_metadata
dorodnic Jan 23, 2020
2d1254f
Merge pull request #5697 from maloel/warnings
dorodnic Jan 23, 2020
8ab9455
Promote the recommended FW to v5.12.2.100
Jan 23, 2020
83f952a
Merge pull request #5700 from ev-mp/fw_5.12.2.100
ev-mp Jan 23, 2020
50d427d
Fix for conversion from RGB to BGR in the OpenCV wrapper helpers file
cedriclmenard Jan 23, 2020
2a4d9b8
Fix typos
ruffsl Jan 28, 2020
674402b
Fix what appears to be a copy/paste redundant code problem.
JTrantow Jan 28, 2020
271bf1e
Cleanup compiler warnings from zero-order.
JTrantow Jan 29, 2020
cde079b
Remove the std::move() on const. See Issue5746.
JTrantow Jan 29, 2020
c41c209
Fix UVC and metadata node matching in v4l using non-lexicographic sor…
Jan 26, 2020
9532ef1
Remove the \\todo comment. Just use doubles.
JTrantow Jan 30, 2020
5342591
for loop uses a UCHAR but compares to 256 (which in not within the ra…
JTrantow Jan 30, 2020
cf14a2e
Adding L500 camera model to camera renderer
dorodnic Feb 1, 2020
ac738b2
Merge pull request #5724 from ruffsl/patch-1
ev-mp Feb 2, 2020
f0acb5c
Update kernel patches for Ubuntu LTS branches 5.0 and 5.3
Jan 21, 2020
8db4807
Reenable unattended patch by overriding `patch --merge` inconsistency…
Jan 27, 2020
826d736
Use unified patches for all kernel 5 branches
Jan 28, 2020
4da97fd
Adjust metadata validation heuristics in SKU-neutral manner to allow …
Jan 28, 2020
65ef78c
Verification for Metadata/Video extaction with kernel 5.3
Jan 29, 2020
9a68a8e
Fix hardware fps calculation when the frame number being reset intern…
Jan 30, 2020
e46b06b
Remove and adjust v4l debug messages
Jan 30, 2020
cc9a189
Revert "Fixing on-chip and tare using USB2 in DQT" and more clean fix
dorodnic Feb 2, 2020
0f9d322
Check libusb return value to prevent null dereferencing and segfault.…
Jan 22, 2020
81dfccf
rs-enumerate-behavior fixes and enhancements:
Feb 2, 2020
a10b64d
rs-enumerate-devices doc. update
Feb 2, 2020
7286285
Merge pull request #5702 from cedriclmenard/fix_opencv_wrapper_rgb_to…
ev-mp Feb 2, 2020
3ca3135
Better depth hover text
dorodnic Feb 2, 2020
21d8e4e
Fix integrity error in tare calib
dorodnic Feb 3, 2020
de606ce
Add apply preset param to OCC and tare
dorodnic Feb 3, 2020
5fb13ec
Moving some code around
dorodnic Feb 3, 2020
d5dd1e3
Merge branch 'development' into log
dorodnic Feb 3, 2020
9dbf295
Merge pull request #5751 from ev-mp/kernel_5.3_debug
dorodnic Feb 3, 2020
cab48f2
Merge pull request #5747 from rpadak/Issue5746
dorodnic Feb 3, 2020
d188511
Merge pull request #5623 from radfordi/one-viewer-context
dorodnic Feb 3, 2020
908232d
initial hid fix
maloel Jan 22, 2020
16b97e4
HID unique ID fix for multiple devices
maloel Jan 22, 2020
972c750
CR fixes
maloel Feb 3, 2020
88b3128
Merge pull request #5698 from maloel/hid
ev-mp Feb 3, 2020
547f588
Fix unsigned/signed metadata size calculation
Feb 3, 2020
60f59d9
Remove redundand log messages. Enforce adding Librealsense version to…
Feb 3, 2020
769ff8a
Merge pull request #5584 from maloel/log
maloel Feb 4, 2020
10a248f
Code Review fixes
Feb 4, 2020
b557e47
Merge pull request #5771 from ev-mp/fix_md_calc
maloel Feb 4, 2020
d930dd0
CR fixes
Feb 4, 2020
ffbdbb0
Merge pull request #5772 from ev-mp/gcc_warnings
ev-mp Feb 4, 2020
698da32
Merge pull request #5769 from dorodnic/l500_render
ev-mp Feb 4, 2020
cc54e25
Merge pull request #5750 from rpadak/Issue5731
ev-mp Feb 4, 2020
84e40c0
Merge pull request #5716 from ev-mp/device_ctor_failure
ev-mp Feb 4, 2020
c8d4acf
Added preset to l500
aangerma Jan 15, 2020
1f0453a
Fixes for linux
aangerma Jan 26, 2020
b6d36db
Code review fixes.
aangerma Jan 28, 2020
1d659a5
More fixes
aangerma Feb 2, 2020
a05bb6e
More fixes following code review.
aangerma Feb 2, 2020
b5d8e69
More fixes
aangerma Feb 4, 2020
fa1ab09
Add RS2_OPTION_FREEFALL_ENABLED
maloel Feb 4, 2020
e297a72
Merge pull request #5645 from radfordi/t265-lsusb-serial
dorodnic Feb 4, 2020
0d1bab8
CR fixes
maloel Feb 5, 2020
98aa619
Fix typo
pjessesco Feb 5, 2020
fc2c7b2
Disable all L515 processing blocks except temporal filter
maloel Feb 5, 2020
72018d0
Add additional exception handler information
maloel Feb 5, 2020
ee931d8
Merge pull request #5785 from pjessesco/master
dorodnic Feb 5, 2020
9e8133b
Merge pull request #5791 from maloel/l500-blocks
ev-mp Feb 5, 2020
d363eb9
Merge pull request #5768 from dorodnic/occ_fixes
dorodnic Feb 5, 2020
b38e7b3
fixing android multicamera race conditions
remibettan Jan 23, 2020
105fbad
stream profiles enum updated
remibettan Jan 26, 2020
8d06942
DepthSensor and ColorSensor classes added to android
remibettan Jan 26, 2020
b309ef8
pipeline CTOR added with context as input
remibettan Jan 27, 2020
a2f4808
Merge pull request #5780 from maloel/freefall
ev-mp Feb 6, 2020
7d2a372
pul-request review corrections
remibettan Feb 6, 2020
d51f292
adding throws RuntimeException to the method signature
remibettan Feb 6, 2020
f7970c6
Updatable in try
remibettan Feb 5, 2020
15e49d3
revert debug code
remibettan Feb 5, 2020
b44a29d
adding try statement to other places in code
remibettan Feb 5, 2020
04ad58f
Merge branch 'l500_controls' into devel
aangerma Feb 6, 2020
e863bd8
Merge pull request #5789 from remibettan/DSO-14133
dorodnic Feb 6, 2020
1681e6d
Merge pull request #5734 from rpadak/pull5733
dorodnic Feb 6, 2020
8c616ea
Merge pull request #5792 from remibettan/android-streamer-start-time-…
ev-mp Feb 6, 2020
82fa70e
More fixes
aangerma Feb 6, 2020
c7f0c42
Added by_pass_composite_matcher
aangerma Feb 5, 2020
34d59a1
CR fixes
aangerma Feb 6, 2020
3be0637
Merge pull request #5796 from aangerma/imu_stuck
ev-mp Feb 6, 2020
183c87d
Add user input validation to prevent out-of-bound access.
Feb 6, 2020
5ac21b2
Fixed resolution_option
aangerma Feb 6, 2020
d3f609f
Fixed typo
aangerma Feb 6, 2020
2d20e54
Refactor xml parser to parse key:value pairs.
Feb 6, 2020
4e4af79
Merge pull request #5741 from aangerma/l500_controls
ev-mp Feb 6, 2020
0eb2fe8
Update supported kernels
ev-mp Feb 6, 2020
7a6223a
CR fixes
ev-mp Feb 6, 2020
10da58e
Merge pull request #5801 from ev-mp/dso-14405
ev-mp Feb 6, 2020
b521ffd
Bump to v2.33.0
Feb 6, 2020
a1f2961
Adding link to latest labview package
dorodnic Feb 18, 2020
2c53e53
revert void*->char* change to preserve backwards compat
maloel Feb 9, 2020
8d4850f
fw update crash fix
remibettan Feb 10, 2020
0be2b29
minor changes from code review
remibettan Feb 11, 2020
9d72c65
using log instead of LOGGER_ERROR because of linkage correction in wi…
remibettan Feb 11, 2020
09589f8
lines reordered in rder to log before exception throw
remibettan Feb 11, 2020
da66c7c
Fix memory leak in v4l2 backend on kernel 5.3
Feb 20, 2020
04d3019
Bump version to v2.33.1
Feb 24, 2020
4d7c040
Merge pull request #5900 from ev-mp/rc
dorodnic Feb 26, 2020
06441e5
Reverting merge mistake
dorodnic Feb 26, 2020
9c845f5
Rectify license of the INF file
dorodnic Feb 17, 2020
032b758
Comment on the wrappers
dorodnic Feb 26, 2020
299a524
Merge pull request #5923 from dorodnic/rc
dorodnic Feb 26, 2020
9a2f2cf
Promote D4xx firmware version to 5.12.3.0
Feb 27, 2020
2e0a03e
Merge pull request #5946 from ev-mp/rc
ev-mp Mar 1, 2020
842ee1e
Merge pull request #5948 from ev-mp/master
ev-mp Mar 1, 2020
a787fa9
fix: Merge tag 'v2.33.1' into feature/v2.33.1_with_6RS_changes
DrCodeWizzard Apr 30, 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
  •  
  •  
  •  
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ lib/
ubuntu-xenial/
ubuntu-xenial-hwe/

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

# CMake
build/
build*/
connectivity_check

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

.vscode/*
239 changes: 125 additions & 114 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,142 +1,153 @@
os:
- linux
- osx
env:
global:
- LRS_BUILD_CONFIG=Debug
- LRS_RUN_CONFIG=Release
matrix:
include:
- name: "Windows Testing - cpp, Win USB (Win7)"
os: windows
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_RSUSB_BACKEND=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 --build . --config $LRS_BUILD_CONFIG -- -m
- ls $LRS_BUILD_CONFIG

language: cpp
- name: "Windows - C#"
os: windows
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 --build . --config $LRS_BUILD_CONFIG -- -m
- ls $LRS_BUILD_CONFIG

sudo: required
dist: trusty
osx_image: xcode7
- name: "Linux Testing - cpp"
os: linux
language: cpp
sudo: required
dist: xenial
env: RS_CPP_TEST=true
script:
- cmake .. -DBUILD_UNIT_TESTS=true -DBUILD_EXAMPLES=false -DBUILD_WITH_TM2=false
- 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 - static"
os: linux
language: cpp
sudo: required
dist: xenial
script:
- cd ../scripts && ./pr_check.sh && cd ../build
- cmake .. -DBUILD_UNIT_TESTS=true -DBUILD_EXAMPLES=true -DBUILD_WITH_TM2=true -DBUILD_SHARED_LIBS=false
- cmake --build . --config $LRS_BUILD_CONFIG -- -j4
- python3 ../unit-tests/run-unit-tests.py --verbose .

- name: "Linux - python & nodejs"
os: linux
language: cpp
sudo: required
dist: xenial
python: "2.7"
node_js: "6"
env: LRS_BUILD_NODEJS=true
script:
- cmake .. -DBUILD_PYTHON_BINDINGS=true -DBUILD_NODEJS_BINDINGS=true -DPYBIND11_PYTHON_VERSION=2.7
- cmake --build . --config $LRS_BUILD_CONFIG -- -j4
- 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 --build . --config $LRS_BUILD_CONFIG -- -j4
- ls

- name: "Android - cpp"
os: linux
language: cpp
sudo: required
dist: xenial
env: LRS_BUILD_ANDROID=true
script:
- cmake .. -DCMAKE_TOOLCHAIN_FILE=../android-ndk-r16b/build/cmake/android.toolchain.cmake
- cmake --build . --config $LRS_BUILD_CONFIG -- -j4
- ls

before_install:
# Install nodejs via nvm
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash;
source ~/.bashrc;
nvm install 6 && nvm use 6;
- cd scripts && ./api_check.sh && cd ..
- if [[ "$LRS_BUILD_NODEJS" == "true" ]]; then
nvm use 6;
npm install -g node-gyp;
npm install -g mocha;
fi
# Remove duplicated python 2.x, only leave python2.7; Otherwise node-gyp will complain and stop
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
for i in `pyenv versions|sed 's/ //g'|grep "^2"`; do if [ $i = "2.7" ]; then continue; else pyenv uninstall -f $i; fi; done;
fi
# Run linter
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git;
export OLDPATH=$PATH && export PATH=$PATH:$(pwd)/depot_tools;
cd wrappers/nodejs/tools && npm install && cd ..;
node ./tools/linter.js;
export PATH=$OLDPATH && unset OLDPATH && cd ../../;
fi

# Get logical CPU number
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export CPU_NUM=`grep -c ^processor /proc/cpuinfo`;
elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
export CPU_NUM=`sysctl -n hw.logicalcpu_max`;
- if [[ "$LRS_BUILD_ANDROID" == "true" ]]; then
wget https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip;
unzip -q android-ndk-r16b-linux-x86_64.zip -d ./;
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;
- mkdir build && cd build
- 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_test.txt";
url_records_list=$url_records_path$records_name;
wget $url_records_path$records_name;
tests_list=`cat $records_name`;
for record in $tests_list; do echo $url_records_path$record; wget $url_records_path$record -P "records/"$(echo $record | cut -d '/' -f 1); done;
fi

# Install linux required packages
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test;
sudo apt-get update;
sudo apt-get install -qq build-essential xorg-dev libgl1-mesa-dev libglu1-mesa-dev libglew-dev libglm-dev;
sudo apt-get install -qq libusb-1.0-0-dev;
sudo apt-get install -qq libgtk-3-dev;
sudo apt-get install -qq python python-dev;
sudo apt-get install gcc-5 g++-5;
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5;
sudo apt-get install libglfw3-dev libglfw3;
fi

install:
# Install nodejs via nvm
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
wget https://github.com/glfw/glfw/releases/download/3.1.1/glfw-3.1.1.zip;
unzip glfw-3.1.1.zip && cd glfw-3.1.1;
cmake -G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON;
make -j $CPU_NUM;
sudo make install && cd ..;
- 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
#Unit-Test Suite
# Each successful build will invoke a set of predefined unit-test that will run from recorded live test sessions
# The records are available for download from the location specified in the tests, and are arranged in the following convention
# |
# |---| ..
# | | Records.txt
# | |
# | | single_cam
# | | ..
# | | Recorded_Test_1
# | | Recorded_Test_2
# | | ......
# |
# | | multi_cam
# | | ..
# | | Recorded_Test_3
# | | Recorded_Test_4
# | | ......
# |
# The content of Records.txt is a list of all record paths one per line, e.g:
# single_cam/Recorded_Test_1
# single_cam/Recorded_Test_2
# multi_cam/Recorded_Test_3
# multi_cam/Recorded_Test_4
#
script:
# Exit immediately if a command exits with a non-zero status
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
set -e;
pyenv install 3.6.1;
pyenv local `pyenv versions|sed 's/ //g'|grep "^3"|tail -1`;

cd scripts;
./api_check.sh;
cd ..;

mkdir build && cd build;
cmake .. -DBUILD_EXAMPLES:BOOL=true -DBUILD_PYTHON_BINDINGS:BOOL=true -DBUILD_NODEJS_BINDINGS:BOOL=true -DBUILD_UNIT_TESTS:BOOL=true;
make -j $CPU_NUM;
sudo "PATH=$PATH" make install;

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";
url_records_list=$url_records_path$records_name;
wget $url_records_path$records_name;
tests_list=`cat $records_name`;

echo "Downloading unit-test records...";
for record in $tests_list; do echo $url_records_path$record; wget $url_records_path$record -P "records/"$(echo $record | cut -d '/' -f 1); done;

./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;

echo "Build RealSense SDK for Android...";
cd ../;
wget https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip;
unzip android-ndk-r16b-linux-x86_64.zip -d ./;
mkdir build_android && cd build_android;
cmake .. -DCMAKE_TOOLCHAIN_FILE=../android-ndk-r16b/build/cmake/android.toolchain.cmake;
make -j $CPU_NUM;
fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
mkdir build && cd build;
cmake .. -DBUILD_EXAMPLES:BOOL=true -DBUILD_WITH_OPENMP=false -DHWM_OVER_XU=false;
make -j $CPU_NUM;
fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
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 ../../..;
fi
brew uninstall xctool;
brew install xctool --HEAD;
brew install homebrew/core/glfw3;
brew list libusb || brew install libusb;
fi
5 changes: 0 additions & 5 deletions AUTHORS

This file was deleted.

Loading