Sample Code for Intel® RealSense™ Tracking cameras

Code Examples to start prototyping quickly: These simple examples demonstrate how to easily use the SDK to include code snippets that access the camera into your applications.

List of Examples:

NameLanguageDescriptionExperience LevelTechnology
CaptureC++Shows how to synchronize and render multiple streams: left, right, depth and RGB streams:star:Depth Sensing - Structured Light, Stereo Motion Tracking - T260 and SLAM
Save To DiskC++Demonstrate how to render and save video streams on headless systems without graphical user interface (GUI):star:Depth Sensing - Structured Light, Stereo Motion Tracking - T260 and SLAM
PoseC++Demonstarates how to obtain data from pose frames:star:Motion Tracking - T260 and SLAM
MulticamC++Present multiple cameras depth streams simultaneously, in separate windows:star:Depth Sensing - Structured Light, Stereo Motion Tracking - T260 and SLAM
MotionC++Demonstrates how to use data from gyroscope and accelerometer to compute the rotation of the camera:star::star:Depth with IMU Motion Tracking - T260 and SLAM
Pose PredictionC++Demonstarates how to use tracking camera asynchroniously to implement simple pose prediction:star::star:Motion Tracking - T260 and SLAM
Pose and ImageC++Demonstarates how to use tracking camera asynchroniously to obtain 200Hz poses and 30Hz images:star::star:Motion Tracking - T260 and SLAM
AR-BasicC++Shows how to use pose and fisheye frames to display a simple virtual object on the fisheye image:star::star:Motion Tracking - T260 and SLAM
TrajectoryC++Shows how to calculate and render 3D trajectory based on pose data from a tracking camera:star::star::star:Motion Tracking - T260 and SLAM
Software DeviceC++Shows how to create a custom rs2::device:star::star::star:Depth Sensing - Structured Light, Stereo Motion Tracking - T260 and SLAM
Sensor ControlC++A tutorial for using the rs2::sensor API:star::star::star:Depth Sensing - Structured Light, Stereo Motion Tracking - T260 and SLAM