Skip to content

Commit

Permalink
Update start-docker-container-nuc-bimanual-arm-hand.j2
Browse files Browse the repository at this point in the history
  • Loading branch information
Fotios Papadopoulos authored Feb 10, 2021
1 parent 239144c commit 0a42a4f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ fi

ssh -X $NUC_NAME@$NUC_ADDRESS CONTAINER={{ container_name }} SR_BRANCH={{ config_branch }} HAND_SERIALN={{ hand_serial }} HAND_SERIALN_LEFT={{ hand_serial_left }} ETH_PORT={{ ethercat_right_hand }} ETH_PORT_LHAND={{ ethercat_left_hand }} HOST_IP=$LOCAL_IP NUC_ADDRESS=$NUC_ADDRESS UR_TYPE={{ ur_robot_type }} ARM_PAYLOAD_MASS={{ arm_mass_payload }} 'bash -s' <<'ENDSSH'
bash $(while [[ $(ss | grep $HOST_IP | grep $NUC_ADDRESS | grep ssh | grep ESTAB | wc -l) -gt 0 ]]; do sleep 1; done ; pkill -INT -f roslaunch) &
XACRO='{{ xacro_system }}'
XACRO='{{ xacro_bimanual }}'
MAPPING_RIGHT='{{ mapping_path_right }}'
MAPPING_LEFT='{{ mapping_path_left }}'
ROBOT_CONFIG='{{ robot_config_system }}'
ROBOT_CONFIG='{{ robot_config_bimanual }}'
docker stop ${CONTAINER}
sleep 2
docker start ${CONTAINER}
Expand Down

0 comments on commit 0a42a4f

Please sign in to comment.