Skip to content

Commit 427b600

Browse files
committed
prepare 4TU release
Add SD images and update installation manuals
1 parent 8b925cc commit 427b600

5 files changed

Lines changed: 48 additions & 152 deletions

File tree

CITATION.cff

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors:
66
orcid: "https://orcid.org/0000-0001-9346-5787"
77
- family-names: "Maintz"
88
given-names: "Tommy"
9-
title: "My Research Software"
9+
title: "ML-MoCap"
1010
version: 2.0.4
1111
doi: 10.0000/FIXME
1212
date-released: 2021-07-30
@@ -23,11 +23,7 @@ preferred-citation:
2323
- family-names: "Geelen"
2424
given-names: "Jinne"
2525
orcid: "https://orcid.org/0000-0001-9346-5787"
26-
# doi: "10.0000/00000"
27-
title: "My awesome research software"
28-
booktitle: "Booktitle"
29-
series: "Series"
26+
doi: "10.1109/EMBC46164.2021.9629749"
27+
title: "MarkerLess Motion Capture: ML-MoCap, a low-cost modular multi-camera setup."
3028
year: 2021
31-
pages: "100-101"
32-
publisher: "N"
33-
address: "Nn"
29+
publisher: "IEEE (EMBC)"

Installation_CameraModules.md

Lines changed: 33 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,35 @@
11
# Installation Camera Modules
22

3-
1. Download the [custom camera image](4TU?) file to build the camera module operating system on the SD cart.
4-
Note! The camera modules are installed one-by-one. Finish all steps for camA before you continue to install camB.
5-
2. Add the custom image to one of the SD carts with [Raspberry Pi Imager](https://www.raspberrypi.com/software/)
6-
3. Connect power supply and insert the SD cart into the Pi
7-
4. Change the hostname from 'cameraX' to the preferred incremental name in order of installation.
8-
5. Check/Choose/Fix the IP address of the module (TBD)
9-
6. Choose prefererred username and password for your controller
10-
1. Enter `sudo raspi-config` in a terminal window
11-
2. Select `Change user password`
12-
The default user on Raspberry Pi OS is `pi` with the password `raspberry`. You can change that here.
13-
3. Set the visible name for this Pi on a network
14-
4. Add Remote Access
15-
1. Enter `sudo raspi-config` in a terminal window
16-
2. Select Interfacing Options
17-
3. Navigate to and select SSH
18-
4. Choose `Yes`
19-
5. Select `Ok`
20-
6. Choose `Finish`
21-
5. Enable/disable the CSI camera interface.
3+
1. Download the [custom camera image](SD_images/mlmocap_camera.img.gz) file to build the camera operating system on the SD card.
4+
*Note!* The camera modules are installed one-by-one. Finish all steps for camera1 before you continue to install camera2, etc.
5+
2. Add the custom image to one of the SD cards with [Raspberry Pi Imager](https://www.raspberrypi.com/software/), make sure to change the settings (gear icon) before choosing write, change [NR] for the current camera number that you want to install:
6+
1. Change hostname into `mlmocap-camera[NR]`
7+
2. Select SSH enabled
8+
3. Choose prefererred username and password for your controller, defaults are: `pi` and `raspberry`
9+
4. Optional: Fill in the credentials of your WiFi network (controller will provide the network including WiFi settings.)
10+
5. Save settings and now press write to flash the card, this takes a while wait for the progress to finish.
11+
3. Insert the SD card into the camera module Pi and connect it to the power supply (via PoE, just insert the ethernet cable).
12+
4. Set a static and unique IP address:
13+
1. Connect to new camera module via ssh in your terminal type: `ssh pi@mlmocap-camera[NR].local`
14+
2. When prompted "Are you sure you want to continue", type: `yes`, enter
15+
3. Fill in password chosen in settings of Pi Imager, default: `raspberry`
16+
4. Open network settings by typing: `sudo nano /etc/dhcpcd.conf`
17+
5. Scroll down untill you see the internet settings, change [CAMERA NUMBER] to an increasing number above 10 and below 24, like camera1 = 11, camera2 = 12 etc. replace this row: `static ip_address=10.1.1.[CAMERA NUMBER]/24`
18+
6. To close and save the changes in this file:
19+
`Ctrl+x, then Y followed by Enter`
20+
7. Now reboot the camera module by typing: `sudo reboot`
21+
8. Reconnect to the camera with ssh, wait a few seconds for the module to finish restart: `ssh pi@mlmocap-camera[NR].local`
22+
5. Add K3S to Camera module
23+
1. Open a second terminal, to connect to the controller: `ssh pi@mlmocap-controller.local`
24+
2. In this terminal (on the controller) get node-token, run following command: `sudo cat /var/lib/rancher/k3s/server/node-token`
25+
3. Copy the output
26+
4. Go to the terminal that is connected to the camera module. Add the copied token to the following command at [REPLACE WITH TOKEN]. Than paste the complete total to the current camera command line:
27+
`curl -sfL https://get.k3s.io | K3S_URL=https://10.1.1.1:6443 K3S_TOKEN=[REPLACE WITH TOKEN] sh -`
28+
5. Finally, we will change the node role, via controller. Go to the terminal connected to the controller and run this command after changing the current camera number: `kubectl label node mlmocap-camera[NR] kubernetes.io/role=camera`
29+
6. Connect to the webapp to see if the camera's appear, this might take a while, be patient :)
30+
31+
32+
33+
34+
35+

Installation_Controller.md

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,11 @@
11
# Installation Controller
22

3-
1. Download the [custom controller image](4TU?) file to build the controller operating system on the SD cart.
4-
2. Add the custom image to one of the SD carts with [Raspberry Pi Imager](https://www.raspberrypi.com/software/)
5-
3. Connect power supply and insert the SD cart into the Pi
6-
4. Choose prefererred username and password for your controller
7-
1. Enter `sudo raspi-config` in a terminal window
8-
2. Select `Change user password`
9-
The default user on Raspberry Pi OS is `pi` with the password `raspberry`. You can change that here.
10-
3. Set the visible name for this Pi on a network
11-
3. Add WiFi settings
12-
1. Enter `sudo raspi-config` in a terminal window
13-
2. Select Networking Options
14-
3. Navigate to and select WiFi Settings
3+
1. Download the [custom controller image](SD_images/mlmocap_controller.img.gz) file to build the controller operating system on the SD card.
4+
2. Add the custom image to one of the SD cards with [Raspberry Pi Imager](https://www.raspberrypi.com/software/), make sure to change the settings (gear icon) before choosing write:
5+
1. Change hostname into `mlmocap-controller`
6+
2. Select SSH enabled
7+
3. Choose prefererred username and password for your controller, defaults are: `pi` and `raspberry`
158
4. Fill in the credentials of your WiFi network
16-
4. Add Remote Access
17-
1. Enter `sudo raspi-config` in a terminal window
18-
2. Select Interfacing Options
19-
3. Navigate to and select SSH
20-
4. Choose `Yes`
21-
5. Select `Ok`
22-
6. Choose `Finish`
23-
5. Enable/disable the CSI camera interface.
9+
5. Save settings and now press write to flash the card, this takes a while wait for the progress to finish.
10+
3. Insert the SD card into the controller Pi and connect the power supply
11+

Makefile

Lines changed: 0 additions & 102 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This project is work-in-progress. With the lessons learned from the first versio
88
- [x] Transform from custom services to pre-build Docker applications
99
- [x] Management by Kubernetes
1010
- [x] Transition from mountdrive to NFS and SMB
11-
- [ ] Customized Raspberry Pi OS Image files
11+
- [x] Customized Raspberry Pi OS Image files
1212
- [ ] New UI Design
1313

1414
## Getting started
@@ -28,8 +28,8 @@ Depending on the application or goal the required hardware list will change. Her
2828

2929
The operating system for the Raspberry Pi's will be installed with the Imager tool. Instead of the general Raspberry Pi OS we provide custum images including Docker installation of the required packages. Please follow the instruction documents for a set-by-step guided installation process.
3030

31-
1. [Installation Controller](https://github.com/JinneGeelen/ML-MoCap/blob/feature/v2/Installation_Controller.md)
32-
2. [Installation Camera Modules](https://github.com/JinneGeelen/ML-MoCap/blob/feature/v2/Installation_CameraModules.md)
31+
1. [Installation Controller](Installation_Controller.md)
32+
2. [Installation Camera Modules](Installation_CameraModules.md)
3333
3. [Using the Application](Manual_WebApplication.md)
3434

3535
## Code contributors:

0 commit comments

Comments
 (0)