Coder Social home page Coder Social logo

michaeldannunzio / mavhawk Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 44.71 MB

Software application for research using the Raspberry Pi 3 Model B+

License: MIT License

JavaScript 67.59% HTML 1.64% Python 30.77%
python react gpio potentiometer relay raspberry-pi-3 webcam webapp flask material-ui

mavhawk's Introduction

Mavhawk

Computational research at UTD by Dr. Malik's group has shown that the flexibility of micro air vehicles wings can be tailored in unique ways to produce significant benefits in aerodynamic performance (better lift vs. drag to reduce the power for flight). The overall goal of this Capstone Design project is to design, build, and test a membrane/frame type MAV wing, with distinct voltage applied to individual wing membrane "cells" that are made from dielectric elastomer in order to actively control the stiffness distribution of the wing. The project also includes computational fluid-structure interaction (FSI) modeling to predit aerodynamic performance (modeling tools provided by Malik) and wind tunnel testing in the new UTD wind tunnel. Project objectives include designing a device to uniformly pre-strain the dielectric elastomer membrane, calibration of the membrane strain vs. voltage behavior, implementation of a wireless voltage control system (with high-voltage source) to apply distinct voltage to each wing membrane cell to achieve specific wing flexibilty configurations, fabrication of some membrane/frame wings, comparison of FSI model aerodynamic predictions for the wings with wind tunnel experiments.

The Mavhawk software was built as a control system to carry out our research. It is a fully-packaged software application, which includes a web app for client-side UI, GPIO control logic for collecting data and controlling inputs.

Dependencies

Installation

This will download the Mavhawk application.

git clone https://github.com/michaeldannunzio/mavhawk.git
cd mavhawk

The following will download and set up the applications dependencies and environment.

setup_deps.py will install OpenCV 4.0 and configure it for Python. It will also install the application's other dependencies such as npm and flask.

When setting up your environment, the setup_env.py script will modify your operating systems networking abilities. It will turn your machine into a standalone network, which can be connected to via WiFi. The network's name is Mavhawk and the password is mavhawk. This is done in order to create an isolated environment to avoid network security issues and to keep intruders from affecting your research.

python scripts/setup_deps.py	# NOTE: This will restart your Raspberry Pi
python scripts/setup_env.py	# Navigate back to mavhawk directory first

Usage

This application assumes you possess "" potentiometer and "" relay.

The number of potentiometers and relays you have can be configured in the source code. Assuming you have a single relay and three potentiometers, you can run the application as follows.

python main.py

To shutdown the Mavhawk application, there is a run icon button located at the top righthand side of the dashboard. When it is clicked, the application will shutdown and your Raspberry Pi will shutdown with it.

NOTE: The application is not fully functional. There are components of the dashboard without implemented functionality.

License

MIT

Copyright 2019 Michael D'Annunzio

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

mavhawk's People

Contributors

jtuhsotmians avatar michaeldannunzio avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.