Closed Ken-Jia closed 5 months ago
Could you please share the version of ifm3d you are using, and the current configuration of the device (the result of ifm3d dump). Thanks
ifm3d 1.4.3 device O3DP03 using visionassistanter could acces the camera ;also using below code has no error warning auto cam = ifm3d::Device::MakeShared(camera_ip, camera_port);
auto fg = std::make_shared
Do you get an error message when you run the code you provided in the first message? Or just nothing happens?
Could you please share the JSON configuration of your device (the result of cam->Get()
).
I did not notice the cam;but the fg->isRunning () is True
I try cam->Get() But cam does not have this function ;I try cam ->WhoAmI() output O3D
I'm sorry that's my bad, for the O3D it is cam->ToJSON().
I have anther question ; how to using c++ code to change the camera trigger mode
To change the trigger mode you would use the FromJSON() or the FromJSONStr(), then provide the json path to the trigger mode in the configuration. Something like this:
auto cam = ifm3d::Device::MakeShared(camera_ip);
cam->FromJSONStr(R"({"ifm3d":{"Apps":[{"TriggerMode": "1" }]}})")
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Describe the bug auto future = fg_->WaitForFrame(); Unable to obtain frame after running function To Reproduce std::string camera_ip = "169.254.50.239"; int camera_port = 80; // 假设相机的端口号是80
Expected behavior A clear and concise description of what you expected to happen.
Output/Screenshots If applicable, add console output and/or screenshots to help explain your problem.
Minimal Working Example If applicable/possible, please provide a minimal working example which demonstrates the problem and can be run standalone.
Configuration/Environment (please complete the following information):
Camera Configuration Please include the output of
ifm3d dump
Additional context Add any other context about the problem here.