Search found 209 matches

by fferri
21 Sep 2018, 11:14
Forum: General questions
Topic: speed control based on fuzzy in matlab
Replies: 2
Views: 56

Re: speed control based on fuzzy in matlab

Joint controllers can be written using the joint callback functions but you need to write those as Lua scripts inside the V-REP simulator. I don't know whether you would be able to use remote communication in the joint callback (such as one of these ) or the other way round e.g. with the Remote API,...
by fferri
21 Sep 2018, 11:08
Forum: General questions
Topic: Path-planning for serial robotic manipulator
Replies: 1
Views: 21

Re: Path-planning for serial robotic manipulator

See this section in the manual: Path and motion planning Also check the following scene examples in the V-REP scenes folder: scenes/ik_fk_simple_examples/8-computingJointAnglesForRandomPoses.ttt scenes/3DoFHolonomicPathPlanning.ttt scenes/6DoFHolonomicPathPlanning.ttt scenes/motionPlanningDemo1.ttt ...
by fferri
21 Sep 2018, 11:01
Forum: General questions
Topic: simOMPL.createStateSpace()
Replies: 1
Views: 30

Re: simOMPL.createStateSpace()

The synopsis for the simOMPL.createStateSpace function is: int stateSpaceHandle=simOMPL.createStateSpace( string name, int type, int objectHandle, table boundsLow, table boundsHigh, int useForProjection, float weight=1.0, int refObjectHandle=-1 ) Where parameters mean: name (string): a name for this...
by fferri
11 Sep 2018, 17:05
Forum: General questions
Topic: Why does funtion sim.getJointForce have nil value at the first execution?
Replies: 1
Views: 35

Re: Why does funtion sim.getJointForce have nil value at the first execution?

It means that no value is available yet: http://www.coppeliarobotics.com/helpFil ... tForce.htm
forceOrTorque: the force or the torque applied to the joint along/about its z-axis, or nil in case of an error, or if no value is available yet.
by fferri
10 Sep 2018, 16:41
Forum: General questions
Topic: Robot is moving continously without any velocity
Replies: 4
Views: 101

Re: Robot is moving continously without any velocity

Did you try using the Vortex engine? It should be more stable than ODE and Bullet.

Also ODE should be more stable than Bullet in some cases.
by fferri
10 Sep 2018, 16:37
Forum: General questions
Topic: Nested joints: how to associate both a prismatic and a revolute joint to an object
Replies: 5
Views: 61

Re: Nested joints: how to associate both a prismatic and a revolute joint to an object

You have to add an object between the two joints, such that it becomes child of joint1 and parent of joint2.
by fferri
09 Sep 2018, 08:29
Forum: General questions
Topic: Nested joints: how to associate both a prismatic and a revolute joint to an object
Replies: 5
Views: 61

Re: Nested joints: how to associate both a prismatic and a revolute joint to an object

The two shapes cannot be equal.

Probably what you want is to have the first shape to be an invisible primitive shape (i.e. a sort of "dummy").
by fferri
08 Sep 2018, 13:43
Forum: General questions
Topic: Make object move randomly within a given area
Replies: 1
Views: 32

Re: Make object move randomly within a given area

Probably sim.addForce if the object is dynamic.
by fferri
08 Sep 2018, 13:40
Forum: General questions
Topic: Nested joints: how to associate both a prismatic and a revolute joint to an object
Replies: 5
Views: 61

Re: Nested joints: how to associate both a prismatic and a revolute joint to an object

You cannot have a joint as a direct child of another joint.

The way you did it (with a body inbetween) is the way to do it.

See Designing dynamic simulations.