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
SUBSYSTEMS=="usb-serial", DRIVERS=="ftdi_sio", ENV{ACTION}=="add", RUN+="/bin/sh -c '/bin/echo 1 > /sys/bus/usb-serial/devices/%k/latency_timer'" |
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
# Option 1: Use apt-get | |
# keys taken from https://software.intel.com/en-us/articles/installing-intel-free-libs-and-python-apt-repo | |
cd ~/GitHub/r-with-intel-mkl/ | |
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB | |
apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB | |
sudo sh -c 'echo deb https://apt.repos.intel.com/mkl all main > /etc/apt/sources.list.d/intel-mkl.list' | |
sudo apt-get update && sudo apt-get install intel-mkl-64bit |
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
# NOTE: These instructions do not represent a robust, self-troubleshooting install; they | |
# are definitely not suitable for dumping to a giant script and running as one. If you | |
# use them, they should be run one at a time, with an eye out for errors or problems | |
# along the way. | |
# | |
# The #1 issue you are likely to encounter is with Homebrew or Python packages whose | |
# binary components link against system Python. This will result in runtime segfaults, | |
# especially in rviz. If you suspect this is occurring, you can attempt to remove and | |
# reinstall the offending packages, or go for the nuclear option--- empty your Cellar | |
# and site-packages folders and start over with brewed python from the beginning. |
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
/************************************************************* | |
************* nRF24 Cheerson CX-10 Tx Code ****************** | |
************* (Green & Blue boards) ****************** | |
************************************************************** | |
by goebish on RCgroups.com | |
Thanks to: | |
PhracturedBlue, victzh, hexfet, closedsink, midelic, Hasi ... |
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
// Update : a xn297 is not required anymore, it can be emulated with a nRF24l01 : | |
// https://gist.github.com/goebish/ab4bc5f2dfb1ac404d3e | |
// ************************************************************** | |
// ****************** CX-10 Tx Code (blue PCB) ****************** | |
// by goebish on RCgroups.com | |
// based on green pcb cx-10 TX code by closedsink on RCgroups.com | |
// based largely on flysky code by midelic on RCgroups.com | |
// Thanks to PhracturedBlue, hexfet, ThierryRC | |
// Hasi for his arduino PPM decoder |
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/python | |
# -*- coding: utf-8 -*- | |
# Python script to find the largest files in a git repository. | |
# The general method is based on the script in this blog post: | |
# http://stubbisms.wordpress.com/2009/07/10/git-script-to-show-largest-pack-objects-and-trim-your-waist-line/ | |
# | |
# The above script worked for me, but was very slow on my 11GB repository. This version has a bunch | |
# of changes to speed things up to a more reasonable time. It takes less than a minute on repos with 250K objects. | |
# |
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
class ConnectPythonLoggingToROS(logging.Handler): | |
MAP = { | |
logging.DEBUG:rospy.logdebug, | |
logging.INFO:rospy.loginfo, | |
logging.WARNING:rospy.logwarn, | |
logging.ERROR:rospy.logerr, | |
logging.CRITICAL:rospy.logfatal | |
} |
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
## | |
# Add uninstall target | |
# Requirements: Copy the uninstall.cmake file to the appropriate CMAKE_MODULE_PATH. | |
# | |
add_custom_target(uninstall | |
"${CMAKE_COMMAND}" -P "${CMAKE_MODULE_PATH}/uninstall.cmake" | |
) |