idyntree
idyntree copied to clipboard
Visualizer::drawToFile method saves a black image
In a Python script that I can't share here, the Visualizer::drawToFile method is not working, and just saving a black image. It may be a good idea to investigate this. I was using iDynTree v4.3.1 with conda, and this is the rest of the environment:
(isaac716) traversaro@IITICUBLAP257:~/isaac716_ws/element_hardware-intelligence/Software/NonLinearOptimization$ mamba list
# packages in environment at /home/traversaro/mambaforge/envs/isaac716:
#
# Name Version Build Channel
_libgcc_mutex 0.1 conda_forge conda-forge
_openmp_mutex 4.5 1_llvm conda-forge
absl-py 1.0.0 pyhd8ed1ab_0 conda-forge
adam 0.0.1 pypi_0 pypi
alsa-lib 1.2.3 h516909a_0 conda-forge
ampl-mp 3.1.0 h2cc385e_1005 conda-forge
aom 3.2.0 h9c3ff4c_2 conda-forge
apr 1.7.0 h7f98852_5 conda-forge
assimp 5.2.0 hedfc422_1 conda-forge
asttokens 2.0.5 pyhd8ed1ab_0 conda-forge
atk-1.0 2.36.0 h3371d22_4 conda-forge
backcall 0.2.0 pyh9f0ad1d_0 conda-forge
backports 1.0 py_2 conda-forge
backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge
black 22.1.0 pyhd8ed1ab_0 conda-forge
blosc 1.21.0 h9c3ff4c_0 conda-forge
boost-cpp 1.74.0 h359cf19_5 conda-forge
brotli 1.0.9 h7f98852_6 conda-forge
brotli-bin 1.0.9 h7f98852_6 conda-forge
bullet-cpp 3.21 h43a58ef_1 conda-forge
bzip2 1.0.8 h7f98852_4 conda-forge
c-ares 1.18.1 h7f98852_0 conda-forge
ca-certificates 2021.10.8 ha878542_0 conda-forge
cairo 1.16.0 ha00ac49_1009 conda-forge
casadi 3.5.5 py38h00d8b4a_7 conda-forge
catkin_pkg 0.4.24 pyhd8ed1ab_1 conda-forge
certifi 2021.10.8 py38h578d9bd_1 conda-forge
cffi 1.15.0 py38h3931269_0 conda-forge
cfitsio 4.0.0 h9a35b8e_0 conda-forge
click 8.0.3 py38h578d9bd_1 conda-forge
cmake 3.21.3 h8897547_0 conda-forge
coinhsl 2019.05.21 h6578b86_0 file:///home/traversaro/mambaforge/envs/condabuild/conda-bld
console_bridge 1.0.1 h4bd325d_0 conda-forge
cppzmq 4.8.1 hf7cf922_0 conda-forge
curl 7.81.0 h2574ce0_0 conda-forge
cycler 0.11.0 pyhd8ed1ab_0 conda-forge
dartsim 6.12.1 h7529616_2 conda-forge
dataclasses 0.8 pyhc8e2a94_3 conda-forge
dbus 1.13.6 h5008d03_3 conda-forge
decorator 5.1.1 pyhd8ed1ab_0 conda-forge
distro 1.6.0 pyhd8ed1ab_0 conda-forge
docutils 0.18.1 py38h578d9bd_0 conda-forge
eigen 3.4.0 h4bd325d_0 conda-forge
empy 3.3.4 pyh9f0ad1d_1 conda-forge
executing 0.8.2 pyhd8ed1ab_0 conda-forge
expat 2.4.4 h9c3ff4c_0 conda-forge
fcl 0.7.0 h2cbc392_0 conda-forge
ffmpeg 4.4.1 h6987444_0 conda-forge
flann 1.9.1 hfe772e8_1010 conda-forge
font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge
font-ttf-inconsolata 3.000 h77eed37_0 conda-forge
font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge
font-ttf-ubuntu 0.83 hab24e00_0 conda-forge
fontconfig 2.13.94 ha180cfb_0 conda-forge
fonts-conda-ecosystem 1 0 conda-forge
fonts-conda-forge 1 0 conda-forge
fonttools 4.29.1 py38h497a2fe_0 conda-forge
freeglut 3.2.1 h9c3ff4c_2 conda-forge
freeimage 3.18.0 h88c329d_7 conda-forge
freetype 2.10.4 h0708190_1 conda-forge
freetype-py 2.2.0 pypi_0 pypi
freexl 1.0.6 h7f98852_0 conda-forge
fribidi 1.0.10 h36c2ea0_0 conda-forge
future 0.18.2 py38h578d9bd_4 conda-forge
gazebo 11.10.1 h9f65e32_1 conda-forge
gdbm 1.18 h0a1914f_2 conda-forge
gdk-pixbuf 2.42.6 h04a7f16_0 conda-forge
geos 3.10.2 h9c3ff4c_0 conda-forge
geotiff 1.7.0 h6593c0a_6 conda-forge
gettext 0.19.8.1 h73d1719_1008 conda-forge
giflib 5.2.1 h36c2ea0_2 conda-forge
gmock 1.10.0 h4bd325d_7 conda-forge
gmp 6.2.1 h58526e2_0 conda-forge
gnutls 3.6.13 h85f3911_1 conda-forge
graphite2 1.3.13 h58526e2_1001 conda-forge
graphviz 2.50.0 h8e749b2_2 conda-forge
gst-plugins-base 1.18.5 hf529b03_3 conda-forge
gstreamer 1.18.5 h9f60fe5_3 conda-forge
gtest 1.10.0 h4bd325d_7 conda-forge
gtk2 2.24.33 h90689f9_2 conda-forge
gts 0.7.6 h64030ff_2 conda-forge
harfbuzz 3.3.1 hb4a5f5f_0 conda-forge
hdf4 4.2.15 h10796ff_3 conda-forge
hdf5 1.12.1 nompi_h2750804_103 conda-forge
icu 69.1 h9c3ff4c_0 conda-forge
idyntree 4.3.1 py38h82c6b93_1 conda-forge
ilmbase 2.5.5 h780b84a_0 conda-forge
imageio 2.14.1 pypi_0 pypi
importlib-metadata 4.10.1 py38h578d9bd_0 conda-forge
ipopt 3.14.4 h7ede334_0 conda-forge
ipython 8.0.1 py38h578d9bd_0 conda-forge
irrlicht 1.8.5 hdaeae82_0 conda-forge
jax 0.2.28 pyhd8ed1ab_0 conda-forge
jaxlib 0.1.75 py38h43a58ef_0 conda-forge
jbig 2.1 h7f98852_2003 conda-forge
jedi 0.18.1 py38h578d9bd_0 conda-forge
jpeg 9e h7f98852_0 conda-forge
json-c 0.15 h98cffda_0 conda-forge
jsoncpp 1.9.5 h4bd325d_1 conda-forge
jxrlib 1.1 h7f98852_2 conda-forge
kealib 1.4.14 h87e4c3c_3 conda-forge
kiwisolver 1.3.2 py38h1fd1430_1 conda-forge
krb5 1.19.2 hcc1bbae_3 conda-forge
lame 3.100 h7f98852_1001 conda-forge
lcms2 2.12 hddcbb42_0 conda-forge
ld_impl_linux-64 2.36.1 hea4e1c9_2 conda-forge
lerc 3.0 h9c3ff4c_0 conda-forge
libapr 1.7.0 h7f98852_5 conda-forge
libapriconv 1.2.2 h7f98852_5 conda-forge
libaprutil 1.6.1 h975c496_5 conda-forge
libblas 3.9.0 8_mkl conda-forge
libbrotlicommon 1.0.9 h7f98852_6 conda-forge
libbrotlidec 1.0.9 h7f98852_6 conda-forge
libbrotlienc 1.0.9 h7f98852_6 conda-forge
libcblas 3.9.0 8_mkl conda-forge
libccd 2.1 h9c3ff4c_1 conda-forge
libclang 13.0.0 default_hc23dcda_0 conda-forge
libcurl 7.81.0 h2574ce0_0 conda-forge
libdap4 3.20.6 hd7c4107_2 conda-forge
libdeflate 1.8 h7f98852_0 conda-forge
libdrm 2.4.109 h7f98852_0 conda-forge
libedit 3.1.20191231 he28a2e2_2 conda-forge
libev 4.33 h516909a_1 conda-forge
libevent 2.1.10 h9b69904_4 conda-forge
libffi 3.4.2 h7f98852_5 conda-forge
libgcc-ng 11.2.0 h1d223b6_12 conda-forge
libgd 2.3.3 h3cfcdeb_1 conda-forge
libgdal 3.4.1 h7b6f8d3_2 conda-forge
libgfortran-ng 11.2.0 h69a702a_12 conda-forge
libgfortran5 11.2.0 h5c6108e_12 conda-forge
libglib 2.70.2 h174f98d_1 conda-forge
libglu 9.0.0 he1b5a44_1001 conda-forge
libgomp 11.2.0 h1d223b6_12 conda-forge
libiconv 1.16 h516909a_0 conda-forge
libignition-cmake2 2.10.0 h9c3ff4c_0 conda-forge
libignition-common3 3.13.2 ha44c05f_1 conda-forge
libignition-fuel-tools4 4.4.0 hfaf2eda_5 conda-forge
libignition-math6 6.10.0 h9c3ff4c_0 conda-forge
libignition-msgs5 5.7.0 h42850c7_2 conda-forge
libignition-tools1 1.4.1 h33ecc0d_2 conda-forge
libignition-transport8 8.1.0 h12d6754_9 conda-forge
libimagequant 2.17.0 h7f98852_1 conda-forge
libkml 1.3.0 h238a007_1014 conda-forge
liblapack 3.9.0 8_mkl conda-forge
libllvm13 13.0.0 hf817b99_0 conda-forge
libnetcdf 4.8.1 nompi_hb3fd0d9_101 conda-forge
libnghttp2 1.46.0 h812cca2_0 conda-forge
libnsl 2.0.0 h7f98852_0 conda-forge
libode 0.16.2 h709712a_9 conda-forge
libogg 1.3.4 h7f98852_1 conda-forge
libopenblas 0.3.18 pthreads_h8fe5266_0 conda-forge
libopus 1.3.1 h7f98852_1 conda-forge
libosqp 0.6.2 h9c3ff4c_3 conda-forge
libpciaccess 0.16 h516909a_0 conda-forge
libpng 1.6.37 h21135ba_2 conda-forge
libpq 14.1 hd57d9b9_1 conda-forge
libprotobuf 3.19.4 h780b84a_0 conda-forge
libraw 0.20.2 h10796ff_1 conda-forge
librsvg 2.52.5 h0a9e6e8_2 conda-forge
librttopo 1.1.0 hf69c175_9 conda-forge
libsdformat 9.3.0 h21f569a_5 conda-forge
libsodium 1.0.18 h36c2ea0_1 conda-forge
libspatialite 5.0.1 h0e567f8_14 conda-forge
libssh2 1.10.0 ha56f1ee_2 conda-forge
libstdcxx-ng 11.2.0 he4da1e4_12 conda-forge
libtar 1.2.20 h7f98852_1004 conda-forge
libtiff 4.3.0 h6f004c6_2 conda-forge
libtool 2.4.6 h9c3ff4c_1008 conda-forge
libudev1 249 h7f98852_1 conda-forge
libusb 1.0.25 h4c0bc5a_100 conda-forge
libuuid 2.32.1 h7f98852_1000 conda-forge
libuv 1.43.0 h7f98852_0 conda-forge
libva 2.13.0 h7f98852_2 conda-forge
libvorbis 1.3.7 h9c3ff4c_0 conda-forge
libvpx 1.11.0 h9c3ff4c_3 conda-forge
libwebp 1.2.2 h3452ae3_0 conda-forge
libwebp-base 1.2.2 h7f98852_1 conda-forge
libxcb 1.13 h7f98852_1004 conda-forge
libxkbcommon 1.0.3 he3ba5ed_0 conda-forge
libxml2 2.9.12 h885dcf4_1 conda-forge
libxslt 1.1.33 h0ef7038_3 conda-forge
libzip 1.8.0 h4de3113_1 conda-forge
libzlib 1.2.11 h36c2ea0_1013 conda-forge
llvm-openmp 12.0.1 h4bd325d_1 conda-forge
log4cxx 0.11.0 h291d653_3 conda-forge
lxml 4.7.1 py38hf1fe3a4_0 conda-forge
lz4-c 1.9.3 h9c3ff4c_1 conda-forge
matplotlib 3.5.1 py38h578d9bd_0 conda-forge
matplotlib-base 3.5.1 py38hf4fb855_0 conda-forge
matplotlib-inline 0.1.3 pyhd8ed1ab_0 conda-forge
meshcat-python 0.3.2 pyhd8ed1ab_0 conda-forge
metis 5.1.0 h58526e2_1006 conda-forge
mkl 2020.4 h726a3e6_304 conda-forge
mumps-include 5.2.1 ha770c72_10 conda-forge
mumps-seq 5.2.1 h47a8eb5_10 conda-forge
munkres 1.1.4 pyh9f0ad1d_0 conda-forge
mypy_extensions 0.4.3 py38h578d9bd_4 conda-forge
mysql-common 8.0.28 ha770c72_0 conda-forge
mysql-libs 8.0.28 hfa10184_0 conda-forge
ncurses 6.3 h9c3ff4c_0 conda-forge
netifaces 0.10.9 py38h497a2fe_1005 conda-forge
nettle 3.6 he412f7d_0 conda-forge
networkx 2.2 pypi_0 pypi
ninja 1.10.2 h4bd325d_1 conda-forge
nose 1.3.7 py_1006 conda-forge
nspr 4.32 h9c3ff4c_1 conda-forge
nss 3.74 hb5efdd6_0 conda-forge
numpy 1.22.2 py38h6ae9a64_0 conda-forge
octomap 1.9.7 h4bd325d_0 conda-forge
ogre 1.10.12 hf655ca9_7 conda-forge
openal-soft 1.21.1 h4bd325d_0 conda-forge
openexr 2.5.5 hf817b99_0 conda-forge
openh264 2.1.1 h780b84a_0 conda-forge
openjpeg 2.4.0 hb52868f_1 conda-forge
openssl 1.1.1l h7f98852_0 conda-forge
opt_einsum 3.3.0 pyhd8ed1ab_1 conda-forge
osqp-eigen 0.7.0 h9c3ff4c_0 conda-forge
packaging 21.3 pyhd8ed1ab_0 conda-forge
pango 1.50.3 h9967ed3_0 conda-forge
parso 0.8.3 pyhd8ed1ab_0 conda-forge
pathspec 0.9.0 pyhd8ed1ab_0 conda-forge
pcre 8.45 h9c3ff4c_0 conda-forge
pexpect 4.8.0 pyh9f0ad1d_2 conda-forge
pickleshare 0.7.5 py_1003 conda-forge
pillow 9.0.0 py38he2f12e7_0 conda-forge
pip 22.0.3 pyhd8ed1ab_0 conda-forge
pixman 0.40.0 h36c2ea0_0 conda-forge
pkg-config 0.29.2 h36c2ea0_1008 conda-forge
platformdirs 2.3.0 pyhd8ed1ab_0 conda-forge
poppler 21.11.0 ha39eefc_0 conda-forge
poppler-data 0.4.11 hd8ed1ab_0 conda-forge
postgresql 14.1 h2510834_1 conda-forge
prettytable 3.0.0 pyhd8ed1ab_0 conda-forge
proj 8.2.1 h277dcde_0 conda-forge
prompt-toolkit 3.0.26 pyha770c72_0 conda-forge
pthread-stubs 0.4 h36c2ea0_1001 conda-forge
ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge
pugixml 1.11.4 h9c3ff4c_0 conda-forge
pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge
pycollada 0.6 pypi_0 pypi
pycparser 2.21 pyhd8ed1ab_0 conda-forge
pyglet 1.5.21 pypi_0 pypi
pygments 2.11.2 pyhd8ed1ab_0 conda-forge
pyngrok 5.1.0 pyhd8ed1ab_0 conda-forge
pyopengl 3.1.0 pypi_0 pypi
pyparsing 3.0.7 pyhd8ed1ab_0 conda-forge
pyqt 5.12.3 py38h578d9bd_8 conda-forge
pyqt-impl 5.12.3 py38h0ffb2e6_8 conda-forge
pyqt5-sip 4.19.18 py38h709712a_8 conda-forge
pyqtchart 5.12 py38h7400c14_8 conda-forge
pyqtwebengine 5.12.1 py38h7400c14_8 conda-forge
pyrender 0.1.45 pypi_0 pypi
python 3.8.12 ha38a3c6_3_cpython conda-forge
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python-flatbuffers 2.0 pyhd8ed1ab_0 conda-forge
python_abi 3.8 2_cp38 conda-forge
pytorch 1.7.1 cpu_py38h36eccb8_2 conda-forge
pyyaml 6.0 py38h497a2fe_3 conda-forge
pyzmq 22.3.0 py38h2035c66_1 conda-forge
qt 5.12.9 ha98a1a1_5 conda-forge
qwt 6.2.0 h7ec6b3e_0 conda-forge
readline 8.1 h46c0cb4_0 conda-forge
rhash 1.4.1 h7f98852_0 conda-forge
ros-distro-mutex 0.2.0 noetic robostack
ros-noetic-catkin 0.8.10 py38he9ab703_12 robostack
ros-noetic-cpp-common 0.7.2 py38haa43186_12 robostack
ros-noetic-gencpp 0.6.5 py38he9ab703_12 robostack
ros-noetic-geneus 3.0.0 py38he9ab703_12 robostack
ros-noetic-genlisp 0.4.18 py38he9ab703_12 robostack
ros-noetic-genmsg 0.5.16 py38he9ab703_12 robostack
ros-noetic-gennodejs 2.0.2 py38he9ab703_12 robostack
ros-noetic-genpy 0.6.15 py38hb5abb7c_12 robostack
ros-noetic-message-generation 0.4.1 py38he9ab703_12 robostack
ros-noetic-message-runtime 0.4.13 py38he9ab703_12 robostack
ros-noetic-ros-environment 1.3.2 py38he9ab703_12 robostack
ros-noetic-rosbuild 1.15.8 py38he9ab703_12 robostack
ros-noetic-rosconsole 1.14.3 py38hb51d2b2_12 robostack
ros-noetic-roscpp 1.15.13 py38h14b2acc_12 robostack
ros-noetic-roscpp-serialization 0.7.2 py38he9ab703_12 robostack
ros-noetic-roscpp-traits 0.7.2 py38he9ab703_12 robostack
ros-noetic-rosgraph 1.15.13 py38he9ab703_12 robostack
ros-noetic-rosgraph-msgs 1.11.3 py38he9ab703_12 robostack
ros-noetic-roslib 1.15.8 py38h14b2acc_12 robostack
ros-noetic-rospack 2.6.2 py38h3d5e8a6_12 robostack
ros-noetic-rospy 1.15.13 py38he9ab703_12 robostack
ros-noetic-rostime 0.7.2 py38h14b2acc_12 robostack
ros-noetic-std-msgs 0.5.13 py38he9ab703_12 robostack
ros-noetic-urdfdom-py 0.4.6 py38he9ab703_12 robostack
ros-noetic-xmlrpcpp 1.15.13 py38h14b2acc_12 robostack
rosdep 0.21.0 pyhd8ed1ab_0 conda-forge
rosdistro 0.8.3 py38h578d9bd_3 conda-forge
rospkg 1.3.0 pyhd8ed1ab_1 conda-forge
ruby 3.1.0 h86e321c_1 conda-forge
scipy 1.7.3 py38h56a6a73_0 conda-forge
scotch 6.0.9 h3858553_1 conda-forge
sdl2 2.0.18 h9c3ff4c_0 conda-forge
setuptools 60.7.1 py38h578d9bd_0 conda-forge
simbody 3.7 h64f3f5a_3 conda-forge
six 1.16.0 pyh6c4a22f_0 conda-forge
sleef 3.5.1 h9b69904_2 conda-forge
sqlite 3.37.0 h9cd32fc_0 conda-forge
stack_data 0.1.4 pyhd8ed1ab_0 conda-forge
svt-av1 0.9.0 h9c3ff4c_0 conda-forge
swig 4.0.2 hd3c618e_2 conda-forge
tbb 2020.2 h4bd325d_4 conda-forge
tbb-devel 2020.2 h4bd325d_4 conda-forge
tiledb 2.6.2 h2038895_1 conda-forge
tinyxml 2.6.2 h4bd325d_2 conda-forge
tinyxml2 9.0.0 h9c3ff4c_2 conda-forge
tk 8.6.11 h27826a3_1 conda-forge
tomli 2.0.0 pyhd8ed1ab_1 conda-forge
tornado 6.1 py38h497a2fe_2 conda-forge
traitlets 5.1.1 pyhd8ed1ab_0 conda-forge
trimesh 3.9.43 pypi_0 pypi
typed-ast 1.5.2 py38h497a2fe_0 conda-forge
typing_extensions 4.0.1 pyha770c72_0 conda-forge
tzcode 2021e h7f98852_0 conda-forge
tzdata 2021e he74cb21_0 conda-forge
u-msgpack-python 2.7.1 pyh9f0ad1d_0 conda-forge
unicodedata2 14.0.0 py38h497a2fe_0 conda-forge
urdfdom 2.3.5 h4bd325d_0 conda-forge
urdfdom_headers 1.0.5 h4bd325d_2 conda-forge
urdfmodifiers 0.0.0 pypi_0 pypi
urdfpy 0.0.22 pypi_0 pypi
wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge
wheel 0.37.1 pyhd8ed1ab_0 conda-forge
x264 1!161.3030 h7f98852_1 conda-forge
x265 3.5 h4bd325d_1 conda-forge
xerces-c 3.2.3 h8ce2273_4 conda-forge
xorg-fixesproto 5.0 h7f98852_1002 conda-forge
xorg-inputproto 2.3.2 h7f98852_1002 conda-forge
xorg-kbproto 1.0.7 h7f98852_1002 conda-forge
xorg-libice 1.0.10 h7f98852_0 conda-forge
xorg-libsm 1.2.3 hd9c2040_1000 conda-forge
xorg-libx11 1.7.2 h7f98852_0 conda-forge
xorg-libxau 1.0.9 h7f98852_0 conda-forge
xorg-libxaw 1.0.14 h7f98852_1 conda-forge
xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge
xorg-libxext 1.3.4 h7f98852_1 conda-forge
xorg-libxfixes 5.0.3 h7f98852_1004 conda-forge
xorg-libxi 1.7.10 h7f98852_0 conda-forge
xorg-libxmu 1.1.3 h7f98852_0 conda-forge
xorg-libxpm 3.5.13 h7f98852_0 conda-forge
xorg-libxrender 0.9.10 h7f98852_1003 conda-forge
xorg-libxt 1.2.1 h7f98852_2 conda-forge
xorg-renderproto 0.11.1 h7f98852_1002 conda-forge
xorg-xextproto 7.3.0 h7f98852_1002 conda-forge
xorg-xproto 7.0.31 h7f98852_1007 conda-forge
xz 5.2.5 h516909a_1 conda-forge
yaml 0.2.5 h7f98852_2 conda-forge
zeromq 4.3.4 h9c3ff4c_1 conda-forge
zipp 3.7.0 pyhd8ed1ab_1 conda-forge
zlib 1.2.11 h36c2ea0_1013 conda-forge
zstd 1.5.2 ha95c52a_0 conda-forge
zziplib 0.13.69 h27826a3_1 conda-forge
As far I understood @CarlottaSartore is using it well (I guess on apt with irrlicht 1.8.4), so it may be indeed a Irrlicht 1.8.4 vs 1.8.5 regression.