Giter VIP home page Giter VIP logo

lp2go's People

Contributors

marcproe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lp2go's Issues

Expo curve

Expo curve

  • Expo for pitch, roll, yaw
  • Sow rates at curve intervals (maybe on-hover at curve point)
  • Allow setting parameters for rates and fitting the curve

java.lang.RuntimeException: Unable to start activity on Xperia Phones

java.lang.RuntimeException: Unable to start activity ComponentInfo{org.librepilot.lp2go.beta/org.librepilot.lp2go.MainActivity}: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.speech.tts.engine.CHECK_TTS_DATA }
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2464)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2524)
    at android.app.ActivityThread.access$900(ActivityThread.java:154)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1391)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:224)
    at android.app.ActivityThread.main(ActivityThread.java:5526)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.speech.tts.engine.CHECK_TTS_DATA }
    at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1805)
    at android.app.Instrumentation.execStartActivity(Instrumentation.java:1514)
    at android.app.Activity.startActivityForResult(Activity.java:3963)
    at android.app.Activity.startActivityForResult(Activity.java:3924)
    at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:842)
    at org.librepilot.lp2go.helper.TextToSpeechHelper.checkForTTS(TextToSpeechHelper.java:47)
    at org.librepilot.lp2go.helper.TextToSpeechHelper.<init>(TextToSpeechHelper.java:36)
    at org.librepilot.lp2go.MainActivity.onCreate(MainActivity.java:452)
    at android.app.Activity.performCreate(Activity.java:6285)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2417)
    ... 9 more

Send waypoint UAVO

Hi,

I'm trying to write a computer program which needs to send different waypoints. I'm using your library but I'm stuck sending the waypoints. (I've been able to send some other things like the HomePosition)

This is the code I'm using to send them:

    private void upload(FcDevice device, Waypoint waypoint, int id) {
        byte data[] = new byte[device.getObjectTree().getXmlObjects().get("Waypoint").getLength()];
        //Adding the new instance
        UAVTalkObjectInstance instance = new UAVTalkObjectInstance(id, data);
        UAVTalkObject waypoints = device.getObjectTree().getObjectFromName("Waypoint");
        waypoints.setInstance(instance);

        //Setting the position of the new instance
        sendField(device, id, "Position", 0, waypoint.lat);
        sendField(device, id, "Position", 1, waypoint.lng);
        sendField(device, id, "Position", 2, -waypoint.alt);
        sendField(device, id, "Velocity", 0, waypoint.velocity);
    }

    private void sendField(FcDevice device, int instanceID, String fieldName, int elementID, double value) {
        byte fieldData[] = ByteBuffer.allocate(4).putFloat((float) value).array();
        device.sendSettingsObject("Waypoint", instanceID, fieldName, elementID, fieldData);
    }

What am I doing wrong? I'm receiving the ACK for each field but I see no change after sending them. Is it because the UAVO is not a "settings" one?

PD: I'm calling the "upload" method with id = 0 and id = 1.

Would love any help!

Cannot install on x86 android tablet

I've got a Chuwi Hi10 Pro tablet (x86_64, Android version 5.1, 4GB RAM, 1920*1200 screen) and trying to install the APK says "install failed"; additionally, Google play says "not compatible", but without any specific reason as to why. Is there a way to build a compatible version, possibly with some functionality disabled? If not, it might be worth at least listing the compatibility assumptions somewhere in the wiki / store page.

Start and save logs

  • start logs on mobile device
  • save logs on mobile device
  • share logs via default android sharing functions

Lp2go device restrictions / cannot install on FireOS tablet

Hi guy's,

I just joined the test today and directly headed into a minor issue. When trying to download the app via the AppStore, Google did not allowed the installation on my android tablet ( play store tells me it's only for phones). I can of cause compile it by myself, but why the restriction at all?

Throttle curve

Curve allowing setting throttle response.

  • Allow adding removing points from the line (spline?)
  • Allow reset to linear relation or some preset patterns with parameters
  • Allow moving around up/down points on the response curve

This is used to flatten middle of the throttle curve to get more accurate control near hover point.

Latitude not correctly shown in OpMap

Oplink connected to a OnePlusOne (CyanoGenMod Android 5), through OTG Cable. Revolution with integrated modem.
3min to get Fix 3D with more than 10 sats.

  • In Ip2Go, longitude is +425.52, but really is -3.97. Disconnected OTG Cable, connected (without turning off the aircraft) the GCS in Windows (same OpLink ground modem)
    and correct coordinates shown.

clipboard01
screenshot_2016-04-14-19-09-17
screenshot_2016-04-14-19-10-08

Just let me know any additional information needed

Capacity + Cells tile

A: I can set values for Capacity & Cells, but the value is not visible after i've set them.

B: in the edit window there are buttons for "update", "cancel" and "save".
Where is the difference between "update" & "save"?

VirtualBoard rotation

It would be really useful for users like me using tilted motors.

I used GCS to change pitch to -14.5 (for my 15 deg tilt mounts) with laptop and gcs, but being able to find the right value in the field would be great.,

Of course this would only work as long as AuxMag is not used, for AuxMag one need to adjust the same angle.

java.lang.NoClassDefFoundError on "wiko" phones

java.lang.NoClassDefFoundError: android.support.v7.view.menu.MenuBuilder
    at android.support.v7.widget.ActionMenuView.getMenu(ActionMenuView.java:642)
    at android.support.v7.widget.Toolbar.ensureMenu(Toolbar.java:864)
    at android.support.v7.widget.Toolbar.getMenu(Toolbar.java:835)
    at android.support.v7.widget.ToolbarWidgetWrapper.getMenu(ToolbarWidgetWrapper.java:691)
    at android.support.v7.app.ToolbarActionBar.getMenu(ToolbarActionBar.java:595)
    at android.support.v7.app.ToolbarActionBar.populateOptionsMenu(ToolbarActionBar.java:447)
    at android.support.v7.app.ToolbarActionBar$1.run(ToolbarActionBar.java:61)
    at android.os.Handler.handleCallback(Handler.java:800)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loop(Looper.java:194)
    at android.app.ActivityThread.main(ActivityThread.java:5391)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:525)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
    at dalvik.system.NativeStart.main(Native Method)

Load UAVO-XML-files dynamically via file chooser dialog

Currently the set of XML-files are included in the APK.
Loading UAVO-XML files on startup dynamically from a filestorage would allow to use the app with different release.
Also, you would not need to update the app specifically with every new release.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.