File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
pi-gen-overlay/stage3/20-install-ros Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1- python-rosdep
1+ python-rosdep python-catkin-tools
Original file line number Diff line number Diff line change 1+ #! /bin/bash -e
2+
3+ echo " => Retrieving Turtle ROS packages..."
4+
5+ URL=" https://github.com/TurtleRover/tr_ros/archive/0.0.tar.gz"
6+
7+ mkdir -p " $ROOTFS_DIR " /tmp/install/ros_ws/src
8+ curl -L $URL --output " $ROOTFS_DIR " /tmp/install/tr_ros.tar.gz
9+
10+ tar -xf " $ROOTFS_DIR " /tmp/install/tr_ros.tar.gz -C " $ROOTFS_DIR " /tmp/install/ros_ws/src
11+
12+ echo " => Retrieving system dependencies..."
13+
14+ on_chroot << -EOF
15+ su - pi
16+ cd /tmp/install/ros_ws
17+ source /opt/ros/kinetic/setup.bash
18+ rosdep install --from-paths src --ignore-src -y --os=debian:stretch
19+ EOF
20+
21+ echo " => Building Turtle ROS packages..."
22+
23+ mkdir -p " $ROOTFS_DIR " /opt/ros/turtle
24+
25+ on_chroot << -EOF
26+ cd /tmp/install/ros_ws
27+ catkin config --extend /opt/ros/kinetic --install -i /opt/ros/turtle
28+ catkin build
29+ EOF
You can’t perform that action at this time.
0 commit comments