2016-03-27 16:53:29 +00:00
|
|
|
## Updating telemetry ##
|
|
|
|
|
|
|
|
|
|
- Set callsign in `src/main.c`
|
|
|
|
|
|
|
|
|
|
- Update ukhas format string. `format_telemetry_string` in `src/main.c`
|
|
|
|
|
- Update aprs telemetry.`encode_telemetry` in `src/aprs.c`. This same format is re-used in backlog.
|
|
|
|
|
|
|
|
|
|
- Describe the new formats in `tools/aprs/telemetry_format.py`
|
|
|
|
|
- Run `tools/aprs/equations.py` to setup new format APRS-IS
|
2016-03-14 20:58:39 +00:00
|
|
|
|
2015-07-05 20:20:30 +00:00
|
|
|
## Pre-Flight Checklist ##
|
|
|
|
|
|
|
|
|
|
- In `hw_config.h`
|
|
|
|
|
- `USE_XOSC` is set. Otherwise the symbol timing frequency will be
|
|
|
|
|
somewhat inaccurate.
|
2016-04-02 10:41:28 +00:00
|
|
|
- `XOSC_TCXO_SHUTDOWN_EN` should be set for lowest power if required
|
2016-01-14 20:34:05 +00:00
|
|
|
- `RF_TX_ENABLE` is set
|
2015-07-05 20:20:30 +00:00
|
|
|
- `APRS_ENABLE` is set if APRS is to be used on the flight
|
2015-07-11 19:17:46 +00:00
|
|
|
- `APRS_USE_GEOFENCE` is set
|
2015-10-01 13:24:40 +00:00
|
|
|
- `TELEMETRY_USE_GEOFENCE` is set
|
2016-02-06 17:21:32 +00:00
|
|
|
- `GEOFENCE_USE_PREFIX` is set
|
2016-03-05 14:30:12 +00:00
|
|
|
- Check the `COLD_OUT` parameters. These prevent start-up spikes when the battery may not be viable.
|
2016-01-16 16:50:39 +00:00
|
|
|
- Check the correct barometer is defined, for instance `BAROMETER_TYPE_MS5607` is set.
|
2015-07-05 20:20:30 +00:00
|
|
|
- `DEBUG_USE_INTWATCHDOG` can be disabled during flight. This saves some power
|
2015-07-18 15:55:20 +00:00
|
|
|
- Check interrupts are regular enough to kick the hardware
|
2016-01-16 16:35:13 +00:00
|
|
|
watchdog under all conditions.
|
2015-07-16 20:32:18 +00:00
|
|
|
|
|
|
|
|
- In `watchdog.h`
|
|
|
|
|
- Set the various `MAXIDLE` values to values determined during
|
|
|
|
|
testing. These define how many sleep cycles are permitted in that
|
|
|
|
|
state before we stop kicking the watchdog. 0xFFFF seems like a
|
|
|
|
|
good conservative value, but you may want to be more agressive.
|
2015-07-25 01:20:30 +00:00
|
|
|
|
|
|
|
|
- In `aprs.h`
|
|
|
|
|
- Set callsign and symbol
|
2015-10-10 22:18:46 +00:00
|
|
|
- Make sure `APRS_FLIGHT_PARAMS` is defined
|
2015-07-25 01:20:30 +00:00
|
|
|
|
2016-03-05 14:13:05 +00:00
|
|
|
- In `gps_osp.c`
|
|
|
|
|
- Check reinit parameters for `gps_get_data_wrapped` are reasonable.
|
|
|
|
|
|
2016-01-16 16:35:13 +00:00
|
|
|
- Check memory works and is erased
|
|
|
|
|
- `make test tc=backlog_write_read` Run this more than once to check functionality of a non-blank memory
|
2016-01-19 18:22:14 +00:00
|
|
|
- `make test tc=mem_erase_all`
|
2016-01-16 16:35:13 +00:00
|
|
|
|
|
|
|
|
- Check geofences are in order. Run
|
|
|
|
|
- `make test tc=location_aprs`
|
|
|
|
|
- `make test tc=location_telemetry`
|