Search found 14 matches

by major_david
01 Mar 2024, 02:52
Forum: General questions
Topic: Running Multiple Headless Simulation
Replies: 1
Views: 132

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...
by major_david
04 Jan 2024, 23:47
Forum: General questions
Topic: Simulation freezes in Stepping Mode
Replies: 7
Views: 52995

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...
by major_david
07 Dec 2023, 16:00
Forum: Bug reports
Topic: CoppeliaSim v4.6.0 rev10 Launch Problem
Replies: 1
Views: 19897

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...
by major_david
04 Dec 2023, 19:18
Forum: General questions
Topic: Getting Depth Image
Replies: 4
Views: 19400

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...
by major_david
02 Dec 2023, 19:30
Forum: General questions
Topic: Getting Depth Image
Replies: 4
Views: 19400

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, ...
by major_david
02 Dec 2023, 01:29
Forum: General questions
Topic: Getting Depth Image
Replies: 4
Views: 19400

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...
by major_david
22 Nov 2023, 15:33
Forum: General questions
Topic: Local & Global Respondable masks
Replies: 3
Views: 5818

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...
by major_david
21 Nov 2023, 17:41
Forum: General questions
Topic: Local & Global Respondable masks
Replies: 3
Views: 5818

Re: Local & Global Respondable masks

Sorry for the image link

here is the updated link:
https://drive.google.com/file/d/1k8g2Ej ... drive_link
by major_david
21 Nov 2023, 17:40
Forum: General questions
Topic: Local & Global Respondable masks
Replies: 3
Views: 5818

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...
by major_david
06 Nov 2023, 16:33
Forum: General questions
Topic: Stop Joint from Moving in Velocity Mode
Replies: 2
Views: 2081

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.