turtlebot3-burger_150.png
turtlebot3-waffle-pi_150.png
turtlebot3-arm_150.png
walking-y2_150.png
turbot3-multi_150.png
turbot3-dl-ros1_150.png
turbot3-ai.png
turbot3-dl-ros2_150.png
turbot3-slam_150.png
turbot3-arm_150.png
turtlebot4-lite_150.png
turtlebot4-pro_150.png
turbot4-dl_150.png
turbot4-ai_150.png
aidriving-racebot_150.png
aidriving-autodrive_150.png
turtlebot-arm_150.png
openmanipulator-x_150.png
Home » ROS2版TurtleBot3入门教程_视频版 » TurtleBot3入门教程#ROS2版#-网络设置

TurtleBot3入门教程#ROS2版#-网络设置

纠错,疑问,交流: 请进入讨论区请点击进入页面,扫码加入微信群或Q群进行交流

获取最新文章: 扫一扫加入“创客智造”公众号

文章说明

  • 本教程主要介绍设置固定IP、远程登录和时间同步的操作

相关设备

设置固定IP

远程登录

  • 设置完固定IP,就可以在PC端使用SSH方式远程登录到树莓派上

  • [TurtleBot && Remote PC] 安装ssh

$ sudo apt update
$ sudo apt install openssh-server
  • [Remote PC] ssh远程登录到树莓派上
# 
$ ssh [用户名]@[IP地址]
# 示例,如果是在创客智造上采购的机器,用户名和密码均为ubuntu
$ ssh ubuntu@192.168.0.29
ubuntu@192.168.0.29's password: 
Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-1024-raspi aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

512 updates can be applied immediately.
96 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable


Last login: Sun Apr 23 10:41:35 2023 from 192.168.0.203
ubuntu@TB3-V400:~$

时间同步

  • [TurtleBot && Remote PC] 安装chrony
$ sudo apt-get install chrony
  • [TurtleBot && Remote PC] 安装ntpdate
$ sudo apt-get install ntpdate
  • [TurtleBot && Remote PC] 分别同步时间
$ sudo ntpdate ntp.ubuntu.com
  • [TurtleBot && Remote PC] 检测时间是否同步
$ date

纠错,疑问,交流: 请进入讨论区请点击进入页面,扫码加入微信群或Q群进行交流

获取最新文章: 扫一扫加入“创客智造”公众号


标签: none