Page 1 of 1

How to create custom ui

Posted: 07 Apr 2024, 06:24
by Veman
I have tried to create custom ui setup using simUI.create() method. But, for some reason I am seeing an error as below.

[/led_matrix@childScript:warning] module 'sim' was implicitly loaded.
[/led_matrix@childScript:warning] sim.getObjectHandle is deprecated. Use sim.getObject instead.
[/led_matrix@childScript:warning] module 'simUI' was implicitly loaded.
[/Front@childScript:error] [string "/Front@childScript"]:78: attempt to index a nil value (global 'simUI')
stack traceback:
[string "/Front@childScript"]:78: in function 'sysCall_init'

Re: How to create custom ui

Posted: 07 Apr 2024, 06:31
by Veman
I have found the solution. If anyone faces the same issue try commenting the sim=require(''sim') line in the sysCall_init() method.

Re: How to create custom ui

Posted: 08 Apr 2024, 08:05
by fferri
That's not correct.

You have to add simUI = require 'simUI' instead. Plugins have to be loaded explicitly (implicit loading is only a backwards compatibility feature).

Where to find coppelia Sim course for the version 4.6.0

Posted: 15 Apr 2024, 19:42
by Veman
The older courses for coppelia Sim available on youtube have differnent functionalities than the current version. Hence, it is very difficult to learn where can I find courses for the newer version.

Re: How to create custom ui

Posted: 17 Apr 2024, 11:27
by fferri
From the official sources:

User Manual: https://manual.coppeliarobotics.com

YouTube channel: https://www.youtube.com/user/VirtualRobotPlatform

Provided example content (in <coppeliaSim directory>/scenes/, models/).