Skip to content

Instantly share code, notes, and snippets.

View emersonknapp's full-sized avatar

Emerson Knapp emersonknapp

  • Polymath Robotics
  • San Francisco, CA
  • 21:13 (UTC -07:00)
View GitHub Profile
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:
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:
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:
Update-ExecutionPolicy Unrestricted
# Enables TLS 1.2 for curl (HTTP connection would fail without this)
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
# Disables Internet Explorer Security Extensions enabled by default on Windows server editions
# as it prevents Visual Studio from being installed correctly.
Disable-InternetExplorerESC
# Creates temporary directory where non-official packages and config files will be downloaded into
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:
@emersonknapp
emersonknapp / test_late_sub.py
Created June 12, 2019 14:57
Late Subscriber Py
import rclpy
from rclpy.executors import SingleThreadedExecutor
from rclpy.qos import QoSDurabilityPolicy
from rclpy.qos import QoSProfile
from rclpy.qos import QoSReliabilityPolicy
from std_msgs.msg import String
def main(args=None):
topic = 'TOPIC'
topic_type = String
@emersonknapp
emersonknapp / debug.txt
Last active June 13, 2019 16:06
Uncrustify __pragma macro indentation debug file
# Uncrustify-0.69.0_f
# option(s) with 'not default' value: 0
#
# -=====-
# Line Tag Parent Columns Br/Lvl/pp Flag Nl Text
# 1> PREPROC[ PP_DEFINE][ 1/ 1/ 2/ 0][1/1/0][ 1000e0001][0-0] #
# 1> PP_DEFINE[ NONE][ 2/ 2/ 8/ 0][1/1/0][ 10001][0-0] define
# 1> MACRO[ NONE][ 9/ 9/ 31/ 1][1/1/0][ 1][0-0] pragma_and_indentation
# 1> NL_CONT[ NONE][ 32/ 32/ 1/ 1][1/1/0][ 40001][1-0] \
# 2> PP_PRAGMA[ NONE][ 9/ 9/ 17/ 9][1/1/0][ 1][0-1] __pragma
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:
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:
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: