User Tools

Site Tools


projects:farmrobot:steuerungs-kamera

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
projects:farmrobot:steuerungs-kamera [2021/03/08 18:26]
jonas [Software]
projects:farmrobot:steuerungs-kamera [2021/03/14 17:51] (current)
jonas [Authors]
Line 3: Line 3:
 The FPV Camera serves a video stream as the first person view (FPV) of the Robot. This makes it possible to see the position of the Robot and anything in its way. The FPV Camera serves a video stream as the first person view (FPV) of the Robot. This makes it possible to see the position of the Robot and anything in its way.
  
-==== Hardware ====+===== Hardware =====
  
 A 3d Printed mount for the Bosch40x40 profile was made to stick a polie on it so that the camera gets a better view. The camera is set in a case which was designed with a litte roof to prevent raindrops on the lense. A 3d Printed mount for the Bosch40x40 profile was made to stick a polie on it so that the camera gets a better view. The camera is set in a case which was designed with a litte roof to prevent raindrops on the lense.
Line 20: Line 20:
   * SD-Card   * SD-Card
  
-==== Software ====+===== Software =====
  
 The SD-Card has been flashed with an Ubuntu 20.10 arm64-raspi OS. The SD-Card has been flashed with an Ubuntu 20.10 arm64-raspi OS.
Line 26: Line 26:
   * user name: pi   * user name: pi
   * password: farmrobot   * password: farmrobot
 +
 Its connectable via ethernet or build in wifi module. Its connectable via ethernet or build in wifi module.
  
Line 36: Line 37:
 ''sudo nano /boot/firmware/config.txt [gpu_mem=512 ; start_x=1]'' ''sudo nano /boot/firmware/config.txt [gpu_mem=512 ; start_x=1]''
  
-=== Setup ===+==== Setup ====
  
   sudo apt install v4l-utils   sudo apt install v4l-utils
 +  sudo apt install ffmpeg
   sudo apt install openssh-server sudo ufw allow ssh ssh pi@farmrobot   sudo apt install openssh-server sudo ufw allow ssh ssh pi@farmrobot
      
Line 49: Line 51:
  
  
-==== v4l2m2m encoder on arm 64 bit OS ====+==== Optional v4l2m2m encoder on arm 64 bit OS ====
  
 Using v4l2m2m encoder to have arm64 hardware support to efficiently encode a efficient h.265 stream which is sent via rtmp to a server which reencodes to hls to view video stream in a browser. Using v4l2m2m encoder to have arm64 hardware support to efficiently encode a efficient h.265 stream which is sent via rtmp to a server which reencodes to hls to view video stream in a browser.
  
-ffmpeg is used for data conversion:+Building ffmpeg from source for the newest release and support for v4l_m2m hardware encoding on 64 bit arm.
  
 ''cd/home/pi/ mkdir -p ~/ffmpeg_sources ~/ffmpeg_build ~/bin'' ''cd/home/pi/ mkdir -p ~/ffmpeg_sources ~/ffmpeg_build ~/bin''
Line 198: Line 200:
      
   source ~/.profile   source ~/.profile
 +
 +===== Authors =====
 +* Jonas Geßmann, Environment & Energy, jonas.gessmann@protonmail.com \\
 +* Nicolas Wiehe
projects/farmrobot/steuerungs-kamera.1615227996.txt.gz · Last modified: 2021/03/08 18:26 by jonas