Any documentation for customDataBlock "VEL"

Typically: "How do I... ", "How can I... " questions
Post Reply
Dennisdg
Posts: 1
Joined: 27 Nov 2023, 18:26

Any documentation for customDataBlock "VEL"

Post by Dennisdg »

Dear forum members,

My name is Dennis and I am a robotics enthusiast who just graduated with a BSc in electronics.

I am getting to learn Coppeliasim and my first goal is controlling a conveyor velocity using:

sim.writeCustomDataBlock(conveyorHANDLE,'__ctrl__',sim.packTable({vel=0.0}))
Now I have this scene working like a champ.

my question: is there some documentation where all the customDataBlock variables are written down? for example POS and vel?


Because I find it very hard to find such information. or did I miss some other documentation?

Have a good day forum members!
Dennis

fferri
Posts: 1230
Joined: 09 Sep 2013, 19:28

Re: Any documentation for customDataBlock "VEL"

Post by fferri »

Custom data blocks is one of the many ways of communication between scripts.

Nor the names of the data blocks nor the field names used are standardized by any mean, i.e. it is up to the model developer to decide the programming interface to control the model.

Normally the model script contains comments that explain how to use it, or the script is simple enough to be self-explanatory.

Post Reply