-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TurtleBot3 Home Service Challenge #206
Comments
Have you run belows from your Remote PC? $ chmod +x ~/tb3_ssh_keygen
$ ~/tb3_ssh_keygen 192.168.1.10 and the below from your Raspberry Pi on TurtleBot3? $ chmod +x ~/env.bash Did you get any warning or error messages when running the above? |
When running the Also, you only need to run this command once as this will create the ssh key in your Remote PC. [Remote PC] $ nano ~/tb3_ssh_keygen
$ chmod +x ~/tb3_ssh_keygen
$ ~/tb3_ssh_keygen 192.168.43.220 |
@suyunas |
nano ~/.bashrc configurations for Remote PC: TB3:
|
@suyunas
Sorry about the confusion. This means to configure your IP address in the same IP range, such as 192.168.43.xxx TB3 HSC is currently supported with Kinetic which runs on Ubuntu 16.04 or the provided Raspbian OS image from us. Please try below command and let me know. This will copy the SSH key to TurtleBot3 SBC. $ ssh-copy-id [email protected] |
Whilst doing the TurtleBot3 Home Service Challenge. https://emanual.robotis.com/docs/en/platform/turtlebot3/home_service_challenge/
![Screenshot from 2021-04-24 08-38-20](https://user-images.githubusercontent.com/81650263/115951395-75bace00-a4d8-11eb-9ee7-4ef554bf6783.png)
@ 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: