Skip to content

Commit

Permalink
Fix bimanual (#336)
Browse files Browse the repository at this point in the history
* fixing payload for bimanual

* fixing payload for bimanual
  • Loading branch information
Fotios Papadopoulos authored Feb 8, 2021
1 parent 585cb6d commit 239144c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ $chrony_status -eq 0 ]; then
sleep 3
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_payload_mass }} 'bash -s' <<'ENDSSH'
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 }}'
MAPPING_RIGHT='{{ mapping_path_right }}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ $chrony_status -eq 0 ]; then
sleep 3
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_payload_mass }} 'bash -s' <<'ENDSSH'
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_bimanual }}'
MAPPING_RIGHT='{{ mapping_path_right }}'
Expand Down

0 comments on commit 239144c

Please sign in to comment.