Skip to content

Commit

Permalink
Client: Add visual_pose_service setup
Browse files Browse the repository at this point in the history
  • Loading branch information
goldarte committed Nov 28, 2019
1 parent 3b2ef72 commit 9c518a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Drone/client_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ EOF
# change server ip in client_config
sed -i "0,/^host/s/\(^h.*\)/host = $4/" client_config.ini

# enable clever show service
# enable clever show service and visual_pose_watchdog service
systemctl enable clever-show.service
systemctl enable visual_pose_watchdog.service

# restart clever
reboot
3 changes: 2 additions & 1 deletion builder/image-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,9 @@ img-chroot ${IMAGE_PATH} exec ${SCRIPTS_DIR}'/image-software.sh'
# Configure image
img-chroot ${IMAGE_PATH} exec ${SCRIPTS_DIR}'/image-configure.sh'

# Copy service file for clever show client
# Copy service files for clever show client and visual_pose_watchdog
img-chroot ${IMAGE_PATH} copy ${SCRIPTS_DIR}'/assets/clever-show.service' '/lib/systemd/system/'
img-chroot ${IMAGE_PATH} copy ${SCRIPTS_DIR}'/assets/visual_pose_watchdog.service' '/lib/systemd/system/'

# Copy config files for clever
if [[ -d "${CONFIG_DIR}/launch" ]]; then img-chroot ${IMAGE_PATH} copy ${CONFIG_DIR}'/launch' '/home/pi/catkin_ws/src/clever/clever'; fi
Expand Down

0 comments on commit 9c518a8

Please sign in to comment.