These are chat archives for dronekit/dronekit-android

15th
Oct 2015
Randy Mackay
@rmackay9
Oct 15 2015 07:44
@ne0fhyk, ok, I also noticed that message recently although I'm not sure if it's a recent addition to the protocol or not. I guess we could add support for it, probably better than using rc-overrides because it would allow the vehicle code to see the two input methods (i.e. regular TX/RX and this joystick control) at the same time which would allow better fail-over
I guess you're looking for some way to allow a user to control the vehicle in manual-ish modes (like Loiter, AltHold) from the tablet?
Chevy Hu
@chevyhu
Oct 15 2015 11:21
Hello, I'm newer for DroidPlanner, I download the tower source code , open it with android stutio IDE, but it still not build successfully, Is there some link for how to build the source code useing the android studio?
Chevy Hu
@chevyhu
Oct 15 2015 11:29
Error:(50, 0) Gradle DSL method not found: 'android()'
Possible causes:<ul><li>The project 'Tower-develop' may be using a version of Gradle that does not contain the method.
<a href="openGradleSettings">Gradle settings</a></li><li>The build file may be missing a Gradle plugin.
<a href="apply.gradle.plugin">Apply Gradle plugin</a></li>
How to fix this issue
Error:No cached version listing for com.zeroturnaround.jrebel.android:jr-android-gradle:0.9.+ available for offline mode.
Fredia Huya-Kouadio
@ne0fhyk
Oct 15 2015 18:30
@rmackay9 I'm implementing virtual joystick control using SET_POSITION_TARGET* while in guided mode. For the other modes, I was planning to use ATTITUDE_TARGET for the joystick implementation. These two messages work great for ardupilot, but for other autopilots, since MANUAL_CONTROL is also part of mavlink common, it's a bit ambiguous which one of these messages to fall back on.
Fredia Huya-Kouadio
@ne0fhyk
Oct 15 2015 18:42
Maybe it's just a matter of improving the documentation, and describing all these three messages as ways to support joystick control, but with various level of control and complexity.
@chevyhu it seems your android studio install is in offline mode. Open the preferences, and search for offline work, and disabled it if enabled.
Alejandro Platas Mallo
@jandrop
Oct 15 2015 19:02
I'm working into Spanish Translation and I have a question, when you lost the telemetry text to speech says data link closed connection, where are this string?
Fredia Huya-Kouadio
@ne0fhyk
Oct 15 2015 19:07
@jandrop this string is in the TTSNotificationProvider. The strings in this class are still hardcoded. There's an issue open to fix that: DroidPlanner/Tower#1638.
@jandrop do you want to tackle that issue?
Alejandro Platas Mallo
@jandrop
Oct 15 2015 19:13
@ne0fhyk Yep, I will extract and then translate, I hope it's not a priority
Fredia Huya-Kouadio
@ne0fhyk
Oct 15 2015 19:14
@jandrop cool, and no it's not a priority.
Alejandro Platas Mallo
@jandrop
Oct 15 2015 19:15
@ne0fhyk Ok, then I got it