Search found 6136 matches

by coppelia
22 Oct 2017, 13:10
Forum: General questions
Topic: Robot language control: Using ABB RAPID codes
Replies: 1
Views: 10

Re: Robot language control: Using ABB RAPID codes

Hello Justus, on our side we won't go into that direction, since this is already too specific (we try to remain as independent as possible as the underlying robotic system that might be used with V-REP). But those functions can easily be supported via a plugin. On the other hand there is the RRS-1 (...
by coppelia
22 Oct 2017, 13:03
Forum: General questions
Topic: Change name of IK group / RML version / adjust texture
Replies: 1
Views: 10

Re: Change name of IK group / RML version / adjust texture

Hello Justus, about your questions: 1. No, this is not supported 2. Yes, you can do that. But remember that since V-REP 3.4.0, each shape has its own material (i.e. materials cannot be shared among several shapes anymore, since this lead to confusions and other subtle problems). Have a look at simSe...
by coppelia
22 Oct 2017, 12:54
Forum: General questions
Topic: Error Using simSetShapeColor
Replies: 3
Views: 11

Re: Error Using simSetShapeColor

You need to tell us what exactly is not working. If a function fails, make sure to print out the arguments to verify those are exactly what you expect them to be. If they are not, then the error happened further up in the program.

Cheers
by coppelia
19 Oct 2017, 14:39
Forum: General questions
Topic: Error Using simSetShapeColor
Replies: 3
Views: 11

Re: Error Using simSetShapeColor

The function call looks fine. Make sure that handlePlane is a valid object handle, and that UnpackedString is really a table that contains 3 numbers.

Cheers
by coppelia
19 Oct 2017, 14:34
Forum: General questions
Topic: extract coordinate of objects in vision sensor
Replies: 9
Views: 207

Re: extract coordinate of objects in vision sensor

Did you have a look at the example scene I mentioned previously? It does exactly what you want, for one blob. You will however have to adapt that scene to you needs a bit.

Cheers
by coppelia
19 Oct 2017, 14:33
Forum: General questions
Topic: End Remote Api Script a the same time of the simulation
Replies: 4
Views: 20

Re: End Remote Api Script a the same time of the simulation

Hello,

use simxGetInMessageInfo with simx_headeroffset_server_state. Bit zero will tell you whether simulation is stopped or not.

Cheers
by coppelia
19 Oct 2017, 14:28
Forum: General questions
Topic: Python API - send coordinates suggestion
Replies: 3
Views: 22

Re: Python API - send coordinates suggestion

You will have to write some code. Sending coordinates can be conveniently done with the function I mentioned.

Cheers
by coppelia
19 Oct 2017, 14:26
Forum: General questions
Topic: Real time pointcloud in V-REP
Replies: 3
Views: 27

Re: Real time pointcloud in V-REP

Yes, you can do that. In order to import a point cloud, have a look at the customization script attached to the model Models/tools/point cloud importer.ttm. It will import from *.xyz format, which is probably very similar.

Cheers
by coppelia
19 Oct 2017, 14:22
Forum: General questions
Topic: Writing to file using simPackFloatTable
Replies: 3
Views: 16

Re: Writing to file using simPackFloatTable

Yes, when you pack tables, then the data takes minimal storage/transmission space, but the data is not human-readable anymore.
You probably simply want to concatenate strings, and write that to file (e.g. use local resultString=string1..string2)

Cheers
by coppelia
17 Oct 2017, 08:24
Forum: General questions
Topic: Quadricopter physics
Replies: 5
Views: 89

Re: Quadricopter physics

Well, yes, it really depends how reality-accurate you need to be. V-REP is not a fluid simulator, so you will have to figure out those things yourself. Similar to the linear velocity, you can add a torque inversely proportional to the angular velocity of the quadcopter.

Cheers