Search found 5866 matches
- 10 Sep 2024, 05:54
- Forum: Bug reports
- Topic: CoppeliaSim Crashed after the 'empty areas are transparent' was cheaked
- Replies: 4
- Views: 154
Re: CoppeliaSim Crashed after the 'empty areas are transparent' was cheaked
Indeed, in 4.6, use this instead: sim = require 'sim' function sysCall_info() return {autoStart = false, menu = 'Tools\nScreenshot tool'} end function sysCall_init() simUI = require 'simUI' sim.addLog( sim.verbosity_scriptinfos, "Select the camera or vision sensor you wish to generate a high re...
- 09 Sep 2024, 14:46
- Forum: Bug reports
- Topic: CoppeliaSim Crashed after the 'empty areas are transparent' was cheaked
- Replies: 4
- Views: 154
Re: CoppeliaSim Crashed after the 'empty areas are transparent' was cheaked
Hello,
indeed, there was a problem. Please download the updated add-on (bug fix here).
Thanks for the mention!
Cheers
indeed, there was a problem. Please download the updated add-on (bug fix here).
Thanks for the mention!
Cheers
- 06 Sep 2024, 13:04
- Forum: General questions
- Topic: Best practices for modular and scalable scripting?
- Replies: 1
- Views: 117
Re: Best practices for modular and scalable scripting?
Hello, for code you want to reuse, it is really best to have a separate *.lua file and to include that file via a require directive. With the require directive you can include the whole code, or just specific code and still have a script body inside of the script object. You can of course also save/...
- 06 Sep 2024, 12:55
- Forum: General questions
- Topic: Generic conveyor (belt) speed control
- Replies: 4
- Views: 184
Re: Generic conveyor (belt) speed control
Hello,
what version of CoppeliaSim do you run?
Also, the conveyor will not immediately stop, it will gradually slow-down then stop. If you want it to react faster, modify its Acceleration property upwards.
Cheers
what version of CoppeliaSim do you run?
Also, the conveyor will not immediately stop, it will gradually slow-down then stop. If you want it to react faster, modify its Acceleration property upwards.
Cheers
- 06 Sep 2024, 06:20
- Forum: General questions
- Topic: Multiple threaded scripts
- Replies: 13
- Views: 1116
Re: Multiple threaded scripts
If an int signal is 0, it is defined. You need to clear it with sim.clearInt32Signal
Cheers
Cheers
- 05 Sep 2024, 09:22
- Forum: General questions
- Topic: Multiple threaded scripts
- Replies: 13
- Views: 1116
Re: Multiple threaded scripts
Yes, you can easily control which script and when will execute. You however need to distinguish between threaded and non-threaded scripts : Non-threaded scripts follow a precise execution order Threaded script actually also follow above script execution order for resuming a thread. The simplest way ...
- 03 Sep 2024, 06:03
- Forum: General questions
- Topic: Soft Body and gripper (MuJoCo)
- Replies: 7
- Views: 781
Re: Soft Body and gripper (MuJoCo)
Try to modify the soft body by using more spherical nodes and/or modifying the radius of those nodes. Another more complex approach would be to attach a soft body to a rigid body object and try to grasp that one. Have a look at how to attach a soft body to a shape in the demo scene scenes/mujoco/com...
- 03 Sep 2024, 05:54
- Forum: General questions
- Topic: how to realize compliance control
- Replies: 1
- Views: 277
Re: how to realize compliance control
Hello, do you see similar force sensor readings with the other engines? Also, each engine has its specific way of working, accuracy, etc. You can modify the engine specific properties for shapes by clicking Engine properties in the Shape dynamics dialog . Details on the meaning of all the displayed ...
- 30 Aug 2024, 16:09
- Forum: General questions
- Topic: Multiple threaded scripts
- Replies: 13
- Views: 1116
Re: Multiple threaded scripts
Please add sim.setStepping(true) in the init section and try again. What is the output?
Having a simple, self-sufficient scene would make things much simpler..
Cheers
Having a simple, self-sufficient scene would make things much simpler..
Cheers
- 30 Aug 2024, 07:18
- Forum: General questions
- Topic: Multiple threaded scripts
- Replies: 13
- Views: 1116
Re: Multiple threaded scripts
Please add a lot of prints to the script you shared, in order to understand where and when it stops responding. e.g.: function sysCall_init() print("sysCall_init, A") sim = require('sim') Table=sim.getObject('.') count=0 part1=0 Lpd=sim.getInt32Signal('ALPd') corout=coroutine.create(corout...