Search found 7967 matches

by coppelia
11 Aug 2020, 07:56
Forum: Bug reports
Topic: API Parameter sim_uint64param_simulation_time_ns returns microseconds
Replies: 1
Views: 23

Re: API Parameter sim_uint64param_simulation_time_ns returns microseconds

Thanks for the notice Adrian.

You are right, the returned data is in microseconds, rather than nanoseconds. There was a confusion somewhere with those values. In CoppeliaSim versions > V4.1.0 rev1, this will be fixed.

Cheers
by coppelia
26 Jul 2020, 15:06
Forum: General questions
Topic: Trajectory Generation
Replies: 5
Views: 143

Re: Trajectory Generation

Hello, not sure I completely understand. Configuration space is usually the joint space... so you probably want to find the position and orientation is 3D space that cooresponds to a set of joint angles? This is the forward kineamtics problem and is quite trivial for kinematic chains. In CoppeliaSim...
by coppelia
26 Jul 2020, 14:56
Forum: General questions
Topic: Launch error "error: ./coppeliaSim: undefined symbol: _ZdlPvm, version Qt_5"
Replies: 5
Views: 127

Re: Launch error "error: ./coppeliaSim: undefined symbol: _ZdlPvm, version Qt_5"

Hello,

in which context is the error output? Is CoppeliaSim running, or crashing? What is prented before/after?
Also, could it be that you have another Qt version installed on your system?

Cheers
by coppelia
26 Jul 2020, 14:53
Forum: General questions
Topic: Questions about simpleSynchronousTest.m
Replies: 1
Views: 42

Re: Questions about simpleSynchronousTest.m

Hello, I cannot notice a difference when connecting to the continuous remote API server service, or to a regular remote API server service, as you describe it. Of course, it is important to start the service from a script that is already running before the simulation starts, e.g. from a customizatio...
by coppelia
24 Jul 2020, 09:59
Forum: General questions
Topic: Torque Control
Replies: 3
Views: 105

Re: Torque Control

you can also do this directly from Python. In CoppeliaSim V4.1.0 or above, have a look at the demo scene scenes/pControllerViaRemoteApi.ttt The important points are: CoppeliaSim needs to run in synchronous mode The simulation time step has to be the same as the dynamics time step (in this scene 5ms)...
by coppelia
24 Jul 2020, 09:51
Forum: General questions
Topic: Velodyne VPL_16 LiDAR pointcloud extraction in MATLAB
Replies: 8
Views: 138

Re: Velodyne VPL_16 LiDAR pointcloud extraction in MATLAB

You can simply increase the frequency to 20, then in each simulation step you get exactly one turn of data (if you use a simulation time step of 50ms). Try with something like this: function getPoints(inInts, inFloats, inStrings, inBuffer) if packedData then return {},{},{},data else return {},data,...
by coppelia
23 Jul 2020, 13:03
Forum: General questions
Topic: spatial inertia matrix
Replies: 3
Views: 90

Re: spatial inertia matrix

The mentioned functions are available via the regular API (which has C and Lua versions). So what you can do is create a script function that handles the calls, aggregates the data, and returns it. Then, call that script function remotely via simxCallScriptFunction ( B0-based remote API version here...
by coppelia
23 Jul 2020, 12:55
Forum: General questions
Topic: Torque Control
Replies: 3
Views: 105

Re: Torque Control

Hello, have a look at the demo scene scenes/motorControllerExamples.ttt (only available from CoppeliaSim V4.1.0): it illustrates the various control modes available. If you want to control a joint in force/torque mode, and have the joint follow a specific trajectory, then you should put your control...
by coppelia
23 Jul 2020, 12:47
Forum: General questions
Topic: Error opening CoppeliaSim on Ubuntu 20.04 LTS
Replies: 4
Views: 1485

Re: Error opening CoppeliaSim on Ubuntu 20.04 LTS

Is your Ubuntu 20.04 a clean installation? What exactly is the output in the terminal when launching CoppeliaSim?

Cheers
by coppelia
23 Jul 2020, 12:45
Forum: General questions
Topic: UR5 robot
Replies: 3
Views: 115

Re: UR5 robot

In CoppeliaSim you can create simple primitive shapes (planes, discs, cylinders, cuboids, spheres). Then you can group or merge them together if needed. You can also modify them via the mesh edit mode. But the best really is to import CAD data, if the mesh is not simple. CoppeliaSim supports various...