You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whilst doing the TurtleBot3 Home Service Challenge. https://emanual.robotis.com/docs/en/platform/turtlebot3/home_service_challenge/
@ 7.10.3.1.
I am having the following error:
Remote PC side:
#!/bin/bash
argc=$#
args=("$@")
if [ 0 -eq $argc ]
then
echo "need to argument that host ip for ssh connection"
echo "Usage: $0 [ip address] ..."
exit 1
fi
for((index = 0; index < $#; index++ ))
do
ssh-keygen -R ${args[$index]}
ssh-keyscan ${args[$index]} >> ~/.ssh/known_hosts
done
Turtlebot3 side:
#!/bin/bash
#check if other turtlebot3_core is already running
is_running=ps ax | grep turtlebot3_core
IFS=' ' read -ra is_runnings <<< "$is_running"
process_name=${is_runnings[4]}
if [ ${process_name} == "python" ]
then
echo "other turtlebot3_core is already running."
exit 1
fi
Whilst doing the TurtleBot3 Home Service Challenge. https://emanual.robotis.com/docs/en/platform/turtlebot3/home_service_challenge/
@ 7.10.3.1.
I am having the following error:
Remote PC side:
#!/bin/bash
argc=$#
args=("$@")
if [ 0 -eq $argc ]
then
echo "need to argument that host ip for ssh connection"
echo "Usage: $0 [ip address] ..."
exit 1
fi
for((index = 0; index < $#; index++ ))
do
ssh-keygen -R ${args[$index]}
ssh-keyscan ${args[$index]} >> ~/.ssh/known_hosts
done
Turtlebot3 side:
#!/bin/bash
#check if other turtlebot3_core is already running
is_running=ps ax | grep turtlebot3_core
IFS=' ' read -ra is_runnings <<< "$is_running"
process_name=${is_runnings[4]}
if [ ${process_name} == "python" ]
then
echo "other turtlebot3_core is already running."
exit 1
fi
source /opt/ros/kinetic/setup.bash
source ~/catkin_ws/devel/setup.bash
ip_address=hostname -I
ip_address_trim=${ip_address%% * }
ip_address_no_space="$(echo -e "${ip_address_trim}" | tr -d '[:space:]')"
export ROS_HOSTNAME=${ip_address_no_space}
export TURTLEBOT3_MODEL=waffle_pi
exec "$@"
Somebody can help?
The text was updated successfully, but these errors were encountered: