Skip to content

Commit

Permalink
openpose service working
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed Apr 17, 2019
1 parent 7c687d8 commit ebea4ba
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions scripts/install_systemd_autostart_demo_mode_launch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
#! /usr/bin/env bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

sudo cp $DIR/*.service /etc/systemd/system/
sudo cp $DIR/hero-demo-mode.service /etc/systemd/system/

# Reload and enable
sudo systemctl daemon-reload
Expand Down
8 changes: 6 additions & 2 deletions scripts/install_systemd_autostart_start_launch
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#!/bin/bash
#! /usr/bin/env bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

sudo cp $DIR/*.service /etc/systemd/system/
sudo cp $DIR/ntpdate.service /etc/systemd/system/
sudo cp $DIR/hero-roscore.service /etc/systemd/system/
sudo cp $DIR/hero-monitor.service /etc/systemd/system/
sudo cp $DIR/hero-start.service /etc/systemd/system/
sudo cp $DIR/hero-windows-speech.service /etc/systemd/system/

# Reload and enable
sudo systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion scripts/openpose.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ WantedBy=multi-user.target
[Service]
User=amigo
Restart=on-abort
ExecStart=/bin/bash -c 'source /home/amigo/.tue/setup.bash && export PATH=/usr/local/cuda/bin${PATH:+:${PATH}} && export LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} && rosrun image_recognition_openpose openpose_node _net_input_width:=368 _net_input_height:=368 _net_output_width:=368 _net_output_height:=368 _model_folder:=/home/amigo/openpose/models/ __ns:=hero/openpose image:=/hero/head_rgbd_sensor/rgb/image_raw'
ExecStart=/bin/bash -c 'source /home/amigo/.tue/setup.bash && export PATH=/usr/local/cuda/bin:$PATH && export LD_LIBRARY_PATH=/usr/local/cuda/lib64$:$LD_LIBRARY_PATH && rosrun image_recognition_openpose openpose_node _net_input_width:=368 _net_input_height:=368 _net_output_width:=368 _net_output_height:=368 _model_folder:=/home/amigo/openpose/models/ __ns:=hero/openpose image:=/hero/head_rgbd_sensor/rgb/image_raw'

0 comments on commit ebea4ba

Please sign in to comment.