{"action":"created","issue":{"url":"https://api.github.com/repos/lovepark/libo3d3xx/issues/11","labels_url":"https://api.github.com/repos/lovepark/libo3d3xx/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/lovepark/libo3d3xx/issues/11/comments","events_url":"https://api.github.com/repos/lovepark/libo3d3xx/issues/11/events","html_url":"https://github.com/lovepark/libo3d3xx/issues/11","id":107483001,"number":11,"title":"Cannot connect to camera","user":{"login":"kedecuyp","id":14543198,"avatar_url":"https://avatars.githubusercontent.com/u/14543198?v=3","gravatar_id":"","url":"https://api.github.com/users/kedecuyp","html_url":"https://github.com/kedecuyp","followers_url":"https://api.github.com/users/kedecuyp/followers","following_url":"https://api.github.com/users/kedecuyp/following{/other_user}","gists_url":"https://api.github.com/users/kedecuyp/gists{/gist_id}","starred_url":"https://api.github.com/users/kedecuyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kedecuyp/subscriptions","organizations_url":"https://api.github.com/users/kedecuyp/orgs","repos_url":"https://api.github.com/users/kedecuyp/repos","events_url":"https://api.github.com/users/kedecuyp/events{/privacy}","received_events_url":"https://api.github.com/users/kedecuyp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-09-21T10:21:47Z","updated_at":"2015-09-22T06:55:17Z","closed_at":null,"body":"( could be related to https://github.com/lovepark/libo3d3xx/issues/2)\r\nHello,\r\n\r\nI'm trying to install and configure the libo3dxx library to use with a o3d301 TOF camera. I'm currently using Ubuntu 14.04 - 64 bits\r\nI can ping the camera without problems. I have also verified that i can talk to the camera using the IFM windows utility.\r\n\r\nWhen I run the \"make check\" command, I get an error :\r\n```\r\n[  4%] Built target gtest\r\n[  8%] Built target gtest_main\r\n[ 65%] Built target o3d3xx\r\n[100%] Built target o3d3xx-tests\r\n[==========] Running 50 tests from 7 test cases.\r\n[----------] Global test environment set-up.\r\n[----------] 2 tests from General_Tests\r\n[ RUN      ] General_Tests.Exceptions\r\n[       OK ] General_Tests.Exceptions (0 ms)\r\n[ RUN      ] General_Tests.Version\r\n[       OK ] General_Tests.Version (0 ms)\r\n[----------] 2 tests from General_Tests (0 ms total)\r\n\r\n[----------] 7 tests from ImageBuffers_Tests\r\n[ RUN      ] ImageBuffers_Tests.Cloud\r\n/home/kdc/Downloads/libo3d3xx-master/test/o3d3xx-image-tests.cpp:25: Failure\r\nValue of: fg->WaitForFrame(img.get(), 1000)\r\n  Actual: false\r\nExpected: true\r\n/home/kdc/Downloads/libo3d3xx-master/test/o3d3xx-image-tests.cpp:38: Failure\r\nValue of: fg->WaitForFrame(img2.get(), 1000)\r\n  Actual: false\r\nExpected: true\r\n[  FAILED  ] ImageBuffers_Tests.Cloud (3005 ms)\r\n[ RUN      ] ImageBuffers_Tests.DepthImage\r\n/home/kdc/Downloads/libo3d3xx-master/test/o3d3xx-image-tests.cpp:62: Failure\r\nValue of: fg->WaitForFrame(img.get(), 1000)\r\n  Actual: false\r\nExpected: true\r\nFloating point exception (core dumped)\r\nmake[3]: *** [test/CMakeFiles/check] Error 136\r\nmake[2]: *** [test/CMakeFiles/check.dir/all] Error 2\r\nmake[1]: *** [test/CMakeFiles/check.dir/rule] Error 2\r\nmake: *** [check] Error 2\r\n```\r\nI also tried the o3d3xx-viewer utility , but all I get is a black frame.\r\n\r\nHere are the contents of the .INFO file:\r\n```\r\nLog file created at: 2015/09/21 11:51:23\r\nRunning on machine: kdc-XPS-15-9530\r\nLog line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg\r\nW0921 11:51:23.659610  4045 frame_grabber.cpp:83] Timeout waiting for image buffer from camera\r\nW0921 11:51:24.261695  4045 frame_grabber.cpp:83] Timeout waiting for image buffer from camera\r\nW0921 11:51:24.866829  4045 frame_grabber.cpp:83] Timeout waiting for image buffer from camera\r\nW0921 11:51:25.468471  4045 frame_grabber.cpp:83] Timeout waiting for image buffer from camera\r\nE0921 11:51:25.900290  4048 camera.hpp:728] http://192.168.0.69:80/api/rpc/v1/com.ifm.efector/ -> getParameter : Unable to transport XML to server and get XML response back.  libcurl failed to execute the HTTP POST transaction, explaining:  Operation timed out after 3003 milliseconds with 0 bytes received\r\nE0921 11:51:25.900543  4048 frame_grabber.cpp:123] Could not get IP/Port of the camera: XMLRPC call timed out\r\nW0921 11:51:26.069628  4045 frame_grabber.cpp:83] Timeout waiting for image buffer from camera\r\nW0921 11:51:26.670647  4045 frame_grabber.cpp:83] Timeout waiting for image buffer from camera\r\nW0921 11:51:27.272006  4045 frame_grabber.cpp:83] Timeout waiting for image buffer from camera\r\nW0921 11:51:27.873759  4045 frame_grabber.cpp:83] Timeout waiting for image buffer from camera\r\nW0921 11:51:28.474962  4045 frame_grabber.cpp:83] Timeout waiting for image buffer from camera\r\nW0921 11:51:29.077205  4045 frame_grabber.cpp:83] Timeout waiting for image buffer from camera\r\nW0921 11:51:29.577576  4045 frame_grabber.cpp:83] Timeout waiting for image buffer from camera\r\n```\r\n\r\nAny help would be appreciated, as right now I'm out of ideas to make this work\r\n"},"comment":{"url":"https://api.github.com/repos/lovepark/libo3d3xx/issues/comments/142196300","html_url":"https://github.com/lovepark/libo3d3xx/issues/11#issuecomment-142196300","issue_url":"https://api.github.com/repos/lovepark/libo3d3xx/issues/11","id":142196300,"user":{"login":"kedecuyp","id":14543198,"avatar_url":"https://avatars.githubusercontent.com/u/14543198?v=3","gravatar_id":"","url":"https://api.github.com/users/kedecuyp","html_url":"https://github.com/kedecuyp","followers_url":"https://api.github.com/users/kedecuyp/followers","following_url":"https://api.github.com/users/kedecuyp/following{/other_user}","gists_url":"https://api.github.com/users/kedecuyp/gists{/gist_id}","starred_url":"https://api.github.com/users/kedecuyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kedecuyp/subscriptions","organizations_url":"https://api.github.com/users/kedecuyp/orgs","repos_url":"https://api.github.com/users/kedecuyp/repos","events_url":"https://api.github.com/users/kedecuyp/events{/privacy}","received_events_url":"https://api.github.com/users/kedecuyp/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T06:55:17Z","updated_at":"2015-09-22T06:55:17Z","body":"@tpanzarella \r\nI do not have the .INFO file anymore, but what tipped me off is that the line\r\n```\r\nE0921 11:51:25.900290  4048 camera.hpp:728] http://192.168.0.69:80/api/rpc/v1/com.ifm.efector/ -> getParameter : Unable to transport XML to server and get XML response back.  libcurl failed to execute the HTTP POST transaction, explaining:  Operation timed out after 3003 milliseconds with 0 bytes received\r\n```\r\nContains additional information about the unreachable address in the latest version of libo3d3xx. There, I could see that this address corresponds to my proxy.\r\n\r\nHere are the contents of o3d3xx-dump:\r\n```\r\nkdc@kdc-XPS-15-9530:/opt/libo3d3xx/etc$ o3d3xx-dump\r\n{\r\n    \"o3d3xx\":\r\n    {\r\n        \"libo3d3xx\": \"109\",\r\n        \"Date\": \"Tue Sep 22 08:26:02 2015\",\r\n        \"HWInfo\":\r\n        {\r\n            \"Mainboard\": \"#!02_M381_002_12345678_008022169\",\r\n            \"Illumination\": \"#!02_I300_001_12345678_008001175\",\r\n            \"MACAddress\": \"00:02:01:40:17:90\",\r\n            \"Frontend\": \"#!02_F341_002_12345678_008022593\",\r\n            \"Diagnose\": \"#!02_D321_001_12345678_008022060\",\r\n            \"Connector\": \"#!02_A300_001_12345678_008001175\"\r\n        },\r\n        \"SWVersion\":\r\n        {\r\n            \"IFM_Software\": \"0.06.39\",\r\n            \"Linux\": \"Linux version 3.11.0-00001-g4e630e2 (eswadmin@dettlx79) (gcc version 4.7.2 (GCC) ) #1 SMP Mon Jun 8 10:25:20 CEST 2015\",\r\n            \"Diagnostic_Controller\": \"0.3.2\",\r\n            \"ELDK\": \"GOLDENEYE_ELDK-2015-07-01_16-26-37-cc5673110f1bff06b66149c8320f6c1823d87891\",\r\n            \"Calibration_Version\": \"0.6.2\",\r\n            \"Calibration_Device\": \"00:02:01:40:17:90\",\r\n            \"Main_Application\": \"0.4.12\",\r\n            \"Algorithm_Version\": \"0.6.18\"\r\n        },\r\n        \"Device\":\r\n        {\r\n            \"Name\": \"New sensor\",\r\n            \"Description\": \"\",\r\n            \"ActiveApplication\": \"1\",\r\n            \"PcicEipEnabled\": \"false\",\r\n            \"PcicTcpPort\": \"50010\",\r\n            \"PcicProtocolVersion\": \"3\",\r\n            \"IOLogicType\": \"1\",\r\n            \"IODebouncing\": \"true\",\r\n            \"IOExternApplicationSwitch\": \"0\",\r\n            \"SessionTimeout\": \"30\",\r\n            \"ServiceReportPassedBuffer\": \"15\",\r\n            \"ServiceReportFailedBuffer\": \"15\",\r\n            \"ExtrinsicCalibTransX\": \"0\",\r\n            \"ExtrinsicCalibTransY\": \"0\",\r\n            \"ExtrinsicCalibTransZ\": \"0\",\r\n            \"ExtrinsicCalibRotX\": \"0\",\r\n            \"ExtrinsicCalibRotY\": \"0\",\r\n            \"ExtrinsicCalibRotZ\": \"0\",\r\n            \"IPAddressConfig\": \"0\",\r\n            \"PasswordActivated\": \"false\",\r\n            \"OperatingMode\": \"0\",\r\n            \"DeviceType\": \"\",\r\n            \"ArticleNumber\": \"\",\r\n            \"ArticleStatus\": \"\",\r\n            \"UpTime\": \"6.95301075392642e-310\",\r\n            \"ImageTimestampReference\": \"10422768\",\r\n            \"TemperatureFront1\": \"5.149650179128479e-317\",\r\n            \"TemperatureFront2\": \"6.952977167208689e-310\",\r\n            \"TemperatureIMX6\": \"5.149768754883481e-317\",\r\n            \"TemperatureIllu\": \"5.149887330638483e-317\"\r\n        },\r\n        \"Net\":\r\n        {\r\n            \"MACAddress\": \"\",\r\n            \"NetworkSpeed\": \"0\",\r\n            \"StaticIPv4Address\": \"192.168.0.69\",\r\n            \"StaticIPv4SubNetMask\": \"255.255.255.0\",\r\n            \"StaticIPv4Gateway\": \"192.168.0.201\",\r\n            \"UseDHCP\": \"false\"\r\n        },\r\n        \"Apps\":\r\n        [\r\n            {\r\n                \"Name\": \"Sample Application\",\r\n                \"Description\": \"\",\r\n                \"TriggerMode\": \"1\",\r\n                \"PcicTcpResultOutputEnabled\": \"true\",\r\n                \"PcicTcpResultSchema\": \"{ \\\"layouter\\\": \\\"flexible\\\", \\\"format\\\": { \\\"dataencoding\\\": \\\"ascii\\\" }, \\\"elements\\\": [ { \\\"type\\\": \\\"string\\\", \\\"value\\\": \\\"star\\\", \\\"id\\\": \\\"start_string\\\" }, { \\\"type\\\": \\\"blob\\\", \\\"id\\\": \\\"normalized_amplitude_image\\\" }, { \\\"type\\\": \\\"blob\\\", \\\"id\\\": \\\"distance_image\\\" }, { \\\"type\\\": \\\"blob\\\", \\\"id\\\": \\\"x_image\\\" }, { \\\"type\\\": \\\"blob\\\", \\\"id\\\": \\\"y_image\\\" }, { \\\"type\\\": \\\"blob\\\", \\\"id\\\": \\\"z_image\\\" }, { \\\"type\\\": \\\"blob\\\", \\\"id\\\": \\\"confidence_image\\\" }, { \\\"type\\\": \\\"blob\\\", \\\"id\\\": \\\"diagnostic_data\\\" }, { \\\"type\\\": \\\"string\\\", \\\"value\\\": \\\"stop\\\", \\\"id\\\": \\\"end_string\\\" } ] }\",\r\n                \"PcicEipResultSchema\": \"{ \\\"layouter\\\": \\\"flexible\\\", \\\"format\\\": { \\\"dataencoding\\\": \\\"binary\\\", \\\"order\\\": \\\"big\\\" }, \\\"elements\\\" : [ { \\\"type\\\": \\\"string\\\", \\\"value\\\": \\\"star\\\", \\\"id\\\": \\\"start_string\\\" }, { \\\"type\\\": \\\"records\\\", \\\"id\\\": \\\"models\\\", \\\"elements\\\": [ { \\\"type\\\": \\\"int16\\\", \\\"id\\\": \\\"boxFound\\\" }, { \\\"type\\\": \\\"int16\\\", \\\"id\\\": \\\"width\\\", \\\"format\\\": { \\\"scale\\\": 1000 } }, { \\\"type\\\": \\\"int16\\\", \\\"id\\\": \\\"height\\\", \\\"format\\\": { \\\"scale\\\": 1000 } }, { \\\"type\\\": \\\"int16\\\", \\\"id\\\": \\\"length\\\", \\\"format\\\": { \\\"scale\\\": 1000 } }, { \\\"type\\\": \\\"int16\\\", \\\"id\\\": \\\"xMidTop\\\", \\\"format\\\": { \\\"scale\\\": 1000 } }, { \\\"type\\\": \\\"int16\\\", \\\"id\\\": \\\"yMidTop\\\", \\\"format\\\": { \\\"scale\\\": 1000 } }, { \\\"type\\\": \\\"int16\\\", \\\"id\\\": \\\"zMidTop\\\", \\\"format\\\": { \\\"scale\\\": 1000 } }, { \\\"type\\\": \\\"int16\\\", \\\"id\\\": \\\"yawAngle\\\" }, { \\\"type\\\": \\\"int16\\\", \\\"id\\\": \\\"qualityLength\\\" }, { \\\"type\\\": \\\"int16\\\", \\\"id\\\": \\\"qualityWidth\\\" }, { \\\"type\\\": \\\"int16\\\", \\\"id\\\": \\\"qualityHeight\\\" } ] }, { \\\"type\\\": \\\"string\\\", \\\"value\\\": \\\"stop\\\", \\\"id\\\": \\\"end_string\\\" } ] }\",\r\n                \"LogicGraph\": \"{\\\"IOMap\\\": {\\\"OUT1\\\": \\\"RFT\\\",\\\"OUT2\\\": \\\"AQUFIN\\\"},\\\"blocks\\\": {\\\"B00001\\\": {\\\"pos\\\": {\\\"x\\\": 200,\\\"y\\\": 200},\\\"properties\\\": {},\\\"type\\\": \\\"PIN_EVENT_IMAGE_ACQUISITION_FINISHED\\\"},\\\"B00002\\\": {\\\"pos\\\": {\\\"x\\\": 200,\\\"y\\\": 75},\\\"properties\\\": {},\\\"type\\\": \\\"PIN_EVENT_READY_FOR_TRIGGER\\\"},\\\"B00003\\\": {\\\"pos\\\": {\\\"x\\\": 600,\\\"y\\\": 75},\\\"properties\\\": {\\\"pulse_duration\\\": 0},\\\"type\\\": \\\"DIGITAL_OUT1\\\"},\\\"B00005\\\": {\\\"pos\\\": {\\\"x\\\": 600,\\\"y\\\": 200},\\\"properties\\\": {\\\"pulse_duration\\\": 0},\\\"type\\\": \\\"DIGITAL_OUT2\\\"}},\\\"connectors\\\": {\\\"C00000\\\": {\\\"dst\\\": \\\"B00003\\\",\\\"dstEP\\\": 0,\\\"src\\\": \\\"B00002\\\",\\\"srcEP\\\": 0},\\\"C00001\\\": {\\\"dst\\\": \\\"B00005\\\",\\\"dstEP\\\": 0,\\\"src\\\": \\\"B00001\\\",\\\"srcEP\\\": 0}}}\",\r\n                \"Type\": \"Camera\",\r\n                \"Index\": \"1\",\r\n                \"Id\": \"1\",\r\n                \"Imager\":\r\n                {\r\n                    \"Channel\": \"0\",\r\n                    \"ClippingBottom\": \"131\",\r\n                    \"ClippingLeft\": \"0\",\r\n                    \"ClippingRight\": \"175\",\r\n                    \"ClippingTop\": \"0\",\r\n                    \"ContinuousAutoExposure\": \"false\",\r\n                    \"EnableAmplitudeCorrection\": \"true\",\r\n                    \"EnableFilterAmplitudeImage\": \"true\",\r\n                    \"EnableFilterDistanceImage\": \"true\",\r\n                    \"EnableRectificationAmplitudeImage\": \"false\",\r\n                    \"EnableRectificationDistanceImage\": \"false\",\r\n                    \"ExposureTime\": \"5000\",\r\n                    \"ExposureTimeList\": \"125;5000\",\r\n                    \"ExposureTimeRatio\": \"40\",\r\n                    \"FrameRate\": \"5\",\r\n                    \"MinimumAmplitude\": \"42\",\r\n                    \"ReduceMotionArtifacts\": \"false\",\r\n                    \"SpatialFilterType\": \"0\",\r\n                    \"SymmetryThreshold\": \"0\",\r\n                    \"TemporalFilterType\": \"0\",\r\n                    \"ThreeFreqMax2FLineDistPercentage\": \"80\",\r\n                    \"ThreeFreqMax3FLineDistPercentage\": \"80\",\r\n                    \"TwoFreqMaxLineDistPercentage\": \"80\",\r\n                    \"Type\": \"under5m_moderate\",\r\n                    \"SpatialFilter\":\r\n                    {\r\n                        \"Type\": \"0\",\r\n                        \"TypeStr_\": \"Off\"\r\n                    },\r\n                    \"TemporalFilter\":\r\n                    {\r\n                        \"Type\": \"0\",\r\n                        \"TypeStr_\": \"Off\"\r\n                    }\r\n                }\r\n            }\r\n        ]\r\n    }\r\n}\r\n\r\n```\r\nThank you to you both for your help"}}