本站对外提供NTP对时服务
Submitted by 熊茂祥 on 2025, March 3, 11:55 AM. ROS
方便自己,方便大家,附上一个ROS的NTP对时脚本。
ROS脚本(6X)
- /system ntp client set enabled=yes primary-ntp=123.57.72.35
- /system clock set time-zone-name=Asia/Shanghai
ROS脚本(7X)
- /system ntp client set enabled=yes
- /system ntp client servers add address=123.57.72.35
Tags: ntp, ros, 时间, 同步, 对时
« 上一篇 | 下一篇 »
 
3条记录访客评论
v6.42.11 实测可以,无报错。
Post by Zhangsir on 2019, January 31, 7:34 PM
#1
引用 废客 说过的话:
已测ros6.X直接粘帖不行的
expected end of command (line 1 column 36)
6.19实测无报错,检查自己复制的脚本内容是否含有和脚本无关内容。
我用firefox复制粘贴正常。
Post by 熊茂祥 on 2014, October 3, 12:27 PM
#2
已测ros6.X直接粘帖不行的
expected end of command (line 1 column 36)
Post by 废客 on 2014, October 3, 7:54 AM
#3
发表评论