Search found 1017 matches
- 29 Jul 2021, 15:43
- Forum: General questions
- Topic: Get the first layer of Depth Image
- Replies: 1
- Views: 4141
Re: Get the first layer of Depth Image
What does "top layer" mean?
- 29 Jul 2021, 15:41
- Forum: General questions
- Topic: Process Depth Image taken from a perspective vision sensor
- Replies: 3
- Views: 6133
Re: Process Depth Image taken from a perspective vision sensor
Perhaps depth info is disabled in the object properties of the vision sensor? Or objects are not renderable?
- 27 Jul 2021, 10:00
- Forum: General questions
- Topic: model's distance recording
- Replies: 2
- Views: 4194
Re: model's distance recording
You can accumulate traveled distance (distance d between current position and previous position) in a child script like so: function sysCall_init() self=sim.getObjectHandle('.') distance=0 lastPosition=sim.getObjectPosition(self,-1) end function sysCall_sensing() local p=sim.getObjectPosition(self,-...
- 26 Jul 2021, 10:47
- Forum: General questions
- Topic: An object and its visible part
- Replies: 1
- Views: 3999
Re: An object and its visible part
Visual parts are more detailed. Dynamic parts are simplified representations of the visual part, which are more stable in simulation (because are pure, or at least convex) and compute faster, with only a minimal representation error with respect to the visual counterpart. See also: Building a clean ...
- 26 Jul 2021, 10:43
- Forum: General questions
- Topic: Save image from Vision Sensor into .png or .npy
- Replies: 2
- Views: 4542
Re: Save image from Vision Sensor into .png or .npy
sim.getVisionSensorImage
gives you the binary image data.Use
sim.saveImage
to save the image data to various formats.- 22 Jul 2021, 07:54
- Forum: General questions
- Topic: How to make paint nozzle?
- Replies: 14
- Views: 18201
- 20 Jul 2021, 07:05
- Forum: General questions
- Topic: can't connect the joystick
- Replies: 11
- Views: 7357
Re: can't connect the joystick
You need to open the project file with Visual Studio and build it. The built plugin will be placed into a subdirectory, e.g. Release\x64 or Debug\x64 and will have the correct extension (.dll).
- 17 Jul 2021, 17:28
- Forum: General questions
- Topic: Dynamic color change in distance calculation
- Replies: 11
- Views: 11676
Re: Dynamic color change in distance calculation
Yes You have various item types , e.g. pixel-sized points, pixel-sized lines, triangles, "triangle points", "rectangle points", "disc points", "cube points", "sphere points". Additionally, you can dynamically create and destroy primitive shapes and m...
- 17 Jul 2021, 17:24
- Forum: General questions
- Topic: Remote Control Frequency and In Scene child Script
- Replies: 1
- Views: 2275
- 16 Jul 2021, 14:22
- Forum: General questions
- Topic: How to make paint nozzle?
- Replies: 14
- Views: 18201
Re: How to make paint nozzle?
So I've deleted all the functions relative to the dialog of the paint nozzle and in sysCall_init() I specify the paint item (i.e: mode=sim.drawing_lines). However, the dialog stills appearing when I click the dummy "PaintNozzle" and the paint item only changes If I change It in the dialog...