Skip to content

Commit

Permalink
builder: Enable ROS services after first boot (#208)
Browse files Browse the repository at this point in the history
Merging this into master, this should not break anything.
  • Loading branch information
sfalexrog authored May 6, 2020
1 parent 72869fc commit c7e7ede
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions builder/assets/init_rpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ hostnamectl set-hostname $NEW_HOSTNAME
sed -i 's/127\.0\.1\.1.*/127.0.1.1\t'${NEW_HOSTNAME}' '${NEW_HOSTNAME}'.local/g' /etc/hosts
# .local (mdns) hostname added to make it accesable when wlan and ethernet interfaces are down

echo_stamp "Enable ROS services"
systemctl enable roscore
systemctl enable clover

echo_stamp "Harware setup"
/root/hardware_setup.sh

Expand Down
4 changes: 0 additions & 4 deletions builder/image-ros.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,6 @@ my_travis_retry pip install -r /home/pi/catkin_ws/src/clover/clover/requirements
source /opt/ros/melodic/setup.bash
catkin_make -j2 -DCMAKE_BUILD_TYPE=Release

echo_stamp "Enable ROS services"
systemctl enable roscore
systemctl enable clover

echo_stamp "Install clever package (for backwards compatibility)"
cd /home/pi/catkin_ws/src/clover/builder/assets/clever
./setup.py install
Expand Down

0 comments on commit c7e7ede

Please sign in to comment.