Skip to content

Instantly share code, notes, and snippets.

View dhood's full-sized avatar

dhood

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:
@dhood
dhood / gist:7e8c794b5986d12a4dd775a5d0b2fc7b
Created April 14, 2016 00:30
linking issues windows fastrtps parameters
C:\dev\src\examples>dumpbin /dependents install\bin\set_and_get_parameters__rmw_fastrtps_cpp.exe Microsoft (R) COFF/PE Dumper Version 14.00.23506.0 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file install\bin\set_and_get_parameters__rmw_fastrtps_cpp.exe File Type: EXECUTABLE IMAGE
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:
20:04:00 Process package 'rclcpp_examples' with context:
20:04:00 --------------------------------------------------------------------------------
20:04:00 source_space => /home/rosbuild/ci_scripts/ws/src/ros2/examples/rclcpp_examples
20:04:00 build_space => /home/rosbuild/ci_scripts/ws/build/rclcpp_examples
20:04:00 install_space => /home/rosbuild/ci_scripts/ws/install/rclcpp_examples
20:04:00 make_flags => -j1
20:04:00 build_tests => True
20:04:00 --------------------------------------------------------------------------------
20:04:00
20:04:00 Running cmake because arguments have changed.
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:
import pexpect
import sys
if len(sys.argv) < 3:
raise Exception('Path to installer and/or install directory not received')
installer_path = sys.argv[1]
install_directory = sys.argv[2]
child = pexpect.spawn(installer_path + ' --mode text', encoding='utf8', logfile=sys.stdout)
# Maintaining a Source Checkout
If you have installed ROS 2 from source, there may have been changes made to the source code since the time that you checked it out.
To keep your source checkout up to date, you will have to periodically update your `ros2.repos` file, download the latest sources, and rebuild your workspace.
## Update your `ros2.repos` file
To download the `ros2.repos` file from the latest ROS 2 release, run:
```
cd ~/ros2_ws
mv -i ros2.repos ros2.repos.old
wget https://raw.githubusercontent.com/ros2/ros2/release-latest/ros2.repos

Maintaining a Source Checkout

If you have installed ROS 2 from source, there may have been changes made to the source code since the time that you checked it out. To keep your source checkout up to date, you will have to periodically update your ros2.repos file, download the latest sources, and rebuild your workspace.

Update your repository list

Each ROS 2 release includes a ros2.repos file that contains the list of repositories and their version for that release. To download the repository list from the latest ROS 2 release, run:

@[if os is not 'windows']@

@dhood
dhood / tag1.repos
Created September 15, 2016 23:19
vcs update tag test
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: release-alpha6