Search found 6497 matches

by coppelia
19 Apr 2018, 12:33
Forum: General questions
Topic: Sensing if a light sensor is within a cone of light
Replies: 16
Views: 219

Re: Sensing if a light sensor is within a cone of light

You understood me wrong: you need to check first if your data you read is old data from your previous application. If it is old data, then simply pretend it is an empty table. If the data is new, then you need to unpack it. The simplest test whether you have old data or new data stored would be to c...
by coppelia
19 Apr 2018, 08:30
Forum: General questions
Topic: Sensing if a light sensor is within a cone of light
Replies: 16
Views: 219

Re: Sensing if a light sensor is within a cone of light

Did you try to simply print that data you are trying to unpack? It basically prints 0. And this is probably the data you wrote in a previous version of your program. Of course 0 can't be unpacked. Since you have previously written unpacked data to your objects, you need to take that into account bef...
by coppelia
19 Apr 2018, 08:24
Forum: General questions
Topic: Any data after dynamics change
Replies: 7
Views: 37

Re: Any data after dynamics change

Your problem is not illustrated by simply running your scene: you say that V-REP doesn't send sensor information after some time: how is that illustrated by just running the scene? How is the sensor information sending process illustrated/visualized? When sending data, many things can go wrong on th...
by coppelia
19 Apr 2018, 08:16
Forum: General questions
Topic: After importing a mesh(.obj), it is transparent
Replies: 3
Views: 21

Re: After importing a mesh(.obj), it is transparent

Your imported mesh has a color opacity of zero. Uncheck the Opacity box simply, in the color dialog for the shape.
Don't know how the import operation picked that up from the files

Cheers
by coppelia
19 Apr 2018, 07:17
Forum: General questions
Topic: Run time error after running the simulation with a long time
Replies: 2
Views: 18

Re: Run time error after running the simulation with a long time

Hello,

I have no idea what is happening... the Python script that is causing the error is unknown to us and not developed by us

Cheers
by coppelia
18 Apr 2018, 09:08
Forum: General questions
Topic: Any data after dynamics change
Replies: 7
Views: 37

Re: Any data after dynamics change

we cannot afford to read through your project, that also includes several files. That's too much effort. Also, from your explanation it seems that you have a communication problem, rather than a V-REP sensor problem. So check if some other messages are still passing through, or if your remote API is...
by coppelia
18 Apr 2018, 08:11
Forum: General questions
Topic: Sensing if a light sensor is within a cone of light
Replies: 16
Views: 219

Re: Sensing if a light sensor is within a cone of light

Please provide a simple example illustrating where sim.packTable and/or sim.unpackTable does not work or causes an error (also provide the error string).

Cheers
by coppelia
18 Apr 2018, 08:04
Forum: General questions
Topic: Finding the # number on a parent object
Replies: 2
Views: 15

Re: Finding the # number on a parent object

Hello,

first of all, keep this in mind (access from associated code).

Then, you can use following API functions:
Cheers