dex-net icon indicating copy to clipboard operation
dex-net copied to clipboard

Model not correctly rendered

Open zhouxian opened this issue 6 years ago • 1 comments

I tried to use the CLI to visualize the example.hdf5 database, but the rendering does not work

screenshot from 2018-03-23 22-47-58

All 15 tests are OK when running sudo python setup.py test.

Log from dexnet_cli.py:

WARNING:root:Failed to import geometry msgs in rigid_transformations.py.
WARNING:root:Failed to import ros dependencies in rigid_transforms.py
WARNING:root:autolab_core not installed as catkin package, RigidTransform ros methods will be unavailable
WARNING:trimesh:graph-tool unavailable, some operations will be much slower
/usr/local/lib/python2.7/dist-packages/h5py-2.7.1-py2.7-linux-x86_64.egg/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
WARNING:root:autolab_perception is not installed as a catkin package - ROS msg conversions will not be available for image wrappers
WARNING:root:autolab_perception is not installed as a catkin package - ROS msg conversions will not be available for image wrappers
WARNING:root:Unable to import pylibfreenect2. Python-only Kinect driver may not work properly.
WARNING:root:Unable to import openni2 driver. Python-only Primesense driver may not work properly
WARNING:root:Failed to import ROS in primesense_sensor.py. ROS functionality not available
WARNING:root:primesense_sensor.py not installed as catkin package. ROS functionality not available.
WARNING:root:Failed to import ROS in ensenso_sensor.py. ROS functionality not available
WARNING:root:Failed to import ROS in phoxi_sensory.py. PhoXiSensor functionality unavailable.
WARNING:root:Unable to import weight sensor modules!
WARNING:root:Failed to import OpenRAVE
WARNING:root:Failed to import OpenRAVE
####################################################
DEX-NET 0.1 Command Line Interface
Brought to you by AutoLab, UC Berkeley
####################################################


AVAILABLE COMMANDS:
0) Open a database
1) Open a dataset
2) Display object
3) Display stable poses for object
4) Display grasps for object
5) Generate simulation data for object
6) Compute metadata
7) Display metadata
8) Export objects
9) Set config (advanced)
10) Quit

Enter a numeric command: 0
Enter database name: example.hdf5
Opened database example.hdf5

Database has one dataset, opened dataset mini_dexnet

AVAILABLE COMMANDS:
0) Open a database
1) Open a dataset
2) Display object
3) Display stable poses for object
4) Display grasps for object
5) Generate simulation data for object
6) Compute metadata
7) Display metadata
8) Export objects
9) Set config (advanced)
10) Quit

Enter a numeric command: 2

Available values:
bar_clamp
climbing_hold
endstop_holder
gearbox
mount1
mount2
nozzle
part1
part3
pawn
pipe_connector
turbine_housing
vase

Enter object key: mount1
INFO:dexnet.api:Displaying mount1
Display object failed: 'SceneViewer' object has no attribute 'save_directory'

zhouxian avatar Mar 24 '18 02:03 zhouxian

Can you run pip install --upgrade visualization and try again?

jeffmahler avatar Nov 16 '18 07:11 jeffmahler