Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
flash_prepare_pi_zero_image [2021/06/16 13:38] wf68spef |
flash_prepare_pi_zero_image [2021/07/16 20:21] (current) wf68spef |
||
---|---|---|---|
Line 1: | Line 1: | ||
Each camera in the plane is driven by a pi zero. There is a prepared image for this usecase, but some planespecific parameters need to be set for each image. | Each camera in the plane is driven by a pi zero. There is a prepared image for this usecase, but some planespecific parameters need to be set for each image. | ||
- | * Download image: https://cloud.hs-augsburg.de/s/6³¦¾±²¹2²µ5³æ±è´Ç°äÂáÂá´Ü³ÝÌý | + | * Follow instructions from https://kidslab.gitbook.io/searchwing/preparing-components/software-setup/setup-companion-computer |
- | * Flash image to SD Card (e.g. using Etcher Tool)Â | + | |
- | * Set Accesspoint and NetworkHostname depending on left / right camera :Â | + | |
- | * Open the ''/boot'' partition (which normally gets automounted in windows)Â | + | |
- | * open the file ''wpa_supplicant.conf'':Â | + | |
- | * Get info for AP names and passwords from [[image-download-station|the network description.]]Â | + | |
- | * Write info in ''wpa_supplicant.conf'' :Â | + | |
- | * cam-r : ''ssid="AP1"''Â | + | |
- | * cam-l : ''ssid="AP2"''Â | + | |
- | * WIFI Password : ''psk="AP-Password"''Â | + | |
- | * Open the file ''unattended'':Â | + | |
- | * Replace the hostname of the drone according the name scheme: e.g. ''DRONENAME-L/R'' -> ''freddy-l'' Â | + | |
- | * Insert image into plane and power up | + | |
- | * First bootup the filesystem of image (~2Gb) is enlarged to the SD-Card size (64Gb)Â | + | |
- | * Implemented by creating a ''/data'' partition where the image will be saved | + | |
- | * Takes ~3-5Minutes  | + | |
- | * Afterwards filesystem resize the camera-capture & webserver service is started  | + | |
- | * You can access each camera via its hostname: ''ssh searchwing@freddy-l.local''Â | + | |
- | * The recorded images can be checked via webserver in the webbrowser using a laptop in the same WLAN : e.g. ''http:\\freddy-l.local''Â | + | |
- | * Most recent image is saved in ''0_latest.jpg@''Â | + | |
- | * Preflight check images are saved and overwritten as ''preflight.jpg''Â | + | |
- | * Preflightcheck  | + | |
- | * can be done with the searchwing-pi-manager on the laptop | + | |
- | * is sent via Mavlink to QGC for the UART TX RX connected Pi zero  | + | |
- | * Check proper system function | + | |
- | * Login to drone via SSH Â | + | |
- | * Check output of image payload: ''journalctl -f -u searchwing-payloads-camera.service'' | + |