Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR Loading object #9

Open
lessiffy opened this issue Mar 9, 2022 · 0 comments
Open

ERROR Loading object #9

lessiffy opened this issue Mar 9, 2022 · 0 comments

Comments

@lessiffy
Copy link

lessiffy commented Mar 9, 2022

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant