A4MCAR - Readme updated, few scripts added. Signed-off-by: Mustafa Ozcelikors <mozcelikors@gmail.com>
diff --git a/a4mcar/high_level_applications/scripts/camera_start/raspberrypi_camera_start.sh b/a4mcar/high_level_applications/scripts/camera_start/raspberrypi_camera_start.sh new file mode 100644 index 0000000..b8746fc --- /dev/null +++ b/a4mcar/high_level_applications/scripts/camera_start/raspberrypi_camera_start.sh
@@ -0,0 +1,9 @@ +#!/bin/bash + +# This bash script starts the mjpg_streamer using Raspberry Pi Camera driver +# located in the following directory. + +cd /home/pi/newmjpg-streamer/mjpg-streamer/mjpg-streamer-experimental +export LD_LIBRARY_PATH=. +sudo ./mjpg_streamer -i "input_raspicam.so -x 640 -y 480 -fps 30" -o "output_http.so -w /usr/local/www -p 8081" +
diff --git a/a4mcar/high_level_applications/scripts/camera_start/webcam_start.sh b/a4mcar/high_level_applications/scripts/camera_start/webcam_start.sh new file mode 100644 index 0000000..f340640 --- /dev/null +++ b/a4mcar/high_level_applications/scripts/camera_start/webcam_start.sh
@@ -0,0 +1,8 @@ +#!/bin/bash + +# This bash script starts the mjpg_streamer using UVC driver (webcam) +# located in the following directory. + +export LD_LIBRARY_PATH=/usr/local/lib/ +/usr/local/bin/mjpg_streamer -i "input_uvc.so -n pic.jpg -q 50" -o "output_http.so -w /usr/local/www -p 8081" +
diff --git a/a4mcar/high_level_applications/scripts/tightvnc/tightvnc_start b/a4mcar/high_level_applications/scripts/tightvnc/tightvnc_start new file mode 100644 index 0000000..b0c6eac --- /dev/null +++ b/a4mcar/high_level_applications/scripts/tightvnc/tightvnc_start
@@ -0,0 +1,4 @@ +#!/bin/sh + +# Starts VNC server +vncserver :1 -geometry 1366x768 -depth 24
diff --git a/a4mcar/readme.txt b/a4mcar/readme.txt index 53522fd..74ed088 100644 --- a/a4mcar/readme.txt +++ b/a4mcar/readme.txt
@@ -66,13 +66,17 @@ scheduler) to the affinity constrained distribution from APP4MC to see if performance can be improved. +Introduction and Setup: + Please visit + http://a4mcar.readthedocs.io + File System and Applications: The a4mcar directory have to be placed in the home directory: /home/pi The external libraries and modules that needs to be downloaded are located at: https://gitlab.pimes.fh-dortmund.de/RPublic/a4mcar_required_modules.git - The dependencies are installed using setup scripts that are created. External modules involve - virtkeyboard, psutil, mjpg_streamer, and prctl for those who want to manually install the dependencies. + The dependencies are installed using setup scripts that are created. External modules involve + virtkeyboard, psutil, mjpg_streamer for those who want to manually install the dependencies. The repository should have the following main folders: @@ -114,6 +118,5 @@ and core monitoring of the A4MCAR. The low_level_applications module could be imported into xTIMEcomposer to make tweaks to the tasks. - documentation: Directory that involves created documentations for A4MCAR in PDF format. - + docs: Involves documentation and Sphinx-generated how-to-setup manual. \ No newline at end of file