Search found 10 matches

by tgurriet
20 Jul 2018, 10:25
Forum: Feature requests
Topic: Direct joint torque/force control
Replies: 2
Views: 559

Re: Direct joint torque/force control

Sure, but that requires 2 API calls (to set the force and change the sign of the target velocity) for something very basic.

Hence the "request" for a mode where we can control joint torque directly with one API call.
by tgurriet
18 Jul 2018, 17:11
Forum: General questions
Topic: Set Shape Inertia with Matlab API
Replies: 3
Views: 406

Re: Set Shape Inertia with Matlab API

It's definitly one way to go, but that functionality is kinda important, it would be great to have the "simSetShapeMassAndInertia" function implemented in the API directly.
by tgurriet
16 Jul 2018, 12:58
Forum: Feature requests
Topic: Direct joint torque/force control
Replies: 2
Views: 559

Direct joint torque/force control

Hello, Would it be possible have direct control over the torque/force at the joint? I know it's possible to do so by enabling the motor at the joint and playing with desired velocity and max torque. But it is a bit convoluted for something that basic... When the joint is in torque/force mode but the...
by tgurriet
16 Jul 2018, 12:47
Forum: General questions
Topic: Set Shape Inertia with Matlab API
Replies: 3
Views: 406

Set Shape Inertia with Matlab API

Hello, I cannot find a way to set the inertia of a body with the Matlab API. The function "simSetShapeMassAndInertia" is not implemented and there are no inertia parameter in : http://www.coppeliarobotics.com/helpFiles/en/objectParameterIDs.htm . Does anyone have a solution to set the Inertial frame...
by tgurriet
27 Feb 2018, 19:26
Forum: Bug reports
Topic: Cannot set initial velocity though Matlab API
Replies: 9
Views: 1062

Re: Cannot set initial velocity though Matlab API

Works fine now, thanks! A little remark though, the initial velocity is not saved when restarting the simulation. Not sure if it is the intended behavior but when you have a complex robot with lots of joints it takes forever to make all the calls to "simxSetObjectFloatParameter". It would be nice if...
by tgurriet
23 Feb 2018, 02:21
Forum: Bug reports
Topic: Cannot set initial velocity though Matlab API
Replies: 9
Views: 1062

Re: Cannot set initial velocity though Matlab API

Thanks.

Let us know if you find a workaround we can use in the meantime.
by tgurriet
18 Feb 2018, 13:53
Forum: Bug reports
Topic: Cannot set initial velocity though Matlab API
Replies: 9
Views: 1062

Re: Cannot set initial velocity though Matlab API

Still doesn't work with customization scripts.

So far it only works if I set the initial velocity in the "sysCall_init" of a non-threaded child script.
by tgurriet
18 Feb 2018, 13:26
Forum: Bug reports
Topic: Cannot set initial velocity though Matlab API
Replies: 9
Views: 1062

Re: Cannot set initial velocity though Matlab API

I have tried with version 3.4 and 3.5. Same result for both.

I'll try with the customization script call, thanks.
by tgurriet
16 Feb 2018, 14:02
Forum: Bug reports
Topic: Cannot set initial velocity though Matlab API
Replies: 9
Views: 1062

Cannot set initial velocity though Matlab API

Hello, I'm trying to set an initial for a body in a dynamics simulation. The instructions from here work: http://www.forum.coppeliarobotics.com/viewtopic.php?t=6028 However, when I try to do the same through the matlab API, the initial velocity isn't set. The scene is just a dynamically enabled sphe...