Skip to content

Instantly share code, notes, and snippets.

@dirk-thomas
dirk-thomas / gist:105892899af14ac64697
Last active December 1, 2016 17:28
visualize package dependencies
#!/usr/bin/env python3
import os
import sys
from ament_tools.packages import find_unique_packages
import pygraphviz
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint:
@dirk-thomas
dirk-thomas / external_contribution_repos.txt
Created January 3, 2018 16:42
external contribution repos file
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint:
@dirk-thomas
dirk-thomas / Gazebo9.repos
Created March 22, 2018 19:15
List of Gazebo 9 and required ignition repositories
repositories:
gazebo:
type: hg
url: https://bitbucket.org/osrf/gazebo
version: gazebo9
ign-cmake:
type: hg
url: https://bitbucket.org/ignitionrobotics/ign-cmake
version: ign-cmake0
ign-math:
@dirk-thomas
dirk-thomas / CMakeLists.txt
Last active March 7, 2023 06:03
CMakeLists.txt example with catkin
cmake_minimum_required(VERSION 2.8.3)
project(foo)
# find dependencies
find_package(catkin REQUIRED COMPONENTS message_generation roscpp std_msgs)
find_package(Boost REQUIRED)
@dirk-thomas
dirk-thomas / CMakeLists.txt
Created July 7, 2015 20:09
CMakeLists.txt example with ament auto
cmake_minimum_required(VERSION 2.8.3)
project(foo)
if(NOT WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
endif()
# find dependencies
@dirk-thomas
dirk-thomas / CMakeLists.txt
Created July 7, 2015 20:05
CMakeLists.txt example with ament
cmake_minimum_required(VERSION 2.8.3)
project(foo)
if(NOT WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
endif()
# find dependencies