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
| william@farl /tmp/jade | |
| % rosinstall_generator desktop_full --deps --tar --rosdistro jade > jade-desktop_full.rosinstall | |
| william@farl /tmp/jade | |
| % wstool init ./src jade-desktop_full.rosinstall | |
| Using initial elements from: jade-desktop_full.rosinstall | |
| Writing /private/tmp/jade/src/.rosinstall | |
| [actionlib] Fetching https://github.com/ros-gbp/actionlib-release/archive/release/jade/actionlib/1.11.4-0.tar.gz (version actionlib-release-release-jade-actionlib-1.11.4-0) to /private/tmp/jade/src/actionlib | |
| [actionlib] Done. | |
| [angles] Fetching https://github.com/ros-gbp/geometry_angles_utils-release/archive/release/jade/angles/1.9.10-0.tar.gz (version geometry_angles_utils-release-release-jade-angles-1.9.10-0) to /private/tmp/jade/src/angles |
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
| % sudo -H python setup.py install | |
| running install | |
| Checking .pth file support in /Library/Python/2.7/site-packages/ | |
| /usr/bin/python -E -c pass | |
| TEST PASSED: /Library/Python/2.7/site-packages/ appears to support .pth files | |
| running bdist_egg | |
| running egg_info | |
| writing requirements to src/wstool.egg-info/requires.txt | |
| writing src/wstool.egg-info/PKG-INFO | |
| writing top-level names to src/wstool.egg-info/top_level.txt |
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
| # - Find python interpreter | |
| # This module finds if Python interpreter is installed and determines where the | |
| # executables are. This code sets the following variables: | |
| # | |
| # PYTHONINTERP_FOUND - Was the Python executable found | |
| # PYTHON_EXECUTABLE - path to the Python interpreter | |
| # | |
| # PYTHON_VERSION_STRING - Python version found e.g. 2.5.2 | |
| # PYTHON_VERSION_MAJOR - Python major version found e.g. 2 | |
| # PYTHON_VERSION_MINOR - Python minor version found e.g. 5 |
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
| >>> class A(object): | |
| ... def __init__(self): | |
| ... self.__foo = 'bar' | |
| ... @property | |
| ... def foo(self): | |
| ... return self.__foo | |
| ... | |
| >>> a = A() | |
| >>> a.foo | |
| 'bar' |
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
| repositories: | |
| ament/ament_cmake: | |
| type: git | |
| url: https://github.com/ament/ament_cmake.git | |
| version: master | |
| ament/ament_lint: | |
| type: git | |
| url: https://github.com/ament/ament_lint.git | |
| version: master | |
| ament/ament_package: |
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
| from phant import Phant | |
| from serial import Serial | |
| import time | |
| p = Phant('XGXqQ3maWluV1vn9xLgQ', 'moisture', private_key='REPLACEMEWITHPRIVATEKEY') | |
| s = Serial('COM3') |
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 <chrono> | |
| #include <condition_variable> | |
| #include <mutex> | |
| const std::chrono::seconds operator "" _s(unsigned long long s) | |
| { | |
| return std::chrono::seconds(s); | |
| } | |
| const std::chrono::duration<long double> operator "" _s(long double s) |
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 os | |
| import subprocess | |
| this_dir = os.path.abspath(os.path.dirname(__file__)) | |
| xacro_py_path = os.path.join(this_dir, '..', 'xacro.py') | |
| subprocess.call([xacro_py_path, 'arg1', 'arg2']) |
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
| actionlib_tutorials/Tutorials/RunningServerAndClientWithNodes:138: {{{{{#!wiki version electric | |
| actionlib_tutorials/Tutorials/SimpleActionClient(28)Threaded(29):169: {{{{{#!wiki version electric | |
| actionlib_tutorials/Tutorials/SimpleActionServer(28)GoalCallbackMethod(29):22: {{{#!wiki version cturtle | |
| catkin:3: {{{{#!wiki version groovy hydro indigo jade | |
| class_loader:4: {{{#!wiki version electric fuerte | |
| compressed_depth_image_transport:29: {{{#!wiki version diamondback electric | |
| compressed_image_transport:28: {{{{#!wiki version boxturtle cturtle | |
| costmap_2d:53: {{{#!wiki version cturtle diamondback electric fuerte groovy | |
| cv_bridge/Tutorials/UsingCvBridgeToConvertBetweenROSImagesAndOpenCVImages:27: {{{#!wiki version diamondback electric fuerte groovy | |
| dynamic_reconfigure/Tutorials/SettingUpDynamicReconfigureForANode(28)python(29):28: {{{#!wiki version electric fuerte |
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
| actionlib_tutorials(2f)Tutorials(2f)SimpleActionServer(28)GoalCallbackMethod(29):38: {{{#!wiki version groovy hydro indigo | |
| ahl_ros_pkg:23: {{{#!wiki version indigo | |
| ar_sys:9: {{{{#!wiki version indigo | |
| asctec_mav_framework:34: {{{{#!wiki version hydro indigo | |
| catkin:3: {{{{#!wiki version groovy hydro indigo jade | |
| chatter_concert(2f)Tutorials:17: {{{#!wiki version indigo | |
| costmap_2d:58: {{{#!wiki version hydro indigo | |
| cv_bridge(2f)Tutorials(2f)UsingCvBridgeToConvertBetweenROSImagesAndOpenCVImages:31: {{{#!wiki version hydro indigo | |
| default_cfg_fkie:24: {{{{#!wiki version groovy hydro indigo | |
| dynamic_reconfigure:7: {{{#!wiki version groovy hydro indigo |