This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import re | |
| f = open('/home/ultron/Code/ROSflight/src/param.c') | |
| text = f.read() | |
| lines = re.split("\n+", text) | |
| params = [] | |
| i = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <style-scheme version="1.0" name="Acai"> | |
| <style name="Text" foreground="#ffffff" background="#2d2d2d"/> | |
| <style name="Link" foreground="#0055ff"/> | |
| <style name="Selection" foreground="#000000" background="#aaaaaa"/> | |
| <style name="LineNumber" foreground="#888888" background="#232323"/> | |
| <style name="SearchResult" background="#9e004f"/> | |
| <style name="SearchScope" background="#550000"/> | |
| <style name="Parentheses" foreground="#55ff55"/> | |
| <style name="ParenthesesMismatch" background="#ff00ff"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <keymap version="1" name="James" parent="$default"> | |
| <action id="ActivateRunToolWindow"> | |
| <keyboard-shortcut first-keystroke="alt 4" /> | |
| <keyboard-shortcut first-keystroke="ctrl r" /> | |
| </action> | |
| <action id="CheckinProject" /> | |
| <action id="CloseContent"> | |
| <keyboard-shortcut first-keystroke="ctrl w" /> | |
| </action> | |
| <action id="CollapseAll"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| from math import sin, pi, asin, tan, atan | |
| def f(x): | |
| return ((1.0 - pow(x / 101325.0, 0.190284)) * 145366.45) * 0.3048 | |
| def finv(x): | |
| return 101325.0 * (1 - 2.25577 * 10 ** -5 * x) ** 5.25588 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright (c) 2016, James Jackson | |
| # All rights reserved. | |
| # Redistribution and use in source and binary forms, with or without | |
| # modification, are permitted provided that the following conditions are met: | |
| # 1. Redistributions of source code must retain the above copyright notice, this | |
| # list of conditions and the following disclaimer. | |
| # 2. Redistributions in binary form must reproduce the above copyright notice, | |
| # this list of conditions and the following disclaimer in the documentation |
NewerOlder