Skip to content

Instantly share code, notes, and snippets.

@alexmi256
alexmi256 / BTFL_cli_Mobula7_1S_DIFF.txt
Created June 15, 2023 13:34
Mobula7 Initial diff
diff
###WARNING: NO CUSTOM DEFAULTS FOUND###
# version
# Betaflight / STM32F411SX1280 (S4SX) 4.3.1 Jul 13 2022 / 03:33:32 (8d4f005) MSP API: 1.44
###ERROR IN diff: NO CONFIG FOUND###
# start the command batch
batch start
board_name CRAZYBEEF4SX1280
@alexmi256
alexmi256 / mobula7 betaflight update issues.md
Last active June 15, 2023 15:39
mobula7 betaflight update issues

I'm running into similar issues trying to update my Mobula7 from Betaflight 4.3.1 to 4.4.2 also using a Radiomaster Zorro. My original diff all and after update diff all are quite different and restoring mostly complains about the following:

# resource PPM 1 A03
###ERROR IN resource: INVALID RESOURCE NAME: 'PPM'###
# resource PWM 1 A02
###ERROR IN resource: INVALID RESOURCE NAME: 'PWM'###
# resource PWM 2 A09
###ERROR IN resource: INVALID RESOURCE NAME: 'PWM'###
# resource PWM 3 A10
@alexmi256
alexmi256 / Shrink GeoJSON Arrtibute Properties.md
Created April 15, 2024 02:02
Shrink GeoJSON Arrtibute Properties

What

I wanted to extract buildings from OpenStreetMaps so I can display them on a map using Folium/Leaflet.

The first recommendation online was to use QGIS with the QuickOSM plugin.

While this was annoying to do via the QuickOSM GUI (I should've downloaded the files locally and used SQL) I was able to output a GeoJSON file of buildings.

Unfortunately, due to data quality issues and the format QGIS outputs, I had a ton of null feature properties that I wanted to get rid of.

How