Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Document Gazebo Camera Integration #220

Open
hamishwillee opened this issue Jul 17, 2017 · 0 comments
Open

Document Gazebo Camera Integration #220

hamishwillee opened this issue Jul 17, 2017 · 0 comments

Comments

@hamishwillee
Copy link
Collaborator

Some docs here: PX4/PX4-Autopilot#7625

From @LorenzMeier on slack:

  1. Install gstreamer to your system (homebrew is broken, better by hand)
  2. In Tools/sitl_gazebo:
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a590fef..dc19cee 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,7 +20,7 @@ include(GNUInstallDirs)
 list(APPEND CMAKE_MODULE_PATH /usr/local/share/cmake/Modules)
 list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
 
-option(BUILD_GSTREAMER_PLUGIN "enable gstreamer plugin" "OFF")
+option(BUILD_GSTREAMER_PLUGIN "enable gstreamer plugin" "ON")
 
 ## System dependencies are found with CMake's conventions
 find_package(PkgConfig REQUIRED)
  1. Make a clean build
  2. Do
make posix gazebo_typhoon_h480

Should give you a video stream and geo-tagged images

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant