Search found 24 matches

by luberdis
18 Jun 2019, 10:43
Forum: General questions
Topic: proximity sensors problem
Replies: 4
Views: 220

Re: proximity sensors problem

I just saw this post for simReadProximitySensor: Reads the state of a proximity sensor. This function doesn't perform detection, it merely reads the result from a previous call to sim.handleProximitySensor (sim.handleProximitySensor is called in the default main script). See also sim.checkProximityS...
by luberdis
18 Jun 2019, 10:05
Forum: General questions
Topic: proximity sensors problem
Replies: 4
Views: 220

Re: proximity sensors problem

Ok! Let us go from beginning, we have a robot that has multiple proximity sensors. At the example is 3 I want in the SAME simulation step each proximity sensor read its current value and then the robot decide what to do. Th problem is that the sensors get the same value of the others. Now I have tes...
by luberdis
11 Jun 2019, 12:29
Forum: General questions
Topic: Synchronous mod connection Matlab, delay simulation
Replies: 1
Views: 151

Synchronous mod connection Matlab, delay simulation

Hi Coppelia I implement a code for controlling a mobile robot in synchronous connection with Matlab. I set the target velocity of the joints and then I check the state of the robot process in control conditions and then reset target velocity. The problem and questions is how can I delay in synchrono...
by luberdis
07 Jun 2019, 15:05
Forum: General questions
Topic: Synchronous mode Matlab vrep connection
Replies: 4
Views: 455

Re: Synchronous mode Matlab vrep connection

I made the connection thanks for consdering.
by luberdis
06 Jun 2019, 13:45
Forum: General questions
Topic: proximity sensors problem
Replies: 4
Views: 220

proximity sensors problem

Hi Coppelia I am facing 2 problems with ultrasonic sensors. 1)there is a small noise most of the times in the measurement even though the area is clear it seems that it sees something at a distance of 0.02 as a noise 2) I have 3 sensors that they cover 180 degrees , the strange is that when one senr...
by luberdis
02 May 2019, 11:54
Forum: General questions
Topic: Synchronous mode Matlab vrep connection
Replies: 4
Views: 455

Synchronous mode Matlab vrep connection

Hi I try to connect vrep and Matlab in synchronous mode but it fails at the moment I use the simplesychronousexample you show as Matlab script and in vrep I created a child script for the connection with the line simRemoteApi.start(19997,1300,false,true) inside it. It seems that it does not respond ...
by luberdis
29 Apr 2019, 14:01
Forum: General questions
Topic: proximity sensors
Replies: 1
Views: 236

proximity sensors

HI Coppelia I connect Vrep to Matlab, the robot has 9 proximity sensors that cover all the front side of the robot, each sensor has a range of 20 degrees (20*9=180 degrees). So the problem is that when an object is detected from one sensors all the other sensors which are left clockwise also detect ...
by luberdis
10 Apr 2019, 14:20
Forum: General questions
Topic: import stl file physics
Replies: 1
Views: 229

import stl file physics

Hi Coppelia I imported a stl file to simulate the main body of a robot as it is more complex. The problem is that the physics do not work well compared to the model that is purely made in vrep so I would like to know what I should be careful to change and have good results.I already used the meshlab...
by luberdis
04 Apr 2019, 12:32
Forum: General questions
Topic: complex shapes
Replies: 1
Views: 228

complex shapes

Hi Coppelia!

I am trying to make a complex shape at vrep and I check the manual. I want actually to create half cylinder and then unite it with a rectangular. I see the documentation about cad programmes and the mesh triangles but how will I control inertia and weight