Search found 6625 matches

by coppelia
23 Jun 2018, 18:32
Forum: Bug reports
Topic: Error when installing vrep api for Python
Replies: 1
Views: 15

Re: Error when installing vrep api for Python

Hello,

we are not aware of such a python package (we didn't create it). So you will have to look with the people that created it for more details.

Cheers
by coppelia
23 Jun 2018, 18:26
Forum: General questions
Topic: Path planning on motion robots
Replies: 1
Views: 15

Re: Path planning on motion robots

Hello, that could be anything. The example scene you mention contains a shape that is static and programmatically moved along a found path. If you have a mobile robot, you will have to sample the found path and accordingly actuate the wheel motors of the robot in order to have the robot follow the p...
by coppelia
23 Jun 2018, 18:24
Forum: General questions
Topic: Change the floor's friction
Replies: 1
Views: 10

Re: Change the floor's friction

Hello, this is not the friction. If the floor's friction was infinite, then your ball would be perfectly rolling (and not slipping). If you don't want your ball to roll, or only very slowly/in a difficult way, you can increase its inertia for instance. Or change its material properties (this will de...
by coppelia
23 Jun 2018, 18:20
Forum: General questions
Topic: Display Image from Vision Sensor
Replies: 1
Views: 12

Re: Display Image from Vision Sensor

Hello, are you sure the two vision sensors have the same resolution? Also, what happens if you use sim.setVisionSensorCharImage instead? Also, you probably know that you can directly display the image or depth map of a vision sensor in a floating view, without the need to hand over the image to anot...
by coppelia
23 Jun 2018, 18:13
Forum: General questions
Topic: LIDAR - ROS - PointCloud2 message
Replies: 1
Views: 13

Re: LIDAR - ROS - PointCloud2 message

Hello,

did you have a look at this or that topic?

Cheers
by coppelia
23 Jun 2018, 18:11
Forum: General questions
Topic: little 3 wheels car
Replies: 2
Views: 22

Re: little 3 wheels car

Yes, Maxens's tip will probably help you. And make sure you do not have a ratio larger than 1-10 for masses or inertias in your vehicle. Or you try to switch to another physics engine that is more robust in that regards, for instance Vortex.

Cheers
by coppelia
23 Jun 2018, 18:08
Forum: General questions
Topic: sim.checkProximitySensor always returns result = 1
Replies: 1
Views: 14

Re: sim.checkProximitySensor always returns result = 1

Hello Maxens,

in Lua, 0 or 1 (or for that matter any number, string, function, etc.) evaluates to true. That is the problem in your code. Only nil or false evaluates to false. So you should write instead:

Code: Select all

if res_FL>0 then
    -- we detected the cube
end
Cheers
by coppelia
23 Jun 2018, 18:04
Forum: General questions
Topic: Issue moving platform through UI sliders (IK, no dynamics)
Replies: 7
Views: 63

Re: Issue moving platform through UI sliders (IK, no dynamics)

You can see all the loaded plugins in 2 ways: either in the console (on windows, you have to enable the display of the console first in the user settings ), or by drag-and-dropping the model models/tools/plugin enumerator tool.ttm into the scene. If the custom UI plugin is loaded, then you can gener...
by coppelia
20 Jun 2018, 09:02
Forum: Feature requests
Topic: Joint electrical engine mode
Replies: 3
Views: 77

Re: Joint electrical engine mode

Following illustrates how you can set the target velocity and max. force/torque for a force, controlled from your algorithm: function sysCall_jointCallback(inData) local targetVelocity=0.2 -- in rad/sec local maxForce=15 local outData={} outData.velocity=targetVelocity outData.force=maxForce return ...
by coppelia
20 Jun 2018, 08:58
Forum: General questions
Topic: Programmatically create a non-rigid connection (i.e position but not orientation)
Replies: 2
Views: 41

Re: Programmatically create a non-rigid connection (i.e position but not orientation)

Hello Maxens,

simply use a spherical joint. Something like:

Code: Select all

Terrain --> dummyA
RobotFoot --> sphericalJoint --> dummyB 
or:

Code: Select all

Terrain --> sphericalJoint --> dummyA
RobotFoot --> dummyB 
Cheers