Closed ssinghjah closed 7 years ago
Hello,
The problem you are having is that the current version of Aerostack Gregale framework is compiled under Ubuntu 14.04 and ROS Jade. The change in ROS Kinetic is that the opencast libraries are with opencv 3.1 and openTLD does not compile.
You can either change to Ubuntu 14.04 with ROS Kinetic or you can add an empty file in the openTLD repository called CATKIN_IGNORE. This will skip the compiling of openTLD and allow all other components to compile.
Cheers!
On Sat, 25 Feb 2017 at 17:08, Simran Singh notifications@github.com wrote:
Hi,
I am running Ubuntu 16.04.1 LTS. I installed ROS Kinetic by following http://wiki.ros.org/kinetic/Installation/Ubuntu. I used the desktop-full option.
To run Vision4UAV, I followed the steps at https://github.com/Vision4UAV/cvg_ardrone2_ibvs and I got this error while compiling the stack -
/home/simran/workspace/ros/cvg_ardrone2_ibvs/build/quadrotor_stack/stack/dronePerception/openTLD/ros_opentld/tld_tracker/libopentld/src/opentld/src/libopentld/tld/Clustering.cpp:54:31: error: variable or field ‘calcMeanRect’ declared void void Clustering::calcMeanRect(vector * indices)
I was wondering if anyone could help me with this.
Let me know if I should provide any more information.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Vision4UAV/cvg_ardrone2_ibvs/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/AIdxJFsdQKU75CFGtNYIkkkVREaBmfyFks5rgFHtgaJpZM4MMDTq .
-- Ramón A. Suárez-Fernández Researcher & PhD Candidate Computer Vision Group (CVG) Centro de Automática y Robótica (UPM-CSIC) Calle Jose Gutiérrez Abascal 2, 28006, Madrid, Spain Tel: +34 913 363 061 / +34 675884318 Fax: +34 913 363 010 Web: www.vision4uav.com
Hello,
Thank you for the prompt and useful reply. I used a "CATKIN_IGNORE" file in the openTLD directory. Now, the previous issue is resolved. I was able to build 75%, but am getting a different error -
[ 75%] Building CXX object quadrotor_stack/stack/libraries/lib_cvgutils/CMakeFiles/lib_cvgutils.dir/src/source/control/DMC.cpp.o /home/simran/workspace/ros/cvg_ardrone2_ibvs/src/quadrotor_stack/stack/libraries/lib_cvgutils/src/source/control/DMC.cpp:20:21: fatal error: ros/ros.h: No such file or directory compilation terminated.
If you have any idea how to handle this, please let me know.
Thanks in advance, Simran
Hello,
These are more errors of changing the Distro. You have to add to the package.xml inside:
~/aerostack_catkin_ws/src/aerostack_stack/stack/libraries/lib_cvgutils
Add
and remove in:
~/aerostack_catkin_ws/src/aerostack_stack/stack/libraries/lib_cvgutils/src/source/DMC_test_suite.cpp ~/aerostack_catkin_ws/src/aerostack_stack/stack/libraries/lib_cvgutils/src/source/control/DMC.cpp
Remove!
There will be other errors like this so do accordingly.
Cheers
On Tue, Feb 28, 2017 at 4:25 PM, Simran Singh notifications@github.com wrote:
Hello,
Thank you for the prompt and useful reply. I used a "CATKIN_IGNORE" file in the openTLD directory. Now, the previous issue is resolved. I was able to build 75%, but am getting a different error -
[ 75%] Building CXX object quadrotor_stack/stack/libraries/lib_cvgutils/ CMakeFiles/lib_cvgutils.dir/src/source/control/DMC.cpp.o /home/simran/workspace/ros/cvg_ardrone2_ibvs/src/quadrotor_stack/stack/ libraries/lib_cvgutils/src/source/control/DMC.cpp:20:21: fatal error: ros/ros.h: No such file or directory compilation terminated.
If you have any idea how to handle this, please let me know.
Thanks in advance, Simran
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Vision4UAV/cvg_ardrone2_ibvs/issues/14#issuecomment-283069624, or mute the thread https://github.com/notifications/unsubscribe-auth/AIdxJHmJL_I6bv3ghnChjYR3rAlz77D3ks5rhDx2gaJpZM4MMDTq .
-- Ramón A. Suárez-Fernández Researcher & PhD Candidate Computer Vision Group (CVG) Centro de Automática y Robótica (UPM-CSIC) Calle Jose Gutiérrez Abascal 2, 28006, Madrid, Spain Tel: +34 913 363 061 / +34 675884318 Fax: +34 913 363 010 Web: www.vision4uav.com
Thanks a lot ! It compiled successfully :)
Hi,
I am facing errors now when I run parrot_IBVSController_launcher_Release.sh.
One node / terminal displays - "core service [/rosout] found ERROR: cannot launch node of type [tld_tracker/tld_tracker_node]: tld_tracker ROS path [0]=/opt/ros/kinetic/share/ros ROS path [1]=/home/simran/workspace/ros/cvg_ardrone2_ibvs/src ROS path [2]=/opt/ros/kinetic/share"
Another displays - "[droneOpenTLDTranslatorROSModule.launch] is neither a launch file in package [droneOpenTLDTranslatorROS] nor is [droneOpenTLDTranslatorROS] a launch file name The traceback for the exception was written to the log file"
And finally 3 other terminals display -
"Invalid
Hi, Any idea how I can fix this ?
Hi @ssinhjxyz .
This are all errors that you need to fix on your own. Usually the installation process of our package should solve all this problems automatically. All these errors point at unconfigured ROS workspace and linux environment vairables.
"[droneOpenTLDTranslatorROSModule.launch] is neither a launch file in package [droneOpenTLDTranslatorROS] nor is [droneOpenTLDTranslatorROS] a launch file name The traceback for the exception was written to the log file"
You need to check whether your ROS workspace is correctly configured, whether that package is in your ROS workspace and whether this launchfile is inside the said package. Please follow some tutorials on how to use roslaunch: http://wiki.ros.org/roslaunch
"Invalid tag: environment variable 'DRONE_STACK' is not set.
This error is descriptive enough so that you can google a solution. You need to look into what a linux environment variable is: https://www.cyberciti.biz/faq/set-environment-variable-linux/
I am closing this issue.
Hi,
I am running Ubuntu 16.04.1 LTS. I installed ROS Kinetic by following http://wiki.ros.org/kinetic/Installation/Ubuntu. I used the desktop-full option.
To run Vision4UAV, I followed the steps at https://github.com/Vision4UAV/cvg_ardrone2_ibvs and I got this error while compiling the stack -
/home/simran/workspace/ros/cvg_ardrone2_ibvs/build/quadrotor_stack/stack/dronePerception/openTLD/ros_opentld/tld_tracker/libopentld/src/opentld/src/libopentld/tld/Clustering.cpp:54:31: error: variable or field ‘calcMeanRect’ declared void void Clustering::calcMeanRect(vector * indices)
I was wondering if anyone could help me with this.
Let me know if I should provide any more information.