Search found 8446 matches

by coppelia
09 Apr 2021, 13:04
Forum: General questions
Topic: Redundant Manipulator Collision Avoidance?
Replies: 6
Views: 260

Re: Redundant Manipulator Collision Avoidance?

We have prepared a very simple example scene available here: run the simulation and try to move the blue cylinder close to the kinematic chain.

We might add an improved version of this scene to the default demo scenes. Make sure you run with CoppeliaSim V4.2.0 or above.

Cheers
by coppelia
08 Apr 2021, 08:16
Forum: General questions
Topic: Joint configuration using remote API
Replies: 1
Views: 15

Re: Joint configuration using remote API

Hello Jan, you have several ways how you can do this. First I'd use a customization script that handle that task. You mention a text file that contains configuration data. So the customization script could read the configuration file in its initialization phase ( sysCall_init ), or better, in the sy...
by coppelia
08 Apr 2021, 08:03
Forum: General questions
Topic: How can I call via MATLAB the function sysCall_threadmain?
Replies: 3
Views: 32

Re: How can I call via MATLAB the function sysCall_threadmain?

Hello, how are you trying to call a script function? You cannot call system callback functions like sysCall_threadMain and similar. You'll have to create a new script function that you then call from your external application via simxCallScriptFunction . Maybe something like: function myThread() whi...
by coppelia
08 Apr 2021, 07:57
Forum: General questions
Topic: Move Gripper to its own coordinate system
Replies: 2
Views: 20

Re: Move Gripper to its own coordinate system

Hello, you can find the documentation that relates to your CoppeliaSim version in your installation folder, in the helpFiles folder. And yes, we have added a new, better path functionality, that is much more scalable and flexible. And we highly recommend you to look at it. CoppeliaSim V4.2.0 has bee...
by coppelia
08 Apr 2021, 07:52
Forum: General questions
Topic: controlling motor from python
Replies: 5
Views: 44

Re: controlling motor from python

Hello, could it be that the motors are limited in range? If you do the same in a self-contained scene, i.e. without the python client, does it work correctly? Also, you should use the simx_opmode_oneshot operation mode, when simply sending out a function/data, without expecting something is return. ...
by coppelia
08 Apr 2021, 07:37
Forum: General questions
Topic: Which sensor should i use to get similar behaviour as an LDR
Replies: 3
Views: 43

Re: Which sensor should i use to get similar behaviour as an LDR

You cannot directly measure the light intensity by looking at a light: the light will not be shown, only its effect on surfaces is seen (illumination of the surface). So instead of having a vision sensor look towards the light source, have it look towards the illuminated surface (e.g. the solar pane...
by coppelia
08 Apr 2021, 07:21
Forum: General questions
Topic: Redundant Manipulator Collision Avoidance?
Replies: 6
Views: 260

Re: Redundant Manipulator Collision Avoidance?

The functionality is available via scripting, but since you can call script functions from the C/C++ API, it is also indirectly available from there. E.g. simply create an add-on that offers that script function, then call from C/C++ that add-on function via simCallScriptFunctionEx . Of course you c...
by coppelia
08 Apr 2021, 07:11
Forum: Bug reports
Topic: Strange data when using force sonsor
Replies: 3
Views: 125

Re: Strange data when using force sonsor

This is the nature of a physics engine, and you will have to look at the various parameters and settings for each engine, in order to produce results that satisfy you. Usually more calculation iterations brings more stability and precision, but it really also depends on the application. As for the V...
by coppelia
01 Apr 2021, 20:06
Forum: General questions
Topic: Handling OMPL exceptions
Replies: 5
Views: 153

Re: Handling OMPL exceptions

You can have several arguments and return arguments too: function generateAnError(arg1,arg2,arg3) a=a+1 return arg1,arg2,arg3 end function sysCall_init() local arg1=42 local arg2=57 local arg3=21 local result,retArg1OrErrorMsg,retArg2,retArg3=pcall(generateAnError,arg1,arg2,arg3) if not result then ...
by coppelia
01 Apr 2021, 19:56
Forum: General questions
Topic: Trouble with vision sensor output to remote API
Replies: 1
Views: 87

Re: Trouble with vision sensor output to remote API

Hello, did you read how to get data from CoppeliaSim and/or execute remote API function calls via the legacy remote API ? Make sure you read about data streaming via the legacy remote API , since it appears that's what you want to do. And here you can read about the meaning of return codes . Cheers