This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import requests | |
import sys | |
USAGE = 'add-all-org-repos-to-team.py <github-oauth-token>' | |
org = 'osrf' | |
team = 'ex-owners' | |
permission = "admin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# This script can be used to un-watch a bunch of repos in the situation in | |
# which you were automatically made to watch them. It relies on the email | |
# notification(s) that you received from GH about the newly watched repos. | |
# | |
# Usage: | |
# | |
# 1. Copy and paste all the URLs of the form | |
# https://github.com/ORG/REPO/subscription from the GH notification |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import re | |
import requests | |
import rosdistro | |
import sys | |
repofile = sys.argv[1] | |
ros2distros = ['foxy', 'eloquent'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install some dependencies | |
sudo apt-get install ros-kinetic-catkin ros-kinetic-cmake-modules libftdi-dev ros-kinetic-sophus | |
. /opt/ros/kinetic/setup.bash | |
# Make a workspace | |
mkdir ws | |
cd ws | |
mkdir src | |
cd src | |
git clone https://github.com/stonier/ecl_core.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 2.8.3) | |
set(CMAKE_BUILD_TYPE Debug) | |
#set(CMAKE_CXX_COMPILER clang-3.8) | |
find_package(OpenSplice REQUIRED) | |
#add_definitions(-fsanitize=memory -fno-omit-frame-pointer -stdlib=libc++) | |
include_directories(${OPENSPLICE_INCLUDE_DIRS}) | |
add_executable(foo foo.cpp) | |
target_link_libraries(foo ${OPENSPLICE_LIBRARIES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/rclcpp/include/rclcpp/utilities.hpp b/rclcpp/include/rclcpp/utilities.hpp | |
index ace7200..1484849 100644 | |
--- a/rclcpp/include/rclcpp/utilities.hpp | |
+++ b/rclcpp/include/rclcpp/utilities.hpp | |
@@ -52,7 +52,7 @@ shutdown(); | |
/// Get a handle to the rmw guard condition that manages the signal handler. | |
RCLCPP_PUBLIC | |
rcl_guard_condition_t * | |
-get_global_sigint_guard_condition(); | |
+get_global_sigint_guard_condition(void*); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Read a .pcap file full of UDP packets from a velodyne and play them back to | |
# localhost:2368, for consumption by the velodyne driver. | |
# | |
# TODO: error-checking and options (looping, etc.) | |
import dpkt | |
import sys | |
import socket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repositories: | |
src/ament/ament_cmake: | |
type: git | |
url: https://github.com/ament/ament_cmake.git | |
version: master | |
src/ament/ament_index: | |
type: git | |
url: https://github.com/ament/ament_index.git | |
version: master | |
src/ament/ament_lint: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 2.8.3) | |
find_package(sensor_msgs REQUIRED) | |
include_directories(${sensor_msgs_INCLUDE_DIRS}) | |
link_directories(${sensor_msgs_LIBRARY_DIRS}) | |
add_executable(foo foo.cpp) | |
target_link_libraries(foo ${sensor_msgs_LIBRARIES}) |