| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
Our server only supports hybrid maps for now. If that changes, we can
re-add this support easily enough.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
This lets us add functionality to this directly, such as the new
serializable APIs.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
Remove them from the options menu, handle all preferences through
listeners.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
This adds three idle mode operations -- monitor idle, reboot flight
computer and test igniters. The igniter test isn't quite wired up.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
Some android devices always have change-sign and decimal-point keys
visible, but some do not. Make sure they're available for lat/lon input.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
Fuss with weights and gravitys, then add some wrapping layouts to get
things looking reasonable on small and larger screens.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
Show the first four igniters (A-D) in the pad tab. Make pad and flight
layouts look a bit better
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
This lets you get the specific area requested at all zoom levels,
rather than having further detail only at lower resolution zooms.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
| |
This takes the bearing to target and current direction of motion (from
the Android API) and computes a turn amount and displays that so you
don't have to know which way is north when walking towards the rocket.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Ascent and descent were almost the same; no reason to have both.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
The offline tab did both, so delete the online one and replace it with
the offline one.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
Make the map portion switchable between online and offline maps,
leaving the rest of the tab alone.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Not hooked up yet.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Helpful to determine when the receiver battery is getting low
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
This gives us the menu button, which is awfully useful on devices
without a hardware version...
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
|
| |
This lets us use the regular layout configuration bits in the .xml
file instead of needing to patch the map object into the display. That
was causing problems when re-entering the map tab as the map view
would somehow end up with a zero width.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
This adds an ugly dialog to select which maps to preload, and also
adds the ability to display other map types.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
|
| |
With a newer android API versions, we can set the indicator to a View
instead of just a string. This lets us wrap the desired string in a
TextView and show just that for the indicator, making it exactly the
right size.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
This lets AltosDroid use a USB-connected receiver as well as Bluetooth devices.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
|
|
| |
This adds an explicit message to the telemetry service telling it when
to stop trying to talk to the bluetooth device. Until this message is
received, the service will reconnect to the specified BT device.
That message is sent when you 'quit' the application, or when you 'disconnect'.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
Provides a menu entry to switch units, changes all value displays to
use the AltosLib units conversion code.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
|
| |
Instead of having separate messages for each piece of telemetry state,
package the whole mess up in one object and send it for any
change. This simplifies tracking within the UI by avoiding corner
cases during reconnect.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
| |
Add a quit button to menu.
When restarting, reconnect to previous device.
When connecting, set the freq/rate to previous values.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Provides a menu to select the receiver telemetry bit rate
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
| |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| |
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
When displaying numbers, check for MISSING values and display nothing
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
|
|
| |
This allows the receiver location to be displayed even when telemetry
is not.
Center the map on the first valid location, either receiver or
rocket. Update center if a significantly more precise location is received.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Shrink everything to fit on phones, then add phone location to the map tab
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Yes, this is a hack; will try to figure out how to make it resizeable
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
| |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| |
|
|
|
|
|
|
| |
* Allows reliable fetching of a GoogleMap handle.
* Set map options, initial location (NCR North for now, temporarily)
* Add some info fields below map, and update them accordingly
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| |
|
|
| |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| |
|
|
| |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| |
|
|
|
|
|
|
|
|
| |
* Includes TabsAdapter class borrowed from Support Library sample code
* New "GoNoGoLights" class for dealing with the red/green/gray LEDs
* extra required strings in strings.xml
* Couple of support functions in AltosDroid.java
* rudimentary Maps tab - does nothing at present.
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| |
|
|
| |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| |
|
|
|
|
| |
(damn my OCD!)
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| |
|
|
| |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| |
|
|
| |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| |
|
|
| |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| |
|
|
|
|
| |
Also implement Service IPC to action request.
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| |
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
| |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| |
|
|
| |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| |
|
|
|
|
| |
(Matches altoslib, altosui, altos)
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| |
|
|
| |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| |
|
|
| |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|