Search found 7531 matches

by coppelia
24 Jan 2020, 08:29
Forum: General questions
Topic: Multi clients connection in synchronous mode, remote API
Replies: 1
Views: 18

Re: Multi clients connection in synchronous mode, remote API

Hello,

looking quickly through your message, I noticed that your remoteApiConnections.txt contains a ture, instead of true.

Cheers
by coppelia
24 Jan 2020, 07:12
Forum: General questions
Topic: Automating the installation of CoppeliaSim
Replies: 1
Views: 14

Re: Automating the installation of CoppeliaSim

Hello,

yes, this is correct, the installer we currently use (QSetup) seems to not correctly handle the /silent or /hide directives. We'll probably switch to something else very soon.
In the mean time you can always use the install-less packages, also available here.

Cheers
by coppelia
23 Jan 2020, 20:45
Forum: General questions
Topic: How to Display Dialog box from Python
Replies: 2
Views: 37

Re: How to Display Dialog box from Python

Hello, try with: res, dialogHandle, uiHandle=vrep.simxDisplayDialog(client.id, 'DialogBox', "System is calculating path", vrep.sim_dlgstyle_message, "",None,None, vrep.simx_opmode_oneshot_wait) because: sim.dlgstyle_message is not defined in simConst.py , but sim_dlgstyle_message is The documentatio...
by coppelia
23 Jan 2020, 08:55
Forum: Bug reports
Topic: Newton simulator issue on Ubuntu 18.04
Replies: 1
Views: 22

Re: Newton simulator issue on Ubuntu 18.04

Hello,

thanks for mentioning this. We already had a similar issue in the past, not sure what is the problem. But a work around is to use the Ubuntu16.04 plugin instead (i.e. libsimExtDynamicsNewton.so). Simply copy that plugin to your Ubuntu18.04 installation folder.

Cheers
by coppelia
22 Jan 2020, 13:12
Forum: General questions
Topic: How to return two float variables using simxCallScriptFunction
Replies: 1
Views: 37

Re: How to return two float variables using simxCallScriptFunction

Hello, so it seems you are using a legacy remote API Python client . With a B0-based remote API client things are a little bit more straightforward . But anyways, in your case, you have different options: you can simply concatenate both float tables, and indicate the offset of the second table via a...
by coppelia
22 Jan 2020, 11:02
Forum: General questions
Topic: What kind of inverse kinematics does the function "simGetConfigForTipPose" use?
Replies: 1
Views: 30

Re: What kind of inverse kinematics does the function "simGetConfigForTipPose" use?

Hello,

this depends on the IK group you have specified in that function. If that IK group uses a damped resolution method, then sim.getConfigForTipPose also uses that damped resolution method (not efficient at all with that function btw).

Cheers
by coppelia
22 Jan 2020, 10:59
Forum: General questions
Topic: messagePack object documentation C++
Replies: 3
Views: 29

Re: messagePack object documentation C++

Hello, across all bindings, we have: First value is a boolean, telling whether the remote function succeeded or not Second value: an error message (if first value is false ), otherwise the first value the remote function returns. e.g. with the function simxGetVisionSensorImage , this is the resoluti...
by coppelia
21 Jan 2020, 12:36
Forum: General questions
Topic: Serialization not supported (how to convert?)
Replies: 1
Views: 40

Re: Serialization not supported (how to convert?)

Hello, yes, you are correct. This is the only way to upgrade the old files, i.e. by opening it in an older V-REP version, and saving it. This process could be automated if you have a large number of files. e.g. by using an add-on script. Here a very simple add-on, saveScene.lua : if (sim_call_type==...
by coppelia
21 Jan 2020, 07:19
Forum: General questions
Topic: problem about how to use the function sim.getPositionOnPath()
Replies: 2
Views: 55

Re: problem about how to use the function sim.getPositionOnPath()

Hello Jian Ye, you have two methods of getting the coordinates of a point on the path: method 1: sim.getPositionOnPath(pathHandle,L), where L is a value between 0 and 1 (0 is at the beginning of the path, 1 is at the end of the path. 0.5 is in the middle of the path, etc.) method 2: sim.getPositionO...
by coppelia
21 Jan 2020, 07:04
Forum: General questions
Topic: error occurs when using import vrep.py
Replies: 7
Views: 68

Re: error occurs when using import vrep.py

You have a problem but are not willing to give more information for the resolution of your problem. If you don't tell me what Python version you are using in both cases, and you won't try the latest version of the software, then I can't help you unfortunately.

Cheers