Search found 7226 matches

by coppelia
19 Jul 2019, 07:48
Forum: General questions
Topic: Visualize sensor trace
Replies: 6
Views: 166

Re: Visualize sensor trace

If you need some kind of transparency, you might also use a point cloud instead of the ocTree, this way you will be able to see the points and through them too. The approach is almost identical as with the ocTree.

Cheers
by coppelia
18 Jul 2019, 15:32
Forum: General questions
Topic: Visualize sensor trace
Replies: 6
Views: 166

Re: Visualize sensor trace

You can also use a ocTree object to represent the seen areas. You will have to create a shape that represents the vision sensor boundaries. Then, each time you want to add a trace , add that shape to the ocTree via sim.insertObjectIntoOctree . Or even simpler: each time you want to add a trace , cop...
by coppelia
18 Jul 2019, 15:20
Forum: General questions
Topic: Add Vision Sensor Filter via Code
Replies: 1
Views: 731

Re: Add Vision Sensor Filter via Code

You can use sim.setVisionSensorFilter for that. I wouldn't make too complex things with it, maybe simply enabling/disabling a filter component. If you need more complex operations on vision sensor images, then use the image (or OpenCV) plugin , e.g.: function sysCall_init() visionSensor=sim.getObjec...
by coppelia
18 Jul 2019, 14:55
Forum: General questions
Topic: Quadricopter following path problems
Replies: 6
Views: 1678

Re: Quadricopter following path problems

Try to practice first with a cube that you make float over the floor. You will have to: add a force that compensates for the weight of the cube add a force that corrects for positional errors (e.g. if you want your cube to be able to move to different heights). A P-controller is probably not going t...
by coppelia
18 Jul 2019, 14:50
Forum: General questions
Topic: How do I extract data from excel to vrep
Replies: 1
Views: 760

Re: How do I extract data from excel to vrep

Hello,

the simplest is probably to export your data as csv-file (comma-separated-values), which Excel allows to do.
Then you can handle that file as a regular text file. To read a text file from Lua, have a look here for instance.

Cheers
by coppelia
18 Jul 2019, 14:43
Forum: Bug reports
Topic: requent no resonse lead to lost of .ttt file
Replies: 3
Views: 1116

Re: requent no resonse lead to lost of .ttt file

Hello,

unfortunately your file appears to be corrupt, and we can't save it. What V-REP version are you using? What platform? Anything specific about your scene, that might have lead to a crash during save?

Cheers
by coppelia
15 Jul 2019, 06:52
Forum: General questions
Topic: Import 3D model shapes with the original orientation via script
Replies: 2
Views: 975

Re: Import 3D model shapes with the original orientation via script

Hello, you can't really control the position or orientation of a shape reference frame: the reference frame of a shape is automatically selected to be at the geometric center of the shape. Orientation is also selected to form the smallest bounding box around your shape. But the shape itself (the ver...
by coppelia
15 Jul 2019, 06:47
Forum: General questions
Topic: Inverse Kinematics of Parallel cable robot
Replies: 4
Views: 949

Re: Inverse Kinematics of Parallel cable robot

Hello, not sure what you want to achieve. You have mixed dynamically enabled items, and static items. That can't work. You first need to decide what type of simulation you want. If you want to perform IK, then all shapes need to be non-dynamic (i.e. static). And all joints need to be in IK mode, not...
by coppelia
15 Jul 2019, 06:43
Forum: General questions
Topic: Vortex 2019a
Replies: 12
Views: 1720

Re: Vortex 2019a

I installed it normally, alongside of Vortex Studio Essential.
I think the problem really comes from CM Labs side...

Cheers
by coppelia
15 Jul 2019, 06:41
Forum: General questions
Topic: Control quadricopter remote API vs c++
Replies: 5
Views: 2109

Re: Control quadricopter remote API vs c++

see my answer to your other post