Search found 7 matches

by SkySurfer1
26 Mar 2018, 10:59
Forum: General questions
Topic: Synchronization between external and internal VisionSensor
Replies: 1
Views: 260

Synchronization between external and internal VisionSensor

Hi, I have 2 BlobDetectionCameras in the same place. Camera1 acquires the images and does the blob detection as groundtruth. Via extApi I modify the image of camera1 and pass it to camera2 which is configured to use external input. So far this works I get the detected blobs from both cameras. But wh...
by SkySurfer1
07 Mar 2018, 11:40
Forum: General questions
Topic: Set vision sensor image from remote API alrways return simx_return_remote_error_flag
Replies: 5
Views: 694

Re: Set vision sensor image from remote API alrways return simx_return_remote_error_flag

I checked naming and resolution but same issue. I put together a minimal example that represents my issue which can be found here: https://www.dropbox.com/s/wbws2pwy42pjld1/vrep-test.7z?dl=0 . With V-REP 3.4 it is working fine. With V-REP 3.5 it returns 8 on setting vision sensor image. So this coul...
by SkySurfer1
05 Mar 2018, 11:25
Forum: General questions
Topic: Set vision sensor image from remote API alrways return simx_return_remote_error_flag
Replies: 5
Views: 694

Re: Set vision sensor image from remote API alrways return simx_return_remote_error_flag

Hi, I checked resolution of the camera, and usage of simxSetVisionSensorImage is like in the mentioned post. I added the following code: result = simxSetVisionSensorImage(mConnectionhandle, mSensorHandle2, image, size, 0, simx_opmode_blocking); if (result != simx_return_ok) { simxInt numErrors = 0; ...
by SkySurfer1
02 Mar 2018, 14:18
Forum: General questions
Topic: Set vision sensor image from remote API alrways return simx_return_remote_error_flag
Replies: 5
Views: 694

Set vision sensor image from remote API alrways return simx_return_remote_error_flag

Hi, I try to take an image using a camera sensor inside of vrep export it to my application using remote c++ API modifiy it and return it to vrep. What I have done right now: Added 2 cameras to the scene at the same place (camera1 & camera2). Camera1 records the scene camera2 is set to use external ...
by SkySurfer1
17 May 2016, 10:24
Forum: General questions
Topic: Closing Dialog from a C++ plugin without success.
Replies: 6
Views: 547

Re: Closing Dialog from a C++ plugin without success.

When I replace my v_repMessage funtion with yours the dialog box disappears. I commented out the error suppression in my code and got the following error: Result -1 Error: Could not lock resources for data write operation. (simEndDialog) What condition can cause this? Threading issue? because I only...
by SkySurfer1
12 May 2016, 10:41
Forum: General questions
Topic: Closing Dialog from a C++ plugin without success.
Replies: 6
Views: 547

Re: Closing Dialog from a C++ plugin without success.

Hi,

simGetLastError() returns an empty string :(
by SkySurfer1
11 May 2016, 14:38
Forum: General questions
Topic: Closing Dialog from a C++ plugin without success.
Replies: 6
Views: 547

Closing Dialog from a C++ plugin without success.

Hi, I created an image filter plug-in which connects on simStart to an external application using network sockets. To give a feedback by stimulation could be freeze for a moment until connection is established and image resolution informations are exchanged I wanted to show an dialog. So I placed th...