Search found 6851 matches

by coppelia
07 Dec 2018, 11:41
Forum: General questions
Topic: Simulation time step selection
Replies: 2
Views: 49

Re: Simulation time step selection

Hello, your question is too vague. Not sure what the sliding you mention is. As to the simulation time step: it is really up to you. You should know that the smaller the simulation time step, the slower the simulation will run, and the more often the sensors and scripts are handled. But the larger t...
by coppelia
07 Dec 2018, 11:37
Forum: General questions
Topic: Problems with kinect depth information (ROS V-REP)
Replies: 6
Views: 106

Re: Problems with kinect depth information (ROS V-REP)

The work image is a RGB image. The vision sensor image is also a RGB image. The vision sensor depth map is however an array of floats. So you will always lose some information when sending the depth map to the work image, or when sending the work image to the depth map. You will have to flip the dep...
by coppelia
07 Dec 2018, 11:30
Forum: General questions
Topic: Joint space trajectory planning?
Replies: 3
Views: 78

Re: Joint space trajectory planning?

Yes, you can do that programmatically. You will have to create for instance a table that contains the desired joint angles, for a given moment in time. Then you can loop over that table and apply the joint values to your robot.

Cheers
by coppelia
06 Dec 2018, 11:23
Forum: General questions
Topic: How to connect/use Remote API C++ with V-REP
Replies: 5
Views: 2699

Re: How to connect/use Remote API C++ with V-REP

Hello,

you can find that project in this repository, other projects are in the Coppelia Robotics repository.

Cheers
by coppelia
06 Dec 2018, 08:19
Forum: General questions
Topic: Joint space trajectory planning?
Replies: 3
Views: 78

Re: Joint space trajectory planning?

Hello, you have several possibilities to do so. You could directly apply desired joint positions to your joints via sim.setJointPosition or sim.setJointTargetPosition . Or you could use the Reflexxes Motion Library to drive to a desired joint configuration. For that, take for instance the demo robot...
by coppelia
06 Dec 2018, 08:15
Forum: General questions
Topic: Problems with kinect depth information (ROS V-REP)
Replies: 6
Views: 106

Re: Problems with kinect depth information (ROS V-REP)

That is very strange. If I add a vision sensor to a scene with following code: function sysCall_init() h=sim.getObjectAssociatedWithScript(sim.handle_self) end function sysCall_sensing() local d=sim.getVisionSensorDepthBuffer(h,15,15,1,1) print(d[1]) end I get values closer to 0, when close to an ob...
by coppelia
06 Dec 2018, 08:06
Forum: General questions
Topic: Programmatically Disable Depth Info
Replies: 1
Views: 41

Re: Programmatically Disable Depth Info

Hello,

unfortunately that's not possible...

Cheers
by coppelia
06 Dec 2018, 08:03
Forum: General questions
Topic: cutting simulation
Replies: 3
Views: 807

Re: cutting simulation

Hello Carmelo,

the cutting algorithm is far from perfect and might be taken out of V-REP in future.
But normally you can call sim.applyMilling on the shape to make the change permanent. Then you should be able to access the modified data.

Cheers
by coppelia
06 Dec 2018, 08:00
Forum: General questions
Topic: Synchronous operation with Python using remote API
Replies: 1
Views: 37

Re: Synchronous operation with Python using remote API

hello,

you haven't enabled data streaming. You should first call the command with operation mode simx_opmode_streaming before trying to read from the buffer.

Cheers