Search found 8047 matches

by coppelia
18 Sep 2020, 08:38
Forum: General questions
Topic: Reading Accelorometer and Gyro Sensor Values in MATLAB
Replies: 3
Views: 24

Re: Reading Accelorometer and Gyro Sensor Values in MATLAB

Hello,

make sure not to mix-up the regular API (i.e. CoppeliaSim script API), and the remote APi. The first can't be used within Matlab!

Cheers
by coppelia
18 Sep 2020, 08:22
Forum: General questions
Topic: Setting object position in V-REP
Replies: 7
Views: 8360

Re: Setting object position in V-REP

Hello,

first you need to determine how you want to connect CoppeliaSim to Matlab. Then, there are several options to transmit data from one to the other.

Cheers
by coppelia
18 Sep 2020, 08:20
Forum: General questions
Topic: Retrieve the exact position on path in a beziered point
Replies: 2
Views: 24

Re: Retrieve the exact position on path in a beziered point

Hello,

I am afraid you won't be able to exactly retrieve that position. The best you can do is get quite close to it by using sim.getClosestPositionOnPath, i.e. you frist determine the position of the control point, then using that position, find its closest counterpart on the path.

Cheers
by coppelia
18 Sep 2020, 08:08
Forum: General questions
Topic: Slow down with multiple instances
Replies: 1
Views: 22

Re: Slow down with multiple instances

Hello Greg, it would be an ideal world if each additionally spawned instance wouldn't have any effect on the rest of the system. Unfortunately this is not the case. The OS is free to allocate core threads and other resources (GPU) as it wants. So it could be that the second instance is sharing the s...
by coppelia
18 Sep 2020, 08:03
Forum: General questions
Topic: How to detect spotlight object intensity by vision sensor of robot
Replies: 5
Views: 1144

Re: How to detect spotlight object intensity by vision sensor of robot

Hello, reading through the old question again... you can't detect a spotlight directly: CoppeliaSim uses OpenGl for rendering, and a spotlight is not visible. It is just a source of light, and the effect of that light is on surfaces. This means if you directly look into the spotlight, you won't see ...
by coppelia
18 Sep 2020, 07:54
Forum: Bug reports
Topic: Library not loaded
Replies: 1
Views: 49

Re: Library not loaded

Hello, sorry for missing your post. As it seems you are on mac, can you confirm that you can successfully run the demo scenes blueZeroDemo1.ttt and blueZeroDemo2.ttt ? If yes, try to copy all items into the CoppeliaSim package, where libb0.dylib is located, and see if that works. If that works, that...
by coppelia
14 Sep 2020, 08:12
Forum: General questions
Topic: construction digging?
Replies: 1
Views: 16

Re: construction digging?

Hello, this cannot directly be done. Or it would require quite a lot of scripting and cheating, a little bit in a similar way as in the video. Also, dynamically modifying a heightfield won't work in CoppeliaSim: you'd have to remove and create a new heightfield constantly, which is not very efficien...
by coppelia
14 Sep 2020, 08:08
Forum: General questions
Topic: How to make two quadricopters follow two different paths
Replies: 1
Views: 15

Re: How to make two quadricopters follow two different paths

Hello, make sure you understand how objects are accessed in CoppeliaSim . Normally, you do not add a #n suffix to the object names, when you access them with sim.getObjectHandle : this ways, if you copy and paste your model/models, then the copy is automatically correctly accessing not the original ...
by coppelia
14 Sep 2020, 08:00
Forum: General questions
Topic: How do i reset joint position with python api
Replies: 1
Views: 32

Re: How do i reset joint position with python api

Hello, not sure I understand: when simulation stops, CoppeliaSim normally resets all object poses, parenting, and many other settings such as joint positions to what they were just before starting simulation. So normally you do not have to worry about this. This can be however disabled in the simula...