Skip to content

Commit

Permalink
Add documentation of chrony
Browse files Browse the repository at this point in the history
  • Loading branch information
g3force committed Dec 3, 2023
1 parent 3399400 commit 2a6ec60
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions ssl-vision/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The scripts assume a *Xubuntu 22.04* installation.
During installation, select the *Minimal Installation* and the following user settings:

* Username: `vision`
* Hostname: `ssl-vision-X` (as labeled on the NUC)
* Hostname: `ssl-vision-x` (as labeled on the NUC)
* Automatic Login: Yes

## Execution
Expand All @@ -23,8 +23,28 @@ To configure everything in the correct order, run:

There is some interaction required.

## Optional: Update firmware of the camera
## Configure chrony for multiple camera setups
If there is more than one camera for one field, like in division A, the clocks of all computers, that are running ssl-vision, have to be synchronized.
The scripts install chrony, an NTP server implementation and interactively ask for the server IP. You can run the script again for reconfiguration:

```shell
./configure-chrony.sh
```

Afterward, it may take some time until the client as synchronized. Here are some useful commands:

```shell
# Make a step (instead of slewing) - requires some measurements, so you may need to wait a bit before running it
chronyc -a makestep

# List sources (should only be one)
chronyc sources

# Show tracking offset
chronyc tracking
```

## Optional: Update firmware of the camera
The camera firmware can be updated with the following CLI tool, included in the Spinnaker SDK:

```shell
Expand Down

0 comments on commit 2a6ec60

Please sign in to comment.