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

Added Hardware Reset to .Net wrapper #3192

Merged
merged 5 commits into from
Feb 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions tools/rs-imu-calibration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,19 @@ I cut a little piece so the cord may come out, and that's it:<br>
![open box image](images/IMG_4918.jpg)<br>

***camera in box:***<br>
![camera in box](images/IMG_4919.jpg)<br>
![camera in box](images/IMG_4919.JPG)<br>

***face down position:***<br>
![face down position](images/IMG_4920.jpg)<br>
![face down position](images/IMG_4920.JPG)<br>

***cord up position:***<br>
![cord up position](images/IMG_4921.jpg)<br>
![cord up position](images/IMG_4921.JPG)<br>

***upright facing out (or upside down facing out, depends on which side the cord is..):***<br>
![upright facing out](images/IMG_4922.jpg)<br>
![upright facing out](images/IMG_4922.JPG)<br>

***cord down position:***<br>
![cord down position](images/IMG_4923.jpg)<br>
![cord down position](images/IMG_4923.JPG)<br>

***upside down (or upright) facing out:***<br>
![upside down facing out](images/IMG_4924.jpg)
![upside down facing out](images/IMG_4924.JPG)
6 changes: 6 additions & 0 deletions wrappers/csharp/Intel.RealSense/Devices/Device.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ public SensorList Sensors
return QuerySensors();
}
}

public void HardwareReset()
{
object error;
NativeMethods.rs2_hardware_reset(m_instance, out error);
}

#region IDisposable Support
private bool disposedValue = false; // To detect redundant calls
Expand Down