Search found 10 matches

by SkySurfer1
17 May 2019, 09:05
Forum: General questions
Topic: Synchronize with external ImageSensor
Replies: 4
Views: 782

Re: Synchronize with external ImageSensor

Thx that fixed the issue.
Maybe I missed that in the documentation.
Otherwise a little hint in the API of handleVisionSensor or setVisionSensorImage would be great.
by SkySurfer1
09 May 2019, 13:33
Forum: General questions
Topic: Synchronize with external ImageSensor
Replies: 4
Views: 782

Re: Synchronize with external ImageSensor

Attached https://mega.nz/#!5Lwz0ALa!7X-a96tG3tKX ... JcD1deV0UM there is a scene and an python script to trigger it external.
The scene is modified in the manner described above.

Load the scene and run the script.
by SkySurfer1
07 May 2019, 15:15
Forum: General questions
Topic: Synchronize with external ImageSensor
Replies: 4
Views: 782

Synchronize with external ImageSensor

Hi, I use the remote API to modify the output of an VisionSensor externally and pass it back to a second VisionSensor which is set to externally triggered. What I try now is to compare the blob detection rate between the original (gt) and the modified image. The setup is like this: -+ BlobDetectionC...
by SkySurfer1
26 Mar 2018, 10:59
Forum: General questions
Topic: Synchronization between external and internal VisionSensor
Replies: 1
Views: 629

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: 1636

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: 1636

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: 1636

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: 1275

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: 1275

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: 1275

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...