Skip to content

Commit 34f03cc

Browse files
committed
fix Reboot description
1 parent 34fe62f commit 34f03cc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

ZEDCamera/Assets/ZED/SDK/NativeInterface/ZEDCamera.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2380,10 +2380,13 @@ public static sl.StreamingProperties[] GetStreamingDeviceList(out int nbDevices)
23802380

23812381
/// <summary>
23822382
/// Performs an hardware reset of the ZED 2/ZED 2i.
2383+
/// This method only works for ZED 2, ZED 2i, and newer camera models.
2384+
/// This method will invalidate any sl.Camera object, since the device is rebooting.
2385+
/// Under Windows it is not possible to get exclusive access to HID devices, hence calling this method while the camera is opened by another process will cause it to freeze for a few seconds while the device is rebooting.
23832386
/// </summary>
2384-
/// <param name="serialNumber">Serial number of the camera</param>
2385-
/// <param name="fullReboot"> Perform a full reboot (Sensors and Video modules)</param>
2386-
/// <returns>ZED SDK version as a string in the format MAJOR.MINOR.PATCH.</returns>
2387+
/// <param name="serialNumber">Serial number of the camera to reset, or 0 to reset the first camera detected.</param>
2388+
/// <param name="fullReboot">Perform a full reboot (sensors and video modules) if true, otherwise only the video module will be rebooted.</param>
2389+
/// <returns>sl.ERROR_CODE.SUCCESS if everything went fine. sl.ERROR_CODE.CAMERA_NOT_DETECTED if no camera was detected. sl.ERROR_CODE.FAILURE otherwise.</returns>
23872390
public static sl.ERROR_CODE Reboot(int serialNumber, bool fullReboot = true)
23882391
{
23892392
return (sl.ERROR_CODE)dllz_reboot(serialNumber, fullReboot);

0 commit comments

Comments
 (0)