Search found 8982 matches

by coppelia
26 Nov 2021, 05:21
Forum: General questions
Topic: Pass values into child script in headless mode
Replies: 2
Views: 1580

Re: Pass values into child script in headless mode

Hello Kat,

yes, you can do this with named parameters and the command-line option -G, e.g.

Code: Select all

./coppeliaSim.sh -GmyValue=hello
Then you can retrieve the value with sim.getStringNamedParam / sim.getNamedStringParam

Cheers
by coppelia
25 Nov 2021, 16:00
Forum: General questions
Topic: How to get deviation for self balancing robot.
Replies: 1
Views: 1592

Re: How to get deviation for self balancing robot.

Hello, working with orientation can be tricky or difficult to wrap your head around. There are at least 3 ways you can understand an orientation: using quaternions: this is rather difficult to understand, but very convenient for calculations. e.g. sim.getObjectQuaternion using Euler angles: this is ...
by coppelia
25 Nov 2021, 15:51
Forum: General questions
Topic: can I record video with vision sensors?
Replies: 3
Views: 2158

Re: can I record video with vision sensors?

Yes,

simply read the image of a vision sensor (and then save it) in the sensing section of a non-threaded child script. This will produce one image in each simulation step.

Cheers
by coppelia
25 Nov 2021, 12:02
Forum: General questions
Topic: How to hide the robotic arm in the vision sensor
Replies: 1
Views: 1695

Re: How to hide the robotic arm in the vision sensor

Hello, until CoppeliaSim V4.2.0, you can tag any object with a renderable flag . If the flag is on, then the object is visible from vision sensors. You can set that flag in the object common dialog . However, starting with CoppeliaSim V4.3.0, vision sensors will see almost the same objects as camera...
by coppelia
25 Nov 2021, 11:32
Forum: General questions
Topic: Errors with B0 and ZeroMQ add-ons and remote api clients.
Replies: 10
Views: 3923

Re: Errors with B0 and ZeroMQ add-ons and remote api clients.

unfortunately I can't see anything suspect...

Is your installation fresh or modified somehow?
by coppelia
24 Nov 2021, 15:35
Forum: General questions
Topic: discord channel
Replies: 1
Views: 2030

Re: discord channel

Hello,

no, not (yet).

cheers
by coppelia
24 Nov 2021, 15:34
Forum: General questions
Topic: can I record video with vision sensors?
Replies: 3
Views: 2158

Re: can I record video with vision sensors?

Hello,

you can't directly generate a video from a series of vision sensor images. You'll have to use a third-party library/application for that. Have also a look at sim.getVisionSensorCharImage and sim.saveImage.

Cheers
by coppelia
24 Nov 2021, 15:32
Forum: General questions
Topic: Errors with B0 and ZeroMQ add-ons and remote api clients.
Replies: 10
Views: 3923

Re: Errors with B0 and ZeroMQ add-ons and remote api clients.

Ok, it seems that many plugins could not load. Did you download CoppeliaSim Ubuntu 20.04 on a fresh Ubuntu 21.04 install? Normally you should not have compatibility problems, however we do not officially support Ubuntu 21.04 (next official platform will be Ubuntu 22.04). Anything special about your ...
by coppelia
24 Nov 2021, 09:57
Forum: General questions
Topic: Errors with B0 and ZeroMQ add-ons and remote api clients.
Replies: 10
Views: 3923

Re: Errors with B0 and ZeroMQ add-ons and remote api clients.

Please check your terminal when launching CoppeliaSim. Any error messages there?

Cheers
by coppelia
24 Nov 2021, 07:34
Forum: General questions
Topic: Errors with B0 and ZeroMQ add-ons and remote api clients.
Replies: 10
Views: 3923

Re: Errors with B0 and ZeroMQ add-ons and remote api clients.

Hello, let's focus on the ZeroMQ-based remote API : please try by spelling client.getObject('sim') correctly (it is case-sensitive) Then, from within the zmqRemoteApi cloned repository, you do not need to run cmake, simply navigate to zmqRemoteApi/clients/python/ and run: python ./simpleTest.py (mak...