Search found 1011 matches
- 03 Aug 2021, 10:25
- Forum: General questions
- Topic: Move multiple joints at one
- Replies: 4
- Views: 6809
Re: Move multiple joints at one
Functions such as sim.setJointPosition or sim.setJointTargetPosition return immediately, so if you sequentially set position of joint 1 then position of joint 2, those will move simultaneously (if inside a threaded script, you need to momentarily disable thread switching to make sure simulation does...
- 03 Aug 2021, 10:22
- Forum: General questions
- Topic: Inverse Kinematics Joint mode
- Replies: 1
- Views: 3666
Re: Inverse Kinematics Joint mode
Those modes are not required anymore.
Have a look at the Inverse kinematics tutorial of the newer release.
Have a look at the Inverse kinematics tutorial of the newer release.
- 03 Aug 2021, 10:10
- Forum: General questions
- Topic: Process Depth Image taken from a perspective vision sensor
- Replies: 3
- Views: 6084
Re: Process Depth Image taken from a perspective vision sensor
Exactly, the buffer is the sequence of pixels read row by row. Values are normalized between 0...1, however (from sim.getVisionSensorDepthBuffer documentation): sensorHandle : handle of the vision sensor. Can be combined with sim.handleflag_depthbuffermeters (simply add sim.handleflag_depthbuffermet...
- 30 Jul 2021, 08:40
- Forum: General questions
- Topic: Speed and stop on path
- Replies: 9
- Views: 11099
Re: Speed and stop on path
Isn't simpler to rewrite your path following script, as suggested?
You can use
You can use
sim.getPathInterpolatedConfig
like in the last example of https://www.coppeliarobotics.com/helpFiles/en/paths.htm and provide a timing law for posAlongPath
that does exactly what you want.- 29 Jul 2021, 15:43
- Forum: General questions
- Topic: Get the first layer of Depth Image
- Replies: 1
- Views: 4096
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: 6084
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: 4141
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: 3913
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: 4464
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: 18124