DEPENDENCIES:
- ROS
- OpenCV
- ZCM
- GeographicLib
- minIni
HOW TO RUN:
- ./build.sh
- source devel/setup.bash
- roslaunch zcm2ros zcm2ros.launch
TROUBLESHOOTING TIPS:
-
Problems with dependencies installation
Try to install them manually one by on with use of scripts inzcm2ros/dep/*_buils.sh
.
The sequence of installation you may see inzcm2ros/dep/build.sh
-
Problems with ROS packages
In case of errors with "Missing network_interface/rviz/tf_conversions" and etc. try to install them bysudo apt-get install <your-ros-version>-<package>
.
For example for rviz installation with ROS Melodic run:sudo apt-get install ros-melodic-rviz
-
Problems with CV_LOAD_IMAGE_COLOR
If there is a problem kind of "Invalid symbol:CV_LOAD_IMAGE_COLOR
" or etc, you are probably trying to compile program againt opencv 3.0 (your opencv version installed is 3.0).
In this case replaceCV_LOAD_IMAGE_COLOR
bycv::IMREAD_COLOR
inzcm2ros/src/zcm2roc/src/converter.cpp
-
Problems with Java Virtual Machine
In case when you have problems like:Unrecognized option: -Xincgc (or something else) Error: Could not create the Java Virtual Machine
First run
java -version
. If your java version is defferent than 8, you need to switch its usage by:
sudo update-alternatives --config java
and than from the list choose v.8 (because it's used in the project)Further when you need different java version simply switch its usage