Robot installation: Difference between revisions

From Rsewiki
Line 16: Line 16:


=== NTP ===
=== NTP ===
Network time protocold, to keep clock in sync.
At DTU most clock sources are blocked, the clock source need to be configured.


At DTU, edit /etc/ntp.conf, add ntp.ait.du.dk to server pool
At DTU, edit /etc/ntp.conf, add ntp.ait.du.dk to server pool

Revision as of 16:04, 9 November 2018

Installation of software on the robot

Linux

Start with a freash ubuntu 18.04 desktop full.

Packages to install

Install:

ntp
ntpdate
openssh-server
git

sudo apt install ntp ntpdate openssh-server git

NTP

Network time protocold, to keep clock in sync. At DTU most clock sources are blocked, the clock source need to be configured.

At DTU, edit /etc/ntp.conf, add ntp.ait.du.dk to server pool

...
# Use servers from the NTP Pool Project. Approved by Ubuntu Technical Board
# on 2011-02-08 (LP: #104525). See http://www.pool.ntp.org/join.html for
# more information.
pool ntp.ait.dtu.dk
...

Sync time

ntpdate -u ntp.ait.dtu.dk

Should work in and around DTU

stop graphical display

To boot in terminal mode. uncomment this line in /etc/default/grub

...
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=console
...

Start graphics using "startx" after this change, if you need.

flexbot code

Git repository

ROS