flash_prepare_pi_zero_image

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
flash_prepare_pi_zero_image [2021/06/16 13:53] – wf68spefflash_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''Ìý+
-     * Check proper system functionÌý+
-        * Login to drone via SSH Ìý+
-        * Check output of image payload: ''journalctl -f -u searchwing-payloads-camera.service'' Ìý+
-  * 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 Ìý+
- +
  • flash_prepare_pi_zero_image.1623844409.txt.gz
  • Last modified: 2021/06/16 13:53
  • by wf68spef