Giter Site home page Giter Site logo

Comments (9)

jvarley avatar jvarley commented on August 27, 2024

In the terminal you are running GraspIt! is anything printed out when you run launch graspit and open the world file?

Also in that same terminal, could you please run:

env | grep GRASPIT

I normally run the following and it works on Ubuntu 14.04:

jvarley@skye:~/graspit$ export GRASPIT=$PWD
jvarley@skye:~/graspit$ env | grep GRASPIT
GRASPIT=/home/jvarley/graspit
jvarley@skye:~/graspit$ ./build/graspit_simulator -w dlr_flask
Creating base...

Setting up 12 degrees of freedom...
Creating 4 kinematic chains (fingers)...
Chain 0:   Creating joints
   Joint 0
   Joint 1
   Joint 2
   Joint 3
  Creating links
   Link 0
   Link 1
   Link 2
  Creating dynamic joints
Chain 1:   Creating joints
   Joint 0
   Joint 1
   Joint 2
   Joint 3
  Creating links
   Link 0
   Link 1
   Link 2
  Creating dynamic joints
Chain 2:   Creating joints
   Joint 0
   Joint 1
   Joint 2
   Joint 3
  Creating links
   Link 0
   Link 1
   Link 2
  Creating dynamic joints
Chain 3:   Creating joints
   Joint 0
   Joint 1
   Joint 2
   Joint 3
  Creating links
   Link 0
   Link 1
   Link 2
  Creating dynamic joints
No normalization data found; using factors of 1.0
Read 2 eigengrasps from EG file
Using eigengrasps from file: eigen/DLR_eigen.xml
Robot using Flock of Birds sensor 1

from graspit.

notgba avatar notgba commented on August 27, 2024

Oh, I did't try to run it in terminal.
The environment setting (GRASPIT) is ok. It's set to the graspit home path correctly.

Everything is good when I start it in command line.(already solves my problem)
But when I double click the application in the GUI. It raises my problem.

from graspit.

jvarley avatar jvarley commented on August 27, 2024

What GUI are you referring to, GraspIt! or an IDE?

from graspit.

notgba avatar notgba commented on August 27, 2024

Oh, I am talking about the ubuntu GUI.
What I did is just double click the executable graspit_simulator in /build folder.

from graspit.

jvarley avatar jvarley commented on August 27, 2024

Got it. Yes, it is not working because the GRASPIT environment variable is not set when you launch it this way. Graspit uses that environment variable to locate the worlds, and models subdirectories. I would recommend launching it from the terminal, because you will also be able to see any output messages from Graspit while it is running.

from graspit.

jvarley avatar jvarley commented on August 27, 2024

If you really want to run it from the GUI, then make a small bash script and place it next to graspit_simulator call it run.sh:

jvarley@skye:~/graspit/build$ cat run.sh
#!/bin/bash
export GRASPIT=/home/jvarley/graspit
./graspit_simulator
jvarley@skye:~/graspit/build$ chmod +x run.sh
jvarley@skye:~/graspit/build$ ./run.sh 

from graspit.

notgba avatar notgba commented on August 27, 2024

Thanks for the help!

from graspit.

Elmigdad avatar Elmigdad commented on August 27, 2024

hello
how do i open Graspit! via terminal!?
and how to create my own model

from graspit.

Elmigdad avatar Elmigdad commented on August 27, 2024

hello
I have created my robot hand, but there is an issue of miss matching between geometry and axis of rotation .. how do I fix it please ???

from graspit.

Related Issues (20)

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.