forked from IntelRealSense/librealsense
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lots of work on matlab half of the wrapper
- Loading branch information
Lior Ramati
committed
Aug 14, 2018
1 parent
30e7fc9
commit 7ecf0a5
Showing
24 changed files
with
574 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
classdef camera_info < int64 | ||
enumeration | ||
name ( 0) | ||
serial_number ( 1) | ||
firmware_version ( 2) | ||
recommended_firmware_version ( 3) | ||
physical_port ( 4) | ||
debug_op_code ( 5) | ||
advanced_mode ( 6) | ||
product_id ( 7) | ||
camera_locked ( 8) | ||
usb_type_descriptor ( 9) | ||
count (10) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
% Wraps librealsense2 depth_sensor class | ||
classdef depth_sensor < sensor | ||
methods | ||
% Constructor | ||
function this = depth_sensor(handle) | ||
this = [email protected](handle); | ||
end | ||
|
||
% Destructor (uses base class destructor) | ||
|
||
% Functions | ||
function scale = get_depth_scale(this) | ||
scale = realsense.librealsense_mex('rs2::depth_sensor', 'get_depth_scale', this.objectHandle); | ||
end | ||
emd | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
% Wraps librealsense2 depth_stereo_sensor class | ||
classdef depth_stereo_sensor < depth_sensor | ||
methods | ||
% Constructor | ||
function this = depth_stereo_sensor(handle) | ||
this = [email protected]_sensor(handle); | ||
end | ||
|
||
% Destructor (uses base class destructor) | ||
|
||
% Functions | ||
function scale = get_stereo_baseline(this) | ||
scale = realsense.librealsense_mex('rs2::depth_stereo_sensor', 'get_stereo_baseline', this.objectHandle); | ||
end | ||
emd | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
% Wraps librealsense2 disparity_frame class | ||
classdef disparity_frame < realsense.depth_frame | ||
methods | ||
% Constructor | ||
function this = disparity_frame(handle) | ||
this = [email protected]_frame(handle); | ||
end | ||
|
||
% Destructor (uses base class destructor) | ||
|
||
% Functions | ||
function baseline = get_baseline(this) | ||
baseline = realsense.librealsense_mex('rs2::disparity_frame', 'get_baseline', this.objectHandle); | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
classdef format < int64 | ||
enumeration | ||
any ( 0) | ||
z16 ( 1) | ||
disparity16 ( 2) | ||
xyz32f ( 3) | ||
yuyv ( 4) | ||
rgb8 ( 5) | ||
bgr8 ( 6) | ||
rgba8 ( 7) | ||
bgra8 ( 8) | ||
y8 ( 9) | ||
y16 (10) | ||
raw10 (11) | ||
raw16 (12) | ||
raw8 (13) | ||
uyvy (14) | ||
motion_raw (15) | ||
motion_xyz32f (16) | ||
gpio_raw (17) | ||
six_dof (18) | ||
disparity32 (19) | ||
count (20) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,34 @@ | ||
classdef frame_metadata_value < uint64 | ||
classdef frame_metadata_value < int64 | ||
enumeration | ||
Frame_Counter (0) | ||
Frame_Timestamp (1) | ||
Sensor_Timestamp (2) | ||
Actual_Exposure (3) | ||
Gain_Level (4) | ||
Auto_Exposure (5) | ||
White_Balance (6) | ||
Time_Of_Arrival (7) | ||
Count (8) | ||
frame_counter ( 0) | ||
frame_timestamp ( 1) | ||
sensor_timestamp ( 2) | ||
actual_exposure ( 3) | ||
gain_level ( 4) | ||
auto_exposure ( 5) | ||
white_balance ( 6) | ||
time_of_arrival ( 7) | ||
temperature ( 8) | ||
backend_timestamp ( 9) | ||
actual_fps (10) | ||
frame_laser_power (11) | ||
frame_laser_power_mode (12) | ||
exposure_priority (13) | ||
exposure_roi_left (14) | ||
exposure_roi_right (15) | ||
exposure_roi_top (16) | ||
exposure_roi_bottom (17) | ||
brightness (18) | ||
contrast (19) | ||
saturation (20) | ||
sharpness (21) | ||
auto_white_balance_temperature (22) | ||
backlight_compensation (23) | ||
hue (24) | ||
gamma (25) | ||
manual_white_balance (26) | ||
power_line_frequency (27) | ||
low_light_compensation (28) | ||
count (29) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.