Search found 1011 matches
- 24 Apr 2024, 17:05
- Forum: General questions
- Topic: Control the joint to rotate more than 360 degrees
- Replies: 3
- Views: 93
Re: Control the joint to rotate more than 360 degrees
It is correct to use sim.moveToConfig. You can use a 1-dimensional config, starting from {0} , ending in {1} , which would be the parameter for interpolation between an initial and a final config/position/pose. To interpolate between 2 joint positions you can use (1 - config[1]) * initialJointPos + ...
- 24 Apr 2024, 16:54
- Forum: Bug reports
- Topic: Pb of refresh through remote connexion
- Replies: 1
- Views: 22
Re: Pb of refresh through remote connexion
try running in Xvfb? that would use software rendering
- 23 Apr 2024, 09:46
- Forum: General questions
- Topic: Control the joint to rotate more than 360 degrees
- Replies: 3
- Views: 93
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: 2
- Views: 44
- 22 Apr 2024, 09:25
- Forum: General questions
- Topic: Vision sensor object masks
- Replies: 2
- Views: 70
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: 70
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: 66
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: 121
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: 74
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.