ethz-asl / rotors_simulator

RotorS is a UAV gazebo simulator
1.24k stars 759 forks source link

How to install it in Ubuntu20.04 with ROS Noetic #642

Closed verifierlife closed 4 years ago

verifierlife commented 4 years ago

Hi, I have Ubuntu 20.04 with ROS Noetic. How can I install rotors_simulator?

BTW, Ubuntu install of ROS Noetic is shown in the website: http://wiki.ros.org/noetic/Installation/Ubuntu

verifierlife commented 4 years ago

It is similar to that of Ubuntu 16.04 with ROS Kinetic

fmascarich commented 3 years ago

There were some changes I had to make because of OpenCV:

rotors_gazebo_plugins/src/external/gazebo_geotagged_images_plugin.cpp change #Include to #include <opencv2/opencv.hpp> change #Include to #include #include <opencv2/highgui/highgui.hpp> line 145: cv::COLOR_BGR2RGB

rotors_gazebo_plugins/src/gazebo_odometry_plugin.cpp: line 92: covarianceimage = cv::imread(image_name, cv::IMREAD_GRAYSCALE);