Search found 4 matches

by Sirena
15 Nov 2018, 17:02
Forum: General questions
Topic: sim.getObjectPosition
Replies: 7
Views: 4809

Re: sim.getObjectPosition

Unfortunately I have already tried with a simplified example: a cube that moved from its original position to another one. And the result of the prevoius commands was still the initial condition, even if the cube was moving. However today I probably found the solution for the problem: the command st...
by Sirena
12 Nov 2018, 11:45
Forum: General questions
Topic: sim.getObjectPosition
Replies: 7
Views: 4809

Re: sim.getObjectPosition

Hi! I tried your suggestion. As you said, on the console in V-rep I can see the same values I read on Simulink display. (These values are different from zero, as in the initial condition.) At the same time I added a graph with the object position and Z-velocity and these values change during the sim...
by Sirena
07 Nov 2018, 13:48
Forum: General questions
Topic: sim.getObjectPosition
Replies: 7
Views: 4809

Re: sim.getObjectPosition

Hello,
I'm using ROS to let Simulink and V-rep communicate.
I tried to use the remote API via blocking call, but I understood that it isn't possible to enter data directly in Simulink.

Thanks for your assistance,

Sirena
by Sirena
31 Oct 2018, 11:22
Forum: General questions
Topic: sim.getObjectPosition
Replies: 7
Views: 4809

sim.getObjectPosition

hi guys! I'm using vrep with matlab through ROS to simulate a drone. To implement the control strategy in Matlab I need the signals from the sensors and the speed and position of my drone, changing in time during the simulation. In Simulink and Matlab the data of sensors are available with the same ...