mveres01 / multi-contact-grasping

This project implements a simulated grasp-and-lift process in V-REP using the Barrett Hand, with an interface through a python remote API.
BSD 2-Clause "Simplified" License
54 stars 21 forks source link

ERROR Loading object #9

Open lessiffy opened 2 years ago

lessiffy commented 2 years ago

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!