Search found 8975 matches

by coppelia
29 Nov 2021, 16:58
Forum: General questions
Topic: Python - Lua B0 server client
Replies: 1
Views: 335

Re: Python - Lua B0 server client

Hello Marco, I think the simplest and best approach would be to use the ZeroMQ-based remote API , since you are using Python. Then, you will also be able, in a very simple and straight forward way, to call script functions from Python, sending and fetching data to/from CoppeliaSim, with sim.callScri...
by coppelia
26 Nov 2021, 14:40
Forum: General questions
Topic: Errors with B0 and ZeroMQ add-ons and remote api clients.
Replies: 10
Views: 2140

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

Please download CoppeliaSim for Ubuntu20 again. It should work now.

Cheers
by coppelia
26 Nov 2021, 14:18
Forum: General questions
Topic: Turn off "Simulation parameters" pop-up box
Replies: 5
Views: 2162

Re: Turn off "Simulation parameters" pop-up box

Hello, you can try to work with sim.setInt32Parameter and sim.intparam_simulation_warning_disabled_mask and/or sim.intparam_dynamic_warning_disabled_mask. Other than that, you can click through those dialogs 3 time, then re-use the generated system/settings.dat file, that contains that information. ...
by coppelia
26 Nov 2021, 05:21
Forum: General questions
Topic: Pass values into child script in headless mode
Replies: 2
Views: 717

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: 802

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: 1189

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: 855

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: 2140

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: 1161

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: 1189

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