Search found 1016 matches

by fferri
02 Apr 2019, 07:11
Forum: General questions
Topic: Vision sensor
Replies: 3
Views: 1437

Re: Vision sensor

The Image plugin uses OpenCV 3 to perform simple operations and drawing on images, and already can read/write to/from vision sensors as well as capture devices (cameras). I think it is a good starting point to extend with further OpenCV functions. To implement new Lua commands remember to edit also ...
by fferri
01 Apr 2019, 09:20
Forum: General questions
Topic: Vision sensor
Replies: 3
Views: 1437

Re: Vision sensor

You can write a plugin in C++ providing one or more custom Lua commands, and use whatever image processing algorithm (e.g. OpenCV, TensorFlow, ...) to extract the info you need.
by fferri
01 Apr 2019, 07:46
Forum: Bug reports
Topic: V-REP SDF plugin: could not determine the filesystem location of URI model:// ...
Replies: 10
Views: 3994

Re: V-REP crashes after selecting SDF import option from Plugins drop down menu

Oh, I think this is related to the fact that V-REP changes the working directory on startup (so relative paths are in fact relative to V-REP directory).

Can you try to use file:// scheme with absolute paths?

I will provide a fix for relative file:// URIs.
by fferri
31 Mar 2019, 16:01
Forum: Bug reports
Topic: V-REP SDF plugin: could not determine the filesystem location of URI model:// ...
Replies: 10
Views: 3994

Re: V-REP crashes after selecting SDF import option from Plugins drop down menu

A relative URI should be file://meshes/CAD/link_Lf_thigh.stl, not file:///meshes/CAD/link_Lf_thigh.stl
by fferri
30 Mar 2019, 08:31
Forum: General questions
Topic: Use of old-style cast
Replies: 1
Views: 1094

Re: Use of old-style cast

That is correct. In C++ there are only the xxx_cast<...>(...) operators.
by fferri
29 Mar 2019, 14:16
Forum: Bug reports
Topic: V-REP SDF plugin: could not determine the filesystem location of URI model:// ...
Replies: 10
Views: 3994

Re: V-REP crashes after selecting SDF import option from Plugins drop down menu

You can open the SDF file in a text editor and replace the model:// with file:// in the URI which is failing to resolve
by fferri
28 Mar 2019, 16:18
Forum: Bug reports
Topic: V-REP SDF plugin: could not determine the filesystem location of URI model:// ...
Replies: 10
Views: 3994

Re: V-REP crashes after selecting SDF import option from Plugins drop down menu

Hi Smitty44, model:// URIs should be in the form model://package/path , for example model://mypackage/meshes/cad/test.stl, so your directory structure should be: path/to/mypackage/file.sdf path/to/mypackage/meshes/cad/test.stl Alternatively, you can use file:// URIs (more reliable), which allow you ...
by fferri
25 Mar 2019, 15:33
Forum: Bug reports
Topic: V-REP crashes after selecting SDF import option from Plugins drop down menu
Replies: 5
Views: 2466

Re: V-REP crashes after selecting SDF import option from Plugins drop down menu

Hello,

thanks for reporting this issue.

A few questions:
  • Does it happen always (i.e. when trying multiple times)?
  • Does it happen with any SDF model?
  • Can you share a SDF model which causes the crash?