marcproe / lp2go Goto Github PK
View Code? Open in Web Editor NEWLibrePilot2Go
License: GNU General Public License v3.0
LibrePilot2Go
License: GNU General Public License v3.0
Expo curve
Others are Experimental.
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
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!
will result in bad packets.
Import/Export settings from the FC
Compatible to GCS
add information:
Currently all views are in the MainActivity
Serial Mode
UI Update Interval
BT Default MAC
Map Settings
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.
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?
Curve allowing setting throttle response.
This is used to flatten middle of the throttle curve to get more accurate control near hover point.
If not serial connection is selected or BT is selected but no device
Connect to FC with bluetooth
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.
Just let me know any additional information needed
See all UAVTalk Objects in a tree, similar to GCS
(Basic implementation, no fancy GUI)
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"?
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.
It would be nice, to be able to switch between
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)
Would be really nice to be able to set those from LP2Go
Allow display rotation an display a custom horizontal layout.
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.
select motors size, kv, battery weight, battery cap, cells, total weight, props
upload with PID
Conversion problems with "." and ","
...need to make a new App in GPDC
With dynamic loading, you can never be totally sure if the UAVO used in the app and on the FC match.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.