Search found 12 matches

by Ruediger
07 Feb 2014, 16:17
Forum: General questions
Topic: How to set the friction of a new created pure shape
Replies: 3
Views: 2908

Re: How to set the friction of a new created pure shape

This sounds good. I will wait for the new release. Any date?

I have started with copying objects, but I can not find an API function to change the size, because the new object must have a size defined by a custom parameter.

Ruediger
by Ruediger
07 Feb 2014, 11:12
Forum: General questions
Topic: How to set the friction of a new created pure shape
Replies: 3
Views: 2908

How to set the friction of a new created pure shape

Hello, I create a shape in a Child script: simCreatePureShape(..) set the name: simSetObjectName(..) set the color: simSetShapeColor(..) set the position simSetObjectPosition(..) and use the bullet engine -> OK - but it seems, that the shape has no (or only very less) friction What API function can ...
by Ruediger
21 Aug 2013, 11:41
Forum: Bug reports
Topic: joint control callback script (V3.0.4)
Replies: 6
Views: 12058

Re: joint control callback script (V3.0.4)

Stupid mistake
Thank you,
Ruediger
by Ruediger
21 Aug 2013, 10:26
Forum: Bug reports
Topic: joint control callback script (V3.0.4)
Replies: 6
Views: 12058

Re: joint control callback script (V3.0.4)

Hello Ruediger, by default, the joint callback script is called 10 times for each "regular" main simulation pass . That means its frequency is higher than normal, but most simulation values and states are updated only for the main simulation pass. So is the joint velocity that you read with simGetO...
by Ruediger
21 Aug 2013, 08:15
Forum: Bug reports
Topic: joint control callback script (V3.0.4)
Replies: 6
Views: 12058

Re: joint control callback script (V3.0.4)

Thank you for this explanation. I have now written my velocity profile generator as call-back script. I move the joint to the target position with a constant acc ramp up and down and a max vel limit. The target position can be set at any time, even if the joint is moving. Now I must have a way to ch...
by Ruediger
20 Aug 2013, 10:22
Forum: Bug reports
Topic: joint control callback script (V3.0.4)
Replies: 6
Views: 12058

joint control callback script (V3.0.4)

-- Following data is handed over from V-REP: init,revolute,cyclic,jointHandle,passCnt,totalPasses,currentPos,targetPos,errorValue, effort,dynStepSize,lowLimit,hightLimit,targetVel,maxForceTorque,velUpperLimit=... It looks like, that the currentPos value has the unit 0.1 meters, or in other words: cu...
by Ruediger
14 Aug 2013, 07:35
Forum: General questions
Topic: How to define a joint at a singular point during IK
Replies: 7
Views: 3993

Re: How to define a joint at a singular point during IK

Your code defines the Joint_2 position to stay positive or negative. This does not solve my problem. Let me explain: A scara can reach tip positions in an area limited by an outer circle. All tip positions on this circle have Joint_2 set to 0. For that reason all tip positions inside this circle can...
by Ruediger
13 Aug 2013, 16:12
Forum: General questions
Topic: How to define a joint at a singular point during IK
Replies: 7
Views: 3993

Re: How to define a joint at a singular point during IK

I have found a solution, which looks more simple to me: Insite the simHandlePath() loop I check for the straight elbow (joint 2 is near 0) and then I limit the JointInterval to the right or left angle range (M2 is the handle for the joint 2) length = simGetPathLength(_path) while (simGetPathPosition...
by Ruediger
13 Aug 2013, 14:07
Forum: General questions
Topic: How to define a joint at a singular point during IK
Replies: 7
Views: 3993

Re: How to define a joint at a singular point during IK

Hello Admin, I have my IK groups made ​​exactly according to your instructions, but the behavior is unstable. I think the problem is that the intial small angle of the tip-target around joint 2 does not remains small if the joint is far away of the singular configuration. This is the case for other ...
by Ruediger
09 Aug 2013, 11:24
Forum: General questions
Topic: How to define a joint at a singular point during IK
Replies: 7
Views: 3993

How to define a joint at a singular point during IK

Hello, I like to change the middle joint of a scara type robot from one side to the other. The tip of the scara follows a path in a loop with simHandlePath(_path, simGetSimulationTimeStep()) the path reaches a point were the middle joint is straight, but from this point on, it looks like random whic...