Adding graph in in a scene
Posted: 20 Mar 2024, 05:30
I'm want to add a graph in my scene. When I try to add anything to the graph script (including the sample codes given in the manual: https://manual.coppeliarobotics.com/en/graphs.htm) and update the status, the console displays an error message as follows:
[/Graph@customizationScript:error] 69: in sim.getObjectInt32Param: one of the function's argument type is not correct.
stack traceback:
[C]: in function 'sim.getObjectInt32Param'
...peliaRobotics/CoppeliaSimEdu/lua/graph_customization.lua:69: in function 'sysCall_nonSimulation'
This code comes under the 'graph=require('graph_customization')' function which comes readily in the script with the graph. When I try to comment out the graph function, the simulation works without any error but there is no graph display. I tried associating the graph with a floating view but that doesn't work either. How do I solve this problem?
Thank you in advance!!!
[/Graph@customizationScript:error] 69: in sim.getObjectInt32Param: one of the function's argument type is not correct.
stack traceback:
[C]: in function 'sim.getObjectInt32Param'
...peliaRobotics/CoppeliaSimEdu/lua/graph_customization.lua:69: in function 'sysCall_nonSimulation'
This code comes under the 'graph=require('graph_customization')' function which comes readily in the script with the graph. When I try to comment out the graph function, the simulation works without any error but there is no graph display. I tried associating the graph with a floating view but that doesn't work either. How do I solve this problem?
Thank you in advance!!!