Search found 15 matches

by robo_ninja
13 Apr 2020, 16:28
Forum: General questions
Topic: Force unit in getContactInfo
Replies: 1
Views: 951

Force unit in getContactInfo

I am using the following equations in a loop to calculate the total contact forces. What is the unit of the force being published? Newton? objectsInContact,_,forceDirectionAndAmplitude =sim.getContactInfo(sim.handle_all, box[i], index) force = math.abs(forceDirectionAndAmplitude[1])+math.abs(forceDi...
by robo_ninja
26 Mar 2020, 12:34
Forum: General questions
Topic: Object handle error
Replies: 4
Views: 1018

Re: Object handle error

Sorry for the typo. I had changed it in my code - objectsInContact,_,forceDirectionAndAmplitude = sim.getContactInfo(sim.handle_all, sim.getObjectHandle("Cube_"..i), index) But still keep getting the same error. I created a dummy object "Cube" and associated script with the funct...
by robo_ninja
26 Mar 2020, 03:11
Forum: General questions
Topic: Object handle error
Replies: 4
Views: 1018

Object handle error

I have created 100 cubes in a scenario with names Cube_1, Cube_2, Cube_3 ...... so on ...... Cube_100. Now I want to retrieve object handle for each of these cubes inside a function. My portion of code inside the function where I am trying to calculate contact forces for each box - for i = 0, 100, 1...
by robo_ninja
28 Feb 2020, 15:44
Forum: General questions
Topic: Support with Demo3d/Emulate3d
Replies: 3
Views: 1642

Re: Support with Demo3d/Emulate3d

Thank you. Can you point me to simAddOnFunc_minimalisticExporter.lua ? I can't find it
by robo_ninja
26 Feb 2020, 20:47
Forum: General questions
Topic: Support with Demo3d/Emulate3d
Replies: 3
Views: 1642

Support with Demo3d/Emulate3d

I have some simulations developed in VREP. I wanted to know if there is any way of porting models, plugins, other info from VREP to Demo3D/Emulate3D. If not, can someone suggest some ideas how this can be handled?
by robo_ninja
17 Sep 2019, 17:19
Forum: General questions
Topic: Photorealistic rendering capability
Replies: 3
Views: 1424

Photorealistic rendering capability

Hi, We currently have developed a simulation for our robotics in V-REP. We want to make our environment more photo-realistic. Planning to use some external engines. I wanted to understand how can we use V-REP along with the external engine say Unreal Engine. Is there any plugin/bridge that exists in...
by robo_ninja
10 Apr 2019, 22:48
Forum: General questions
Topic: Modelling a sliding rail
Replies: 1
Views: 898

Modelling a sliding rail

Hi,

I am trying to create a model of 2 structures. Structure 1 has a sliding rail attached to it and structure 2 slides along this rail. What is the best way to design this? Is adding a prismatic joint enough?

Please guide me. TIA
by robo_ninja
16 Jan 2019, 21:16
Forum: General questions
Topic: Mesh file export error
Replies: 1
Views: 1025

Mesh file export error

Hi, I have added a few V-REP models in a scene and I want to export a mesh file (STL) containing all these models. I selected the models along with their respective children and tried exporting ( File->Export->Selected shapes->Save ). But it fails every time with a message "An error occurred du...
by robo_ninja
24 Sep 2018, 20:11
Forum: General questions
Topic: Mesh file unit conversion
Replies: 1
Views: 1246

Mesh file unit conversion

I am importing a STL file (which has units in inches) to create a new model.. The other models created previously (which will be used in the same scene) have units in meter. So should I change the units to meter while creating the STL file for the new model or selecting "1 units represents 1 in...
by robo_ninja
23 Aug 2018, 20:09
Forum: General questions
Topic: Install vrep ros interface plugin
Replies: 1
Views: 1860

Install vrep ros interface plugin

Hi, Currently I am using VREP in ROS Kinetic. I am getting the following errors while trying to build the v_repExtRosInterface - python: can't open file '/home/vrep_ws/src/external/v_repStubsGen/generate.py': [Errno 2] No such file or directory vrep_ros_interface/CMakeFiles/v_repExtRosInterface.dir/...