Closed AlexReimann closed 2 years ago
Fix for #16
Thanks Alex!
One further remark:
For me the installed package python module was not by default found, because it gets installed into the lib/python3/
and the env PYTHONPATH
only has ``lib/python2.7/ under ROS melodic.
This was fixed by adding <env name="PYTHONPATH" value="/opt/<your install dir>/lib/python3/dist-packages:$(env PYTHONPATH)" />
in the <node></node>
tag of the launch file:
<launch>
<node pkg="elevation_mapping_cupy" type="elevation_mapping_node" name="elevation_mapping">
<env name="PYTHONPATH" value="/opt/<your install dir>/lib/python3/dist-packages:$(env PYTHONPATH)" />
</node>
</launch>
Might want to add a note about this somewhere?
config
andlaunch
folderselevation_mapping_cupy
out of python files in/scripts
folderelevation_mapping.py
andelevation_mapping_wrapper.cpp
to work with modulesetup.py
andcatkin_python_setup()