From 063ee5367fe58d66485c191cd4c21e5596ccadce Mon Sep 17 00:00:00 2001 From: aswinthomas Date: Thu, 24 May 2018 22:57:00 +0800 Subject: [PATCH] updated readme and dep repo list (#8) * updated readme and depo repo list * clone ros2-devel branch for urg_node --- README.md | 27 ++++++++++++++++++++++++++- urg.repos | 25 +++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 urg.repos diff --git a/README.md b/README.md index 6d254ec4..a60faadc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,29 @@ urg_node =================== -ROS wrapper for the Hokuyo urg_c library. \ No newline at end of file +ROS wrapper for the Hokuyo urg_c library. + +## Build instructions (from source) +Install ros2 from source as per instructions [here](https://github.com/ros2/ros2/wiki/Linux-Development-Setup) + +Create a folder for urg and clone this repo + +``` +mkdir -p ~/ros2_ws/src/urg +cd ~/ros2_ws/src/urg +git clone -b ros2-devel https://github.com/bponsler/urg_node +``` +Clone dependencies +``` +cd ~/ros2_ws/src/urg/urg_node +vcs import ../ < urg.repos +``` + +Finally build + +``` +cd ~/ros2_ws +src/ament/ament_tools/scripts/ament.py build + +``` + diff --git a/urg.repos b/urg.repos new file mode 100644 index 00000000..d21d6cb4 --- /dev/null +++ b/urg.repos @@ -0,0 +1,25 @@ +repositories: + diagnostics: + type: git + url: https://github.com/bponsler/diagnostics + version: ros2-devel + laser_proc: + type: git + url: https://github.com/bponsler/laser_proc + version: ros2-devel + ros2_console: + type: git + url: https://github.com/bponsler/ros2_console + version: master + ros2_time: + type: git + url: https://github.com/bponsler/ros2_time + version: master + urg_c: + type: git + url: https://github.com/bponsler/urg_c + version: ros2-devel + urg_node_msgs: + type: git + url: https://github.com/bponsler/urg_node_msgs + version: master