Hi,
Just of couple of questions I've been wondering about:
1. Is it possible to change the name of an IK-Group from within a child script? simSetObjectName doesn't seem to work.
2. Is it possible to create a material and/or change material properties (friction etc) from within a child script?
3. Reflexxes Motion Library type II and IV are supported. When is type II used, and when type IV? I noticed that when using simRMLpos the jerk setting has no effect, so I figured that'd be type II.
Thanks,
Justus
Change name of IK group / RML version / adjust texture
Re: Change name of IK group / RML version / adjust texture
Hello Justus,
about your questions:
1. No, this is not supported
2. Yes, you can do that. But remember that since V-REP 3.4.0, each shape has its own material (i.e. materials cannot be shared among several shapes anymore, since this lead to confusions and other subtle problems). Have a look at simSetEngineBoolParameter, simSetEngineInt32Parameter and simSetEngineFloatParameter. While simulation is running, changes won't be applied, unless you call simResetDynamicObject upon the shape.
3. Reflexxes Motion Library type IV was supported in the past. Unfortunately, since the merger of Coppelia with BlueWorkforce, the license agreement with the Reflexxes became void. On top of that Reflexxes was acquires in 2014 by Google, and since that time, the Reflexxes library type IV is not availbale publicly anymore. So since the beginning of this year, we are only allowed to ship the Reflexxes Lib typ II (i.e. without Jerk control)
Cheers
about your questions:
1. No, this is not supported
2. Yes, you can do that. But remember that since V-REP 3.4.0, each shape has its own material (i.e. materials cannot be shared among several shapes anymore, since this lead to confusions and other subtle problems). Have a look at simSetEngineBoolParameter, simSetEngineInt32Parameter and simSetEngineFloatParameter. While simulation is running, changes won't be applied, unless you call simResetDynamicObject upon the shape.
3. Reflexxes Motion Library type IV was supported in the past. Unfortunately, since the merger of Coppelia with BlueWorkforce, the license agreement with the Reflexxes became void. On top of that Reflexxes was acquires in 2014 by Google, and since that time, the Reflexxes library type IV is not availbale publicly anymore. So since the beginning of this year, we are only allowed to ship the Reflexxes Lib typ II (i.e. without Jerk control)
Cheers
Re: Change name of IK group / RML version / adjust texture
Thanks!
Can it be that simSetReferencedHandles does not support IK group handles?
Can it be that simSetReferencedHandles does not support IK group handles?
Re: Change name of IK group / RML version / adjust texture
Yes, you are right. That will be corrected for next release. If that feature is important to you at this stage, you could download revision 19 of release 3.4.0 here. But be aware, that scenes saves with the new version will break code compatibility with previous V-REP versions. Unless you set value changeScriptCodeForNewApiNotation to 0 in file system/usrset.txt
Cheers
Cheers
Re: Change name of IK group / RML version / adjust texture
Oops, you will then also need a patched library. Contact me after that.
Cheers
Cheers
Re: Change name of IK group / RML version / adjust texture
It's important that our simulations are compatible with the current version of the player, so I'll wait for the next release. Thanks, J.