SkillAgentSearch skills...

Python

Most of my python utilities that I use for controls and instrumentation. It also contains some apps created with Qt

Install / Use

/learn @cmontalvo251/Python
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

This repo contains alot of things in it like apps made in qt as well as some io and plotting utilities.

If you're in my controls or instrumentation class then there is a folder with all the codes I create in the classroom

I've also copied into here my Earth Sciences codes that I wrote back in 2016. Here's the readme of those....

Here we have code needed to process iMet sensor data and pitot probe data using the FASTPitot sensor.

The data sets from April 20th, 2016 are from the Municipal Park.

iMet Sensor Data - 20160420-141621-00037232.csv http://fastlabtutorials.blogspot.com/2016/03/imet-xq-quick-start-and-data-processing.html

Pitot Sensor Data - MUNICIPAL_PARK.TXT http://fastlabtutorials.blogspot.com/2016/03/pitot-tube-wiring-diagram-and-data.html

This Pitot Sensor file only has 1 data stream and no GPS data. I am working on doing another flight test with GPS data and just 0's for the 3 other data streams so that you can at least develop the code for it. I'll let you know when that is done. My plan (assuming the baby doesn't come) is to finish the GPS code over the weekend and perform a flight test with all the sensors and final data format on Monday. Wishful thinking but it would be nice.

Iris+ Sensor Data - Iris_4_20.log I don't have any documentation on this file but I can point you to a wiki which will hopefully help. http://ardupilot.org/copter/docs/introduction.html

iMet Plots

-Pressure vs. Altitude -Temperature vs. Altitude -Humidity vs. Altitude

Pitot Sensor Plots

-Windspeed vs. Time for all 4 data streams -Windspeed vs. Altitude for all 4 data streams

Iris+ Plots

-Altitude vs. Time -Vx,Vy,Vz (m/s) vs. Time -Roll,Pitch,Yaw (deg) vs. Time

Combinatory Plots for Check

-LAT vs. LON vs. Alt for all 3 data streams -Altitude vs. Time for all 3 data streams

COMPLETED TASK 1.) Plot iMet soundings but split it into two soundings. You had two soundings so plot each sounding by itself and then compare each sounding. Plot apprentice data as well by splitting that. 2.) Plot FAST pitot data from soundings - use pitot.py 3.) Plot raw Anemometer data - use anemometer.py 5.) Combine iMet Soundings with FASTpitot soundings with Anemometer data and send over to Systke - this is experiment 1 for UAV sampling of winds - use ploteverything.py and then test with wrapper.py - gonna need to edit code to plot double iMet data using ploteverything.py - not sure how I will do that but we'll figure it out 4.) Plot Quad data from soundings

TASK TO COMPLETE

Data Streams for MAAWM

1.) Create a module in MAAWM that handles all of this kind of data 1.5) plot quad data from MAAWM flight 2.) Add iMet streams to MAAWM module keeping in mind that one was on the aircraft - probably just need to make a vehicle module with a list of sensors and their respective files. Yea that will work. 3.) Add FASTpitot data to MAAWM module and make sure you can read it in just fine 4.) Add anemometer data to MAAWM module 5.) Add FASTMeta - you'll have to create a new module for this so I suggest creating this module inside of MMACS to plot all of this data and go ahead and compare it to brandon's plots because something wierd is going on. 6.) Now combine all data streams and plot the following. -LAT vs time -LON vs time -LAT/LON for all things -ALT vs TIME for all things -LAT/LON/ALT -LAT/LON/EAST-WEST Wind - Note that FASTpitot only got North -LAT/LON/NORTH-SOUTH wind - Note that Apprentice will need to use GPS heading and combine with magnetometer and substract GPS speed -LAT/LON/TOTAL - for now this will only have anemometer, once we have the 4Pitot on two quads we can add that. Not sure what to do about apprentice. We won't get total wind unless we mount a 3pitot sensor on the aircraft.

DESCRIPTION OF FLIGHT TEST EXPERIMENT

FASTpitot sensor on Quad pointing north - Located in GeoSampling/FASTPitot b/c that's where FASTpitot data goes - There were two files GPSLOG10.TXT is the soundings and GPSLOG11.TXT was the MAAWM flight test

iMet on Quad - Located in GeoSampling/iMet b/c that's where iMet data goes iMet on Apprentice - Located in GeoSampling/iMet b/c that's where iMet data goes Anemometer Data which just sat on the ground the whole data - Located in GeoSampling/Anemometer b/c that's where Anemometer data goes Ground Station Data - Sat on the ground and grabbed control inputs - located in FASTPilot/fastwing/Flight_Tests b/c this data is from the fast meta sensor FASTMeta Data - Was in the apprentice and grabbed 6DOF and pitot data - located in FASTPilot/fastwing/Flight_Tests b/c this data was from the fast sensor

In order to download mesonet tower data you must visit this site http://chiliweb.southalabama.edu/archived_data.php

Typically I've been downloading

Year Month Day of Month Hour Minute Lat Lon Elevation Wind Dir 2m Wind Dir 10m Wind Speed 2m Wind Speed 10m

To Do List

See LateX for outline of paper

  1. Learn and be more proficient in FORTRAN and Python as well
  2. Create CAD drawing of the case for the project 6.) Perform a flight test solely by yourself (except for PIC) where you operate the sensors take the data and process the data. This is extremely important for you to move forward. 14.) Make Lisa write a tutorial on post processing code.

July 29th, 2016

Tasks completed

  1. Create Fritzing diagram for new assembled project Using Arduino UNO and GPS Shield

July 20th, 2016

8.) Try digital pitot probe - Done 9.) Try 4 pitot sensors with a GPS shield - you can just use a bread board to test this.

The above steps worked so there is no need to get a breakout board or a MEGA. 10.) If that doesn't work go buy an SD breakout and GPS breakout. If you do that you'll probably need to go get a MEGA though. 11.) Go buy a MEGA if need be.

July 14th, 2016

FrSky pitot probe needs a receiver to parse proprietary data. Unless we want to buy a $30 receiver I suggest we move on to digital pitot probes. Good news is that hobby king is back in stock so Virginia got the go ahead to buy 4. I just purchased 2 more for the meta aircraft project.

http://www.getfpv.com/frsky-x6r-16ch-receiver-sbus-smart-port.html?utm_source=google_shopping&m=simple&gdffi=747627bc7e464db68e5f529d971aacf3&gdfms=EBCA004CF25B439390407C619ECDDD88&gclid=CjwKEAjw8Jy8BRCE0pOC9qzRhkMSJABC1pvJ-D11VNkM6fFeAWlcDUcWaUZid6t7VAvmaRJ3-hTaLRoCgOPw_wcB

July 1st , 2016

Purchase a FrSky pitot sensor. Just waiting for it to be delivered.

June 30th, 2016

Successful flight test completed. Added some line items above. 3,4,5,6 and 12 and 13

June 27th, 2016

So unfortunate news. The pitot probes are no where to be found now. They are either out of stock or from a sketchy seller. Nemo found one from FrySky but unfortunately we're not sure if that uses some sort of proprietary format.

June 12th, 2016

Finished testing 1 pitot sensor. Need to now purchase all 4 pitot sensors. Note that Drew could not get the GPS shield to work on the MEGA so I may just want to get an UNO. Then again number 9 says test everything with bread boards so we have time.

Monday May 30th, 2016

-Sent MOU to Bill and Sytske so we're all set there. -Nemo is actively working on getting up to speed with all of the different sensors. iMet pitot quad. He has made a circuit diagram (attached)

Wednesday May 25th, 2016

-Just got the MOU in the mail. Need to send to Sytske and upload to Drive -Nghia just made a fritzing diagram. Need to get him on board with pitot sensor and do pinned assignments above.

Monday May 16th, 2016

-Working on sending Wesley stuff (FINISHED!!!!) -Approved the MOU online. Waiting for legal to take care of it.

Wednesday May 11th, 2016

-Just submitted the online form for the MOU. -Got the AMA document

Tuesday May 10th, 2016

-Need to fill out online form for MOU -Once done you need to send AMA insurance document and FAA document -Need to get AMA insurance document -Toss all iMet, Pitot and Iris+ files into drive but make sure to get pitot probe wired up with GPS -Send Wesley link to blog about Qt designer -Next flight test take video and make a youtube video.

Tuesday May 3rd, 2016

Need to call Bill Melton to check on status. Need to find his phone number from avasystem

April 27th, 2016

Still no word from Bill Melton. Will probably call him on Friday Insurance Document apparently is from AMA so I'll need to get that insurance document somehow and forward to Bill as well as the FAA document.

April 25th, 2016

Make a few phone calls Now Calling Jonny Harper Didn't pick up

Calling Bill Melton Currently Approving MOU this morning in an hour and will sign the document this week and send it back asap Insurance Document - Can we get this? - Ask kristin and send her MOU FAA Document - Send that back

April 20th, 2016

1.) Need to as Jake about NOTAM. 2.) Successful flight test. 2.8) Just need to make a few phone calls

April 19th, 2016

1.) I read the FAA document - need to ask Jake about NOTAM. Apparently we can fly whereever we want provided it is within 5 NM of a controlled airport or 2NM from an uncontrolled airport. 2.) Shooting for Wednesday afternoon 2.5) Compiled the document into 1.75. That's pretty good going from 7 pages. 2.8) MOU is in process. Need to make a few phone calls. Don't do 3 or 4. Sytske found it. I just emailed Jake so 2.8 is done.

April 12th, 2016

1.) Read FAA Document 2.) Try and fly either at the school or the municipal park maybe tuesday based on weather (Fly up to 100 m) Can potentially fly here https://www.google.com/maps/place/Dawes+Intermediate+School/@30.6168121,-88.2908962,17z/data=!3m1!4b1!4m2!3m1!1s0x889bb0d72fc8311f:0xd3814c3e9866a2d8 Or maybe just Municipal park when you have time one day and you do it quickly. 2.5) Compile the document into 1.5 page rather than 7 pages put in the new data from the launch 2.8) Email jake about getting the MOU 3.) Look for N-Number Registration of Systke 4.) Monday - Call FAA and ask for update via serial number and Name on form (Look in Drive for N-Number Documents)

March 22nd, 2016

Pre

View on GitHub
GitHub Stars10
CategoryDevelopment
Updated2mo ago
Forks4

Languages

Python

Security Score

75/100

Audited on Feb 4, 2026

No findings