Skip to content

byu-crop-biomechanics-lab/FIELDAQ-Software-and-Electronics

 
 

Repository files navigation

FIELDAQ

Running the Software on Raspberry PI

  1. Download the SD card image. You need at least a 16 GB SD card.
  2. Flash the SD card with the new image using whatever flash software you are accustomed to. For mac users I'd recommend using Apple PI Baker.
  3. Once flashed the device will open automatically in the command line interface and will boot the program automatically. Don't forget to to go to the settings and click the "update with github", or do it manually through the command line.
  4. If you want to make edits to the software or system as a whole and want to have a GUI, you can run the startx command and it will switch over to the Linux GUI.

Running the Software on Linux System (Non-Raspberry PI)

Run the following commands in a bash terminal to download, build and run the projcet. This build script will build a python environment and download the necessary packages. It then will build the project and run it to verify that everything is working correctly.

git clone git@github.com:byu-crop-biomechanics-lab/FIELDAQ-Software-and-Electronics.git
cd FIELDAQ-Software-and-Electronics/
source build_project

After installing python and the nessesary libraries, the software is run by navigating into the Granusoft/src directory and running the main.py file.

The main.py file imports the necessary kivy library elements, and builds the kivy app. The companion main.kv file imports the widgets (GUI screen elements), created for the use across the GUI, and imports the views that will be displayed throughout the app. These views are each composed of a python file and kivy file. More detail can be found in Documentation/Kivy Screen Management.docx.

Overview and Resources

The software for the FIELDAQ is written in python, using the kivy library. Versioning is managed using git via GitHub. The layout and functionality are based on the old DARLING software. With the addition of a touchscreen, kivy was utilized over pygame.

Documentation Directory

The Documentation directory contains many useful files, some of which have been mentioned previously. Documentation that has been found to be the most useful is listed here:

Structural Information of the Code Base (how is it assembled)

  • Directory Tree.txt - Overview of the directories in the repository. With information about the contents of each directory.
  • FIELDAQ_Software_Diagrams.pdf - Information about the screen navigation for the GUI and how each screen is built using kivy elements/widgets (flowchart is outdated).
  • Software Flowchart and Logic.docx - Supplementary to FIELDAQ_Software_Diagrams, this document contains more information about the purpose of each screen.
  • Software Documentation Outdated.pdf - An old resource containing the Classes and Methods contained in every file. This was last updated at the end of capstone, and may contain some useful information still. An updated version can be compiled using DoxyGen (version. 1.8.15).

Background Information (how do the pieces work)

Examples

About

Forked Software and additional development for FIELDAQ Software

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 67.3%
  • kvlang 32.3%
  • Shell 0.4%