0 NotSet
1 Button
2 Encoder (single detent)
3 Output
4 Led Module (deprecated)
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
/*===--------------------------------------------------------------------------------------------=== | |
* xpdata.c | |
* | |
* Created by Amy Parent <[email protected]> | |
* Copyright (c) 2025 Amy Parent. All rights reserved | |
* | |
* Licensed under the MIT License | |
*===--------------------------------------------------------------------------------------------=== | |
*/ | |
#include "xpdata.h" |
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
// | |
// main.cpp | |
// formatter | |
// | |
// Created by Amy Parent on 12/10/2019. | |
// Copyright © 2019 Amy Parent. All rights reserved. | |
// | |
#include <iostream> | |
#include <fstream> |
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
#!/usr/bin/env python3 | |
import numpy as np | |
from matplotlib import pyplot as plt | |
import matplotlib | |
### 130m/s deorbit burn from a 410km*410km orbit ### | |
# | |
# periapsis: -31.87 km | |
# speed at EI: 7870.71 m/s |
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
#!/usr/bin/env python3 | |
import numpy as np | |
from matplotlib import pyplot as plt | |
# Parachute data: | |
# http://www.laboratoridenvol.com/space/gnusoyuz/gnusoyuz.en.html | |
# | |
# Timings | |
# http://russianspaceweb.com/soyuz-ms-10.html#scenario |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <stdint.h> | |
#include <stdbool.h> | |
typedef uint32_t StringID; | |
typedef struct _String String; | |
typedef struct _StringPool StringPool; |
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
fun fibonacci(n: Number) -> Number { | |
if n < 2 { | |
return 1 | |
} | |
return fibonacci(n-2) + fibonacci(n-1) | |
} | |
fun main() -> Void { | |
print("OrbitVM running on " + System.getOS()) | |
print("Fibonacci demo:") |
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
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
country=GB | |
network={ | |
ssid="eduroam" | |
key_mgmt=WPA-EAP | |
identity="ABERTAY STUDENT NO" | |
password="ABERTAY PASSWORD" |
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
declare function neutral { | |
return ship:mass*9.81 / ship:availablethrust. | |
} | |
declare function limits { | |
declare parameter value. | |
return min(max(value, 0), 1.0). | |
} | |
declare function steer_iip { |
NewerOlder