Search found 422 matches

by fferri
30 Oct 2019, 09:10
Forum: General questions
Topic: How to smooth the path in V-rep
Replies: 1
Views: 105

Re: How to smooth the path in V-rep

Path smoothing (while maintaining path validity) can only be performed by OMPL via PathSimplifier::smoothBSpline which currently not integrated in the plugin but you could try to modify the plugin code ( v_repExtOMPL/plugin.cpp ), calling the function PathSimplifier::smoothBSpline in void simplifyPa...
by fferri
23 Oct 2019, 16:11
Forum: General questions
Topic: How to create laser cone source?
Replies: 10
Views: 292

Re: How to create laser cone source?

Not really understanding, sorry. But in V-REP you don't have lasers. What you can do is to use proximity sensors or vision sensors to simulate some of the properties of rays of light. Then you can create drawing objects ( sim.addDrawingObject ) to give a visual feedback (proximity sensors already do...
by fferri
23 Oct 2019, 13:48
Forum: General questions
Topic: How to change the gravity during the simulation
Replies: 1
Views: 93

Re: How to change the gravity during the simulation

Hello,

you can change the gravity in the general dynamics properties.

You can also change gravity programmatically via sim.setArrayParameter(sim.arrayparam_gravity,{gx,gy,gz}).

Alternatively, you can apply forces/torques to objects via sim.addForce and sim.addForceAndTorque.
by fferri
23 Oct 2019, 13:41
Forum: General questions
Topic: How to create laser cone source?
Replies: 10
Views: 292

Re: How to create laser cone source?

Hello,

what do you want to achieve in the end?
by fferri
22 Oct 2019, 17:25
Forum: General questions
Topic: I'm having problems with RosInterface for VREP
Replies: 5
Views: 312

Re: I'm having problems with RosInterface for VREP

I'm sorry but I have no experience with such linux subsystem. I'm assuming the compiled .so file is not a windows DLL, so you can't simply rename it to .dll and put it in the directory of V-REP for Windows. Of course there were no error messages when V-REP launched, because V-REP for Windows would l...
by fferri
22 Oct 2019, 10:20
Forum: General questions
Topic: I'm having problems with RosInterface for VREP
Replies: 5
Views: 312

Re: I'm having problems with RosInterface for VREP

For ROS, I used the windows subsystem for linux/ubuntu 18.04. I used the linux subsystem to install ROS melodic. I looked back into vrep_ws folders and found libv_repExtRosInterface.so. So, I copied it into the V-REP3 folder, but still, no go. Tried coping it into V-REP3/V-REP_PRO_EDU folder, too. ...
by fferri
17 Oct 2019, 07:40
Forum: General questions
Topic: Compile c++ code by cmake, using remote API
Replies: 2
Views: 205

Re: Compile c++ code by cmake, using remote API

Hi,

try changing project(tamesi2 CXX) to project(tamesi2) (or project(tamesi2 C CXX)) in your CMakeLists.txt.

Cheers
by fferri
14 Oct 2019, 07:30
Forum: General questions
Topic: where to find the object's data detected by the proximity sensors?
Replies: 1
Views: 141

Re: where to find the object's data detected by the proximity sensors?

The API function sim.readProximitySensor can read the state of a proximity sensor resulting from a previous detection.
by fferri
08 Oct 2019, 10:00
Forum: General questions
Topic: Problem witth RosInterface on Ubuntu 16.04
Replies: 12
Views: 3661

Re: Problem witth RosInterface on Ubuntu 16.04

ROS nodes should be compiled with the ROS build tools.

Check the documentation at http://wiki.ros.org/ROS/Tutorials
by fferri
07 Oct 2019, 11:27
Forum: General questions
Topic: Any pointers about gcode.ttt?
Replies: 10
Views: 495

Re: Any pointers about gcode.ttt?

Probably it's an issue with your locale.

Try executing os.setlocale'C' before anything else.