This file contains hidden or 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
| #include <boost/circular_buffer.hpp> | |
| #include <thread> | |
| #include <mutex> | |
| struct sense_packet { | |
| uint16_t pressure; | |
| uint8_t bus_voltage; | |
| }; | |
| boost::circular_buffer<sense_packet> sense_buff(2); | |
| std::mutex sense_mutex; |
This file contains hidden or 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
| #!/bin/bash | |
| # | |
| # Get all AUR dependencies in the order which they must be built. | |
| # | |
| # Author: hauptmech@gmail.com | |
| # Keep track of packages we've seen already | |
| declare new_pkg='' | |
| # Only dive deeper if we haven't seen this pkg before |
This file contains hidden or 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
| import numpy as np | |
| import cv2 | |
| cap = cv2.VideoCapture(0) | |
| #dictionary = cv2.aruco.getPredefinedDictionary(cv2.aruco.DICT_5X5_1000) | |
| dictionary = cv2.aruco.getPredefinedDictionary(cv2.aruco.DICT_4X4_50) | |
| #dictionary = cv2.aruco.getPredefinedDictionary(cv2.aruco.DICT_ARUCO_ORIGINAL) | |
| while(True): | |
| # Capture frame-by-frame |
This file contains hidden or 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
| # Script generated with import_catkin_packages.py | |
| # For more information: https://github.com/bchretien/arch-ros-stacks | |
| pkgdesc="ROS - Planning components of MoveIt that use ROS." | |
| url='http://moveit.ros.org' | |
| pkgname='ros-indigo-moveit-ros-planning' | |
| pkgver='0.6.5' | |
| _pkgver_patch=0 | |
| arch=('any') | |
| pkgrel=4 |
OlderNewer