User Tools

Site Tools


hardware:apartmentcams

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hardware:apartmentcams [2023/03/15 14:14] amaldohardware:apartmentcams [2023/03/15 17:49] (current) – [Cameras in the apartment] amaldo
Line 3: Line 3:
 We have a set of industrial cameras for recordings of video in the apartment. We have a set of industrial cameras for recordings of video in the apartment.
  
-Specifically, they are Hikrobot MV-CS050-10GC-PRO [[https://www.hikrobotics.com/en/machinevision/productdetail?id=4995&pageNumber=1&pageSize=50|link on the manufacturer's website]]. {{ :hardware:mv-cs060-10gmgc-pro_gige_area_scan_camera_datasheet_20221012.pdf |Datasheet}}. {{ :hardware:ud32108b_gige_area_scan_camera_user_manual_v3.5.5_20230314.pdf |Manual}}. {{ :hardware:mv-cs060-10gmgc-pro_drawing.zip |CAD Drawings}}. Files downloaded on 20230315 from Hik's website.+Specifically, they are Hikrobot MV-CS060-10GC-PRO [[https://www.hikrobotics.com/en/machinevision/productdetail?id=4995&pageNumber=1&pageSize=50|link on the manufacturer's website]]. {{ :hardware:mv-cs060-10gmgc-pro_gige_area_scan_camera_datasheet_20221012.pdf |Datasheet}}. {{ :hardware:ud32108b_gige_area_scan_camera_user_manual_v3.5.5_20230314.pdf |Manual}}. {{ :hardware:mv-cs060-10gmgc-pro_drawing.zip |CAD Drawings}}. Files downloaded on 20230315 from Hik's website.
  
  
Line 52: Line 52:
  
  
 +===== ROS1 node that uses the Hikrobot SDK =====
 +
 +This one looks useful, at least as inspiration:[[https://github.com/luckyluckydadada/HIKROBOT-MVS-CAMERA-ROS|Hikrobot-MVS-camera-ros]]
 +
 +===== MVS 2.1.2 =====
 +
 +As of 20230315 this is the latest version of the MVS / SDK that is supported in Linux. It was released on 20221024. The latest change is adding support for the HB format, so it looks like using this SDK to get the frames we can use compression.
 +
 +Interesting function: MV_CC_HB_Decode
 +
 +
 +===== Setting Framerate =====
 +<code>
 +arv-tool-0.8 control AcquisitionFrameRate=30
 +</code>
 +
 +===== Capturing at 30Hz using an MVS code example =====
 +
 +<code>
 +arv-tool-0.8 control AcquisitionFrameRate=30 ExposureAuto=Off ExposureTime=1000 GainAuto=Off Gain=20 ImageCompressionMode=HB HighBandwidthMode=Burst
 +cd /opt/MVS/Samples/64/GrabImage_HighPerformance
 +export MVCAM_COMMON_RUNENV=/opt/MVS/lib
 +export LD_LIBRARY_PATH=/opt/MVS/lib/64
 +./GrabImage_HighPerformance
 +</code>
 +
 +By default, this creates a directory called MvSdkLog, and inside you find a log file telling you this:
 +
 +<code>
 +Info    2023-03-15 18:12:32  DevID:MV-CS060-10GC-PRO(J11466033)  Source-Line:libMvCameraControl.so(CInterfaceManager.cpp-L0809)     Description:Current dynamic library path[/opt/MVS/lib/64/libMvCameraControl.so]     Solution:
 +Info    2023-03-15 18:12:32  DevID:MV-CS060-10GC-PRO(J11466033)  Source-Line:libMvCameraControl.so(CInterfaceManager.cpp-L0812)     Description:CamCtl_Version: 3.2.2.1     Solution:
 +Info    2023-03-15 18:12:32  DevID:MV-CS060-10GC-PRO(J11466033)  Source-Line:libMvCameraControl.so(CInterfaceManager.cpp-L0813)     Description:CamCtl_Description: BaseLine Build 20220511     Solution:
 +Info    2023-03-15 18:12:32  DevID:MV-CS060-10GC-PRO(J11466033)  Source-Line:libMvCameraControl.so(CInterfaceManager.cpp-L0815)     Description:[MV_CC_CreateHandle] return[0x0]     Solution:
 +Info    2023-03-15 18:12:32  DevID:MV-CS060-10GC-PRO(J11466033)  Source-Line:libMvCameraControl.so(CInterfaceManager.cpp-L6687)     Description:CamCtrl[0x3020201], GigE SDKVersion[0x3020201], DriverVersion[0x0]     Solution:
 +Info    2023-03-15 18:12:33  DevID:MV-CS060-10GC-PRO(J11466033)  Source-Line:libMvCameraControl.so(CInterfaceManager.cpp-L4236)     Description:[MV_CC_InvalidateNodes] return[0x0]     Solution:
 +Info    2023-03-15 18:12:33  DevID:MV-CS060-10GC-PRO(J11466033)  Source-Line:libMvCameraControl.so(CInterfaceManager.cpp-L1086)     Description:[MV_CC_OpenDevice] nPrivilegeMode[1], nSwitchoverKey[0], return[0x0]     Solution:
 +Info    2023-03-15 18:12:33  DevID:MV-CS060-10GC-PRO(J11466033)  Source-Line:libMvCameraControl.so(CInterfaceManager.cpp-L1657)     Description:[GEV]Width[3072], Height[2048], PixelFormat[0x1080009], PayloadSize[6488128], ChunkCount[0], CompressMode[2], DeviceUptime[                                                           19784]     Solution:
 +Info    2023-03-15 18:12:33  DevID:MV-CS060-10GC-PRO(J11466033)  Source-Line:libMvCameraControl.so(CInterfaceManager.cpp-L1671)     Description:GigE, DeviceModelName[MV-CS060-10GC-PRO], DeviceFirmwareVersion[V3.4.43 210805666615 21061003], DeviceMaxThroughput[968795]     Solution:
 +Info    2023-03-15 18:12:33  DevID:MV-CS060-10GC-PRO(J11466033)  Source-Line:libMvCameraControl.so(CInterfaceManager.cpp-L1676)     Description:GigE, Width[3072], Height[2048], OffsetX[0], OffsetY[0], PixelFormat[0x1080009], AcquisitionMode[2]     Solution:
 +Info    2023-03-15 18:12:33  DevID:MV-CS060-10GC-PRO(J11466033)  Source-Line:libMvCameraControl.so(CInterfaceManager.cpp-L1682)     Description:GigE, TriggerMode[0], ResultingFrameRate[29.87], ExposureTime[1000.00], ExposureAuto[0], PayloadSize[6488128]     Solution:
 +Info    2023-03-15 18:12:33  DevID:MV-CS060-10GC-PRO(J11466033)  Source-Line:libMvCameraControl.so(CInterfaceManager.cpp-L1687)     Description:GigE, GevLinkSpeed[1000], GevHeartbeatTimeout[3000], GevSCPSPacketSize[8164], GevSCPD[40]     Solution:
 +Info    2023-03-15 18:12:33  DevID:MV-CS060-10GC-PRO(J11466033)  Source-Line:libMvCameraControl.so(CInterfaceManager.cpp-L6315)     Description:CamCtrl RecvThread Start, ThreadId[-41314624]     Solution:
 +Info    2023-03-15 18:12:33  DevID:MV-CS060-10GC-PRO(J11466033)  Source-Line:libMvCameraControl.so(CInterfaceManager.cpp-L6083)     Description:CamCtrl Display Thread Start, ThreadId[-49707328]     Solution:
 +Info    2023-03-15 18:12:33  DevID:MV-CS060-10GC-PRO(J11466033)  Source-Line:libMvCameraControl.so(CInterfaceManager.cpp-L1795)     Description:There is no registration callback     Solution:
 +Info    2023-03-15 18:12:33  DevID:MV-CS060-10GC-PRO(J11466033)  Source-Line:libMvCameraControl.so(CInterfaceManager.cpp-L1800)     Description:[MV_CC_StartGrabbing] return[0x0]     Solution:
 +</code>
 +
 +Interesting is the ResultingFrameRate reported to 29.87Hz.
  
hardware/apartmentcams.1678889697.txt.gz · Last modified: 2023/03/15 14:14 by amaldo

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki