Hello,
have a look how things are done in the demo script in programming/zmqRemoteApi/clients/python/simpleMovement.py
Cheers
Search found 5759 matches
- 03 Jun 2024, 15:21
- Forum: General questions
- Topic: control the acceleration of the joints
- Replies: 1
- Views: 45
- 03 Jun 2024, 15:12
- Forum: General questions
- Topic: Create an uneven terrain
- Replies: 7
- Views: 4332
Re: Create an uneven terrain
Then you are probably experiencing the heightfield bug I mentionned earlier. Please wait until CoppeliaASim V4.7
Cheers
Cheers
- 03 Jun 2024, 15:11
- Forum: General questions
- Topic: Vortex engine
- Replies: 9
- Views: 787
Re: Vortex engine
you can check if the plugin is loaded by typing: require('simVortex') , it should not throw an error. You can also inspect the terminal when starting for the first time a simulation with Vortex. The Vortex license file is managed by CMLab's licensing software, so you can't simply throw it into Coppe...
- 31 May 2024, 14:57
- Forum: General questions
- Topic: Create an uneven terrain
- Replies: 7
- Views: 4332
Re: Create an uneven terrain
Hello, be aware there there is a bug that might affect hightfields in V4.5 and V4.6 (we'll bring V4.7 out in 1-2 weeks hopefully). Points on the heightfield (in your case) are: (x-axis points to the right, y-axis to the top) p0 p1 p2 p3 p4 p5 p6 p7 p8 Shading angle allows you to make a shape appear ...
- 31 May 2024, 14:46
- Forum: General questions
- Topic: Vortex engine
- Replies: 9
- Views: 787
Re: Vortex engine
Hello Michele, the Vortex plugin is pre-installed on Windows, it is simVortex.dll : make sure that it loads when you start a simulation using the Vortex engine. All required Vortex libraries should be in place already. The only thing that is missing is the Vortex license. When you start the simulati...
- 31 May 2024, 14:42
- Forum: General questions
- Topic: Plane keeps flickering
- Replies: 1
- Views: 465
Re: Plane keeps flickering
Hello, not sure where the flickering comes from. But my guess this is due to z-fighting, which happens when 2 planes are almost coincident. You can either move the two planes a bit more apart, or you can try to reduce the vision sensor (or camera) far clipping plane - new clipping plane gap. For smo...
- 31 May 2024, 14:36
- Forum: General questions
- Topic: How to set vision sensor render mode to OpenGL3 via client or remote API
- Replies: 1
- Views: 432
Re: How to set vision sensor render mode to OpenGL3 via client or remote API
Hello,
indeed, this in not documented. You'd use a value of 7 for the openGL3 render mode.
What platform are you running on? Why did you have to recompile the simOpenGL3 plugin?
Cheers
indeed, this in not documented. You'd use a value of 7 for the openGL3 render mode.
What platform are you running on? Why did you have to recompile the simOpenGL3 plugin?
Cheers
- 31 May 2024, 14:32
- Forum: General questions
- Topic: How to use the Suction pad
- Replies: 6
- Views: 1637
Re: How to use the Suction pad
Just change the parent of the linked dummy, the one attached to your object: i.e. from: pickedPart --> linkedDummyB to: pickedPart You'd do that with sim.setObjectParent. But normally the suction pad code does that for you: in that code, you have an enabled variable that you should turn to false. Ch...
- 31 May 2024, 14:27
- Forum: General questions
- Topic: Understanding of "pickAndPlaceDemo.ttt"
- Replies: 1
- Views: 414
Re: Understanding of "pickAndPlaceDemo.ttt"
Hello,
that pick and place scene is rather complex and uses exclusively external files for the code. You can right click the require argument to open the included file.
But in order to display those items in the scene, have a look at drawing objects.
Cheers
that pick and place scene is rather complex and uses exclusively external files for the code. You can right click the require argument to open the included file.
But in order to display those items in the scene, have a look at drawing objects.
Cheers
- 31 May 2024, 14:23
- Forum: General questions
- Topic: Break the force sensor
- Replies: 1
- Views: 1381
Re: Break the force sensor
Hello,
in order to mimic a similar behaviour, simply set the parent object of the force/torque sensor to world, i.e.:
Cheers
in order to mimic a similar behaviour, simply set the parent object of the force/torque sensor to world, i.e.:
Code: Select all
sim.setObjectParent(forceSensor, sim.handle_world)