From 496d92c3bc6888b6b072750b7b7ccb7f82faacdb Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Tue, 20 Jul 2021 15:41:38 +0300 Subject: [PATCH] Fix --- assets/patches/sitl_gazebo.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/assets/patches/sitl_gazebo.patch b/assets/patches/sitl_gazebo.patch index d1ebd03..78ae2ae 100644 --- a/assets/patches/sitl_gazebo.patch +++ b/assets/patches/sitl_gazebo.patch @@ -1,3 +1,16 @@ +diff --git a/include/gazebo_opticalflow_plugin.h b/include/gazebo_opticalflow_plugin.h +index 4fbeab2..18a192b 100644 +--- a/include/gazebo_opticalflow_plugin.h ++++ b/include/gazebo_opticalflow_plugin.h +@@ -40,7 +40,7 @@ + #include "flow_px4.hpp" + + #define DEFAULT_RATE 20 +-#define HAS_GYRO TRUE ++#define HAS_GYRO true + + using namespace cv; + using namespace std; diff --git a/cmake/FindMAVLink.cmake b/cmake/FindMAVLink.cmake index 8de3079..3fdae02 100644 --- a/cmake/FindMAVLink.cmake