| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
This lets us check a build to make sure it has a maps key
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This ensures that we see each tile getting downloaded and don't
mis-count, which would result in wedging the process
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
aj noticed.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
We never shipped AltosUI which stored mega/mini files in different extensions
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This covers most of the common functions for all flight status display tabs.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This makes AltosUIIndicator capable of displaying most stuff in AltosUI
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Multiple closers can cause a crash by freeing the libaltos device twice
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Don't just inherit the AltosUI ones
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This consumes more memory, but avoids cache conflicts between windows
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
| |
Right now, all of the flight displays have piles of custom code for
displaying values. These new widgets should be able to replace most of
that.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
|
|
| |
Don't update displays which aren't shown; track hierarchy changes to
trigger display from most recent state data.
Don't update values which haven't changed; remember previous values
and compare with new before updating widget contents.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Starting line draw will remove any existing line, so repaint to get
rid of it
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Add AltosFontListener and AltosUnitsListener bits as needed
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Use a single large Canvas and draw images on top by hand.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
So that TeleGPS can share it
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
When height and speed values aren't available, don't say anything
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
| |
This lets TeleGPS just show the battery voltage values without also
adding enable lines for the other flight computer ADC values like
ignitor voltages.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
In case they want more than 5
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Moved the altosui graph files to altosuilib and fixed things up.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
|
| |
Make AltosFlightDisplay explicitly implement AltosFontListener and
AltosUnitsListener interfaces to make everyone use the same API. Then,
actually go implement units listeners so that changing units updates
all of the active displays immediately
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Move a couple of files from altosui to altosuilib, hook up the info
table after changing it to implement the AltosFlightDisplay interface
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Move bits from altosui to altosuilib and use those.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This contains a summary of the tracking info, including position,
speed and course.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Move scan UI bits into altosuilib, allow telegps to not show telemetry
format options.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
| |
altosuilib
All of the bluetooth management stuff, and AltosSerial.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This gets altosui working again.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This lets you specify precisely which maps to load.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This places the actual key outside of the repository, allowing the
user to configure the name of the file containing the key. By default,
this pulls the key from $HOME/altusmetrumllc/google-maps-api-key.
With the key present, there are no longer any rate limits to loading
map data.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
This speeds up loading map images from disk quite a bit, and keeps the
UI responsive while that happens as well.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Use any modifier or button other than the left one to draw a line on
the map. The length of the line is shown at the start of the line.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
| |
Also changes the file format for hybrid, satellite and terrain maps to
jpg to save disk space.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
API has changed for these libraries, time to bump the file versions
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
|
|
|
|
|
| |
memory
Prepare to share with TeleGPS application.
This also has the changes to the site map tile which cache only a few
images and regenerate the flight path on the fly, saving piles of memory
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Add parametric types to avoid unchecked warnings.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
This makes the graphs a lot easier to read.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
|
|
| |
Just cleaning up the source code.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|