mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
revisions
This commit is contained in:
parent
357c852a37
commit
04e511326a
2 changed files with 6 additions and 3 deletions
|
|
@ -77,7 +77,7 @@
|
||||||
<p>
|
<p>
|
||||||
Here an example of a classical (home made) ground plane antenna, using an SMA socket and 2 mm copper wire, after calculating the lengths <a href="https://m0ukd.com/calculators/quarter-wave-ground-plane-antenna-calculator/" target="_blank">here</a>:
|
Here an example of a classical (home made) ground plane antenna, using an SMA socket and 2 mm copper wire, after calculating the lengths <a href="https://m0ukd.com/calculators/quarter-wave-ground-plane-antenna-calculator/" target="_blank">here</a>:
|
||||||
<p>
|
<p>
|
||||||
<img src="img/ground-plane.jpg" height=270>
|
<img src="img/ground-plane.jpg" height=220>
|
||||||
<p><small><i>Can easily be trimmed by making the vertical wire a little too long, and cutting off one mm after another until it matches perfectly, while having it attached to a NanoVNA.</i></small></p>
|
<p><small><i>Can easily be trimmed by making the vertical wire a little too long, and cutting off one mm after another until it matches perfectly, while having it attached to a NanoVNA.</i></small></p>
|
||||||
<br>
|
<br>
|
||||||
<h2>Line of Sight</h2>
|
<h2>Line of Sight</h2>
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,8 @@ public class MeActivity extends QtActivity
|
||||||
{
|
{
|
||||||
public static native void qtUsbDeviceAttached();
|
public static native void qtUsbDeviceAttached();
|
||||||
|
|
||||||
|
// GPS
|
||||||
|
|
||||||
// location hack: needed to not lose initial position with non moving
|
// location hack: needed to not lose initial position with non moving
|
||||||
// devices (on android Qt seems not to capture inital location values)
|
// devices (on android Qt seems not to capture inital location values)
|
||||||
|
|
||||||
|
|
@ -21,8 +23,7 @@ public class MeActivity extends QtActivity
|
||||||
public double position_alt = 0.0;
|
public double position_alt = 0.0;
|
||||||
public long position_time = 0;
|
public long position_time = 0;
|
||||||
|
|
||||||
public void iniLocation()
|
public void iniLocation() {
|
||||||
{
|
|
||||||
LocationListener mLocationListenerGPS = new LocationListener() {
|
LocationListener mLocationListenerGPS = new LocationListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onLocationChanged(android.location.Location location) {
|
public void onLocationChanged(android.location.Location location) {
|
||||||
|
|
@ -42,6 +43,8 @@ public class MeActivity extends QtActivity
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// USB
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onNewIntent(Intent intent) {
|
protected void onNewIntent(Intent intent) {
|
||||||
if ("android.hardware.usb.action.USB_DEVICE_ATTACHED".equals(intent.getAction())) {
|
if ("android.hardware.usb.action.USB_DEVICE_ATTACHED".equals(intent.getAction())) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue