Search found 1009 matches
- 23 Apr 2024, 09:46
- Forum: General questions
- Topic: Control the joint to rotate more than 360 degrees
- Replies: 1
- Views: 50
Re: Control the joint to rotate more than 360 degrees
If you don't need to use a cyclic joint, simply selecting a joint range larger than 2*pi is enough to make the joint turn more than 1 full revolution when setting a large enough target position (via sim.setJointTargetPosition). If instead you are forced to used a cyclic joint, the solution is to use...
- 22 Apr 2024, 17:29
- Forum: General questions
- Topic: How to make dummy move along a given path?
- Replies: 1
- Views: 28
- 22 Apr 2024, 09:25
- Forum: General questions
- Topic: Vision sensor object masks
- Replies: 2
- Views: 60
Re: Vision sensor object masks
Actually, even better (and faster) than that, you can set the vision sensor render mode to "color coded handles", then each object is rendered with a unique color corresponding to its handle. Then you can go through all pixels and decode which object it relates to ( handle = unsigned int i...
- 22 Apr 2024, 09:04
- Forum: General questions
- Topic: Vision sensor object masks
- Replies: 2
- Views: 60
Re: Vision sensor object masks
You can achieve something like selective rendering by setting the vision sensor to explicit handling, then adjusting visibility layer of all objects before/after rendering to only "see" the interesting objects. Depth map gives you something almost resembling a binary map (simply apply some...
- 22 Apr 2024, 08:26
- Forum: General questions
- Topic: Robot strange behavior with OMPL
- Replies: 1
- Views: 63
Re: Robot strange behavior with OMPL
When the robot is outside the linear guide (in the tree), paths are found that lead to the desired location. When I place the robot inside the linear guide (on the tree) the positions found from there no longer coincide with those intended. I don't really understand any of that; but usually, when s...
- 17 Apr 2024, 11:27
- Forum: General questions
- Topic: How to create custom ui
- Replies: 4
- Views: 120
Re: How to create custom ui
From the official sources:
User Manual: https://manual.coppeliarobotics.com
YouTube channel: https://www.youtube.com/user/VirtualRobotPlatform
Provided example content (in <coppeliaSim directory>/scenes/, models/).
User Manual: https://manual.coppeliarobotics.com
YouTube channel: https://www.youtube.com/user/VirtualRobotPlatform
Provided example content (in <coppeliaSim directory>/scenes/, models/).
- 15 Apr 2024, 10:18
- Forum: General questions
- Topic: How can I generate path from to write a letter or draw a picture?
- Replies: 1
- Views: 83
Re: How can I generate path from to write a letter or draw a picture?
You can have a look at the "3D Text Generator" add-on source code (in <coppeliaSim dir>/addOns/), which does something like that.
- 15 Apr 2024, 10:11
- Forum: General questions
- Topic: Get the error: attempt to call a nil value (field 'getobjectMatrix')
- Replies: 2
- Views: 73
Re: Get the error: attempt to call a nil value (field 'getobjectMatrix')
Also, you can write that as simply:Horizon wrote: ↑13 Apr 2024, 16:04Code: Select all
Anc=Matrix:vertcat(Matrix(3,4,sim.getobjectMatrix(camera,tip)),Matrix(1,4,{0,0,0,1}))
Code: Select all
Anc=Matrix4x4(sim.getObjectMatrix(camera,tip))
Matrix4x4
initializes from either a 12 or 16 elements array.- 15 Apr 2024, 10:09
- Forum: General questions
- Topic: Get the error: attempt to call a nil value (field 'getobjectMatrix')
- Replies: 2
- Views: 73
- 15 Apr 2024, 10:05
- Forum: General questions
- Topic: How to Import a URDF file
- Replies: 5
- Views: 129
Re: How to Import a URDF file
Force sensors are used for "Fixed joints".