Saving ROS2 Dashing workspace to github
Hi, I am pretty new to git and ROS2, and I want to save my ROS2 Dashing workspace as a GitHub repository. How do I do this? Thanks in advance!!
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi, I am pretty new to git and ROS2, and I want to save my ROS2 Dashing workspace as a GitHub repository. How do I do this? Thanks in advance!!
The way the instructions recommend handling this is version control for each package in your workspace, and a separate metafile that stores where each package is hosted/which branch to use
from the dashing build from source instructions
Create a workspace and clone all repos:
mkdir -p ~/ros2_dashing/src cd ~/ros2_dashing wget https://raw.githubusercontent.com/ros2/ros2/dashing/ros2.repos vcs import src < ros2.repos
here's what the text looks like in this .repos file
ros2/rclcpp:
type: git
url: https://github.com/ros2/rclcpp.git
version: dashing
ros2/rclpy:
type: git
url: https://github.com/ros2/rclpy.git
version: dashing
ros2/rcpputils:
type: git
url: https://github.com/ros2/rcpputils.git
version: dashing
Asked: 2020-04-23 04:52:07 -0500
Seen: 181 times
Last updated: Apr 23 '20
How to get argument values in ROS2?
[Nav2] Why use Voxel layer over 2D layer for RGBD sensor?
ROS2 xacro parsing: ${robot_ip} vs $(arg robot_ip)
Cannot include tf2_geometry_msgs.h
[ROS2] I can publish a parameter with wrong type and get no exception
Is there a way to subscribe to a topic at a given rate in ROS2? [closed]
Seems like this is a GitHub question rather than a ROS question. By "workspace" do you mean your source code?
Would #q347421 cover this?