Software that supports RIT Launch Initiative's High Altitude Balloon team
The geofences_writer.py script allows you to write geofence data to an SD card in the binary format expected by the balloon software.
Interactive Mode:
python geofences_writer.pyJSON Mode:
python geofences_writer.py --json geofences.jsonSpecify SD Card Path:
python geofences_writer.py --json geofences.json --path /media/sdcardSee geofences_example.json for the expected format:
{
"geofences": [
{
"latitude": 43.084,
"longitude": -77.676,
"radiusMeters": 1000
},
{
"latitude": 43.085,
"longitude": -77.677,
"radiusMeters": 500
}
]
}The script supports automatic SD card detection on:
- Windows: Detects removable drives (D:, E:, etc.)
- Linux: Checks
/mediaand/mntmount points - macOS: Checks
/Volumesmount points
You can also manually specify the path using the --path option.