Coder Social home page Coder Social logo

grasping's People

Contributors

mveres01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

grasping's Issues

Error when running prepare_mesh.py

Hi, I got this error when doing the first step (python prepare_mesh.py):

Error:

Traceback (most recent call last):
File "prepare_mesh.py", line 104, in
main(config_object_dir, config_mesh_dir)
File "prepare_mesh.py", line 87, in main
processed = process_mesh(mesh_path, mesh_output_dir)
File "prepare_mesh.py", line 46, in process_mesh
mesh_properties = mesh.mass_properties()
TypeError: 'dict' object is not callable

I'm not sure what wrong here. Any suggestion?
Thanks!

Some question within reading the Readme

Dear mveres01,
I have some questions when reading and executing your code.
during step1, you said

$: cd initialize
$: python prepare_meshes.py

Maybe it's mean

$: cd initialize
$: python prepare_mesh.py

because there is no prepare_meshes.py in your repository but prepare_mesh.py.

And another question: I don't understand the meaning of follow sentence:

Run initialize/prepare_candidates.py. This will read the pose information collected by V-REP, and generate a list of candidates for each object that will be tested in the simulator. Note that these candidates will be saved under collect/candidates

$: cd initialize
$: cat ../data/initial_poses.txt | parallel python prepare_meshes.py

Does it's meaning we should run the following code

$: cd initialize 
$: python prepare_candidates.py
$: cat ../data/initial_poses.txt | parallel python prepare_meshes.py

Can you give me some tips? Thanks a lot!

vrep error

Dear mveres01, when I run

cat commands/main1.txt |parallel -j 16

get the error message as following:

/bin/bash: vrep.sh: command not found

And if I replace the code in main0.txt:

ulimit -n 4096; export DISPLAY=:1; vrep.sh -h -q -s -g40_carafe_final-11-Mar-2016-17-09-17.txt -g1 -g1501 /home/forrest/robo/grasping/collect/scene_collect_grasps.ttt 

with

ulimit -n 4096; export DISPLAY=:1; /home/forrest/robo/V-REP_PRO_EDU_V3_4_0_Linux/vrep.sh -q -s -g40_carafe_final-11-Mar-2016-17-09-17.txt -g1 -g1501 /home/forrest/robo/grasping/collect/scene_collect_grasps.ttt

i.e.,I set the absolute path of vrep. But I just get another error:

QXcbConnection: Could not connect to display :1
/home/forrest/robo/V-REP_PRO_EDU_V3_4_0_Linux/vrep.sh: line 33: 15247 Aborted                 (core dumped) "$dirname/$appname" "${PARAMETERS[@]}"

And I have read the Trouble running V-REP headless in V-REP forum, but don't know how to deal with it.
Could you give me some suggestion about this problem? thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.