Skip to content

ERROR Loading object #9

@lessiffy

Description

@lessiffy

Hello, I was running the code but encountered a problem. I was doing exact as instructed and I wonder what caused the problem.

Here's the running result:
mesh_path: E:\vrep_sim\data\meshes\cube.stl
Traceback (most recent call last):
File "E:/vrep_sim/src/collect_grasps.py", line 269, in
collect_grasps(mesh_path, sim)
File "E:/vrep_sim/src/collect_grasps.py", line 168, in collect_grasps
sim.load_object(mesh_path, com, mass, inertia.flatten())
File "E:\vrep_sim\src\simulator.py", line 297, in load_object
raise Exception('Error loading object! Return code ', r)
Exception: ('Error loading object! Return code ', (8, [], [], [], bytearray(b'')))

[/remoteApiCommandServer@childScript:error] 705: in sim.setInt32Signal: one of the function's argument type is not correct.
stack traceback:
[C]: in function 'simSetIntegerSignal'
E:/vrep_sim/scenes/remoteApiCommandServer.lua:705: in main chunk
[C]: in field 'require'
...rogram Files/CoppeliaRobotics/CoppeliaSimEdu/lua/sim.lua:27: in function 'require'
[string "/remoteApiCommandServer@childScript"]:1: in function 'sim_code_function_to_run'
"Error: ",[long string]

And line705 is “simSetIntegerSignal('h_gripper_config_buffer', h_gripper_config_buffer)”

Could anyone give a clue? Many thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions