Search found 980 matches

by fferri
19 Feb 2024, 09:19
Forum: Bug reports
Topic: Python ZMQ simpleClient not working
Replies: 7
Views: 5043

Re: Python ZMQ simpleClient not working

How do you mean "using ZMQ and multithreading"?
by fferri
18 Feb 2024, 09:50
Forum: General questions
Topic: graph object
Replies: 3
Views: 386

Re: graph object

Yes, you should use ZeroMQ remote API which makes all API functions available to MATLAB too.
by fferri
18 Feb 2024, 09:48
Forum: General questions
Topic: How to add background image
Replies: 1
Views: 257

Re: How to add background image

You can place a large sphere, cube or plane, and apply a texture to it.
by fferri
14 Feb 2024, 11:35
Forum: General questions
Topic: How can I change the port number? (ZeroMQ API - python)
Replies: 7
Views: 971

Re: How can I change the port number? (ZeroMQ API - python)

thumengql wrote: 14 Feb 2024, 11:26 For me, the -Gxx parameter does not work.
Make sure to use the latest version of CoppeliaSim.

One of the previous 4.6.x releases had a bug with -G options.
by fferri
14 Feb 2024, 11:33
Forum: General questions
Topic: how to find the center of mass of a assembly
Replies: 9
Views: 549

Re: how to find the center of mass of a assembly

The error is in the code to transform the c (shape center of mass) vector in global coords. You first have to extract the position vector, and then transform it using sim.multiplyVector: local ii, com = sim.getShapeInertia(shape) -- Get inertia and center of mass local c = {com[4], com[8], com[12]} ...
by fferri
13 Feb 2024, 14:31
Forum: General questions
Topic: how to find the center of mass of a assembly
Replies: 9
Views: 549

Re: how to find the center of mass of a assembly

your calculation of "totalCenterOfMass" is not correct. you probably want to do: local allHandles = { body, hip_1, upper_dynamic1, Dynamic_lower_leg1, hip_2, upper_dynamic2, Dynamic_lower_leg2, hip_3, upper_dynamic3, Dynamic_lower_leg3, hip_4, upper_dynamic4, Dynamic_lower_leg4, } local to...
by fferri
13 Feb 2024, 11:08
Forum: General questions
Topic: How to use webcam video stream in CoppeliaSim ?
Replies: 1
Views: 258

Re: How to use webcam video stream in CoppeliaSim ?

You can use the simIM plugin. It has functions for accessing OpenCV video capture devices:
  • simIM.openVideoCapture
  • simIM.closeVideoCapture
  • simIM.readFromVideoCapture
by fferri
13 Feb 2024, 11:05
Forum: Bug reports
Topic: Triangle Edit Mode - selection problem
Replies: 4
Views: 406

Re: Triangle Edit Mode - selection problem

What happens if you export LIBGL_ALWAYS_SOFTWARE=1 like mentioned in this other topic?
by fferri
13 Feb 2024, 11:04
Forum: Bug reports
Topic: Triangle Edit Mode - selection problem
Replies: 4
Views: 406

Re: Triangle Edit Mode - selection problem

Probably an issue with graphic card or its drivers