기술 성공, 실패 기록소

Timesync between TurtleBot3 and Remote PC 문제 본문

followbot

Timesync between TurtleBot3 and Remote PC 문제

sunlab 2020. 1. 9. 16:53
728x90

터틀봇 슬램을 켰는데 에러가 났다.

robotmodel, tf, LaserScan 다 안됨.

 

https://github.com/ROBOTIS-GIT/turtlebot3/issues/279

 

Problem about Slam in Rviz · Issue #279 · ROBOTIS-GIT/turtlebot3

ISSUE TEMPLATE ver. 0.2.0 Which TurtleBot3 you have? [ v] Burger Waffle Waffle Pi Which SBC(Single Board Computer) is working on TurtleBot3? Raspberry Pi 3 Intel Joule 570x [ v] etc (PLEASE, WRITE ...

github.com

와 유사한 문제.

 

http://emanual.robotis.com/docs/en/platform/turtlebot3/faq/#timesync-between-turtlebot3-and-remote-pc

 

ROBOTIS e-Manual

 

emanual.robotis.com

타임씽크 문제로 인해서 발생

$ sudo apt-get install ntpdate

$ sudo ntpdate ntp.ubuntu.com

으로 해결해보라함.

 

ntp 네트워크 타임 프로토콜, 인터넷에 있는 특정 아이피로 시간을 동기화 시키는 방법인듯하다.

근데 에러남 잘 안됨.

 

https://askubuntu.com/questions/429306/ntpdate-no-server-suitable-for-synchronization-found

 

ntpdate: no server suitable for synchronization found

My clock is off, so I would like to synchronize it using ntpdate. I tried several different NTP servers, but for some reason I always get the following error message: $ sudo ntpdate ntp.ubuntu.com...

askubuntu.com

ntpdate: no server suitable for synchronization found

위와 같은 에러가 발생. 어째 해결이 잘 안된다.

 

대신에 위 사이트에 있는

sudo date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z"

을 사용해서 터틀봇과 remote pc를 동기화 시켰다.

date란 패키지를 사용해서 무식하게 시간을 맞춰주는 방법.

 

'followbot' 카테고리의 다른 글

RealSense D435 + ROS install  (0) 2020.03.19
amcl  (0) 2020.01.15
turtlebot3 slam, navigation  (0) 2020.01.15
ntp 란?  (0) 2020.01.09
Writing a tf broadcaster (Python)  (0) 2020.01.08