Search found 14 matches
- 01 Mar 2024, 02:52
- Forum: General questions
- Topic: Running Multiple Headless Simulation
- Replies: 1
- Views: 405
Running Multiple Headless Simulation
Hi fellow, I'm trying to train a reinforcement learning agent, and the simulation environment was constructed using CoppeliaSim. To accelerate the training process, I want to run multiple environments simultaneously. I have already figured out how to run several CS and establish a connection using Z...
- 04 Jan 2024, 23:47
- Forum: General questions
- Topic: Simulation freezes in Stepping Mode
- Replies: 7
- Views: 54289
Simulation freezes in Stepping Mode
Hello, I'm working on a project using Coppelia as a simulation environment for reinforcement learning. The simulation is configured on Stepping Mode. Everything looks great, and most of the time I get the desired results from Coppelia. However, during the training, sometimes the simulation freezes w...
- 07 Dec 2023, 16:00
- Forum: Bug reports
- Topic: CoppeliaSim v4.6.0 rev10 Launch Problem
- Replies: 1
- Views: 20774
CoppeliaSim v4.6.0 rev10 Launch Problem
Hi everyone, I just downloaded CoppeliaSim V4.6.0 rev10 for Ubuntu 22.04, and when I want to launch it from the command line using ./coppeliaSim.sh, I get this error: "error while loading shared libraries: libboost_program_options.so.1.74.0: cannot open shared object file: No such file or direc...
- 04 Dec 2023, 19:18
- Forum: General questions
- Topic: Getting Depth Image
- Replies: 4
- Views: 20132
Re: Getting Depth Image
In Python, the function sim.getVisionSensorDepth returns bytes that you need to unpack if you want to interpret that data: import array depth, res = sim.getVisionSensorDepth(visionSensorHandle) float_array = array.array('f') float_array.frombytes(depth) depthValues = list(float_array) In above code...
- 02 Dec 2023, 19:30
- Forum: General questions
- Topic: Getting Depth Image
- Replies: 4
- Views: 20132
Re: Getting Depth Image
Hello, from an external Python script, simply get inspired from the demo <CoppeliaSim folder>/programming/zmqRemoteApi/clients/python/synchronousImageTransmission.py . Instead of calling sim.getVisionSensorImg in there, call sim.getVisionSensorDepth. Keep in mind that in the associated scene file, ...
- 02 Dec 2023, 01:29
- Forum: General questions
- Topic: Getting Depth Image
- Replies: 4
- Views: 20132
Getting Depth Image
Hi everyone, I'm trying to get the depth image taken by the vision sensor with an external Python script. I followed the steps provided in the previous questions in this forum. However, I cannot still retrieve the image I want. The procedure I follow in the external script is like this: First, the v...
- 22 Nov 2023, 15:33
- Forum: General questions
- Topic: Local & Global Respondable masks
- Replies: 3
- Views: 6173
Re: Local & Global Respondable masks
When an object is respondable , then it will react to collision (or another respondable shape will react). This is a property of the underlying physics engines. If two objects shape a common ancestor, then if their respective local respondable masks overlap, then there will be collision response. I...
- 21 Nov 2023, 17:41
- Forum: General questions
- Topic: Local & Global Respondable masks
- Replies: 3
- Views: 6173
Re: Local & Global Respondable masks
Sorry for the image link
here is the updated link:
https://drive.google.com/file/d/1k8g2Ej ... drive_link
here is the updated link:
https://drive.google.com/file/d/1k8g2Ej ... drive_link
- 21 Nov 2023, 17:40
- Forum: General questions
- Topic: Local & Global Respondable masks
- Replies: 3
- Views: 6173
Local & Global Respondable masks
Hey everyone, I hope you're doing well. I'm currently working on modeling my gripper in Coppelia, and I've run into a bit of a puzzle regarding the object's respondable feature, specifically in the Rigid Body Dynamics Properties. After turning on the respondable option, I noticed these 16 boxes name...
- 06 Nov 2023, 16:33
- Forum: General questions
- Topic: Stop Joint from Moving in Velocity Mode
- Replies: 2
- Views: 2444
Re: Stop Joint from Moving in Velocity Mode
In the RG2 gripper model, I noticed that there is an option available in velocity mode named " Lock motor when target velocity is zero".
I couldn't find this option in the model I'm creating even though the control mode is velocity.
I couldn't find this option in the model I'm creating even though the control mode is velocity.