Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
7eaa576
Initialize coordinate in Land default constructor
arashn Apr 13, 2016
fe4182e
Fixed issue with setting coordinate
arashn Apr 13, 2016
78018a1
Update the tracker id for google analytics
m4gr3d Apr 18, 2016
d482db2
Add the repo organization to the bintray upload configuration
m4gr3d Apr 19, 2016
d9430ac
Merge pull request #387 from dronekit/release-1.5.3
m4gr3d Apr 19, 2016
b67af3e
Merge pull request #399 from arashn/develop
m4gr3d Apr 19, 2016
669e3f9
Merge pull request #402 from dronekit/analytics_update
m4gr3d Apr 21, 2016
9fa4db1
Merge pull request #1 from dronekit/develop
kellyschrock Apr 22, 2016
21dd1f9
Fix the build path for the generated mavlink jar file
m4gr3d Apr 28, 2016
59fbd18
Update package for the Tower library
m4gr3d Apr 28, 2016
6d95282
Start fixing path issues
m4gr3d May 9, 2016
d208232
Continue fixe of path issues
m4gr3d May 9, 2016
43bfb80
Continue fixes of path issues
m4gr3d May 13, 2016
a859a66
Update the client library manifest file to incorporate the newly adde…
m4gr3d May 13, 2016
7bd4a36
Clean gradle build files
m4gr3d May 13, 2016
fe37c5a
Fix quote character in the javadocs
m4gr3d May 17, 2016
7238feb
Update the gradle build files to exclude the implementation logic
m4gr3d May 18, 2016
8f62427
Update the connection logic for the ControlTower instance. The new lo…
m4gr3d May 18, 2016
7fe2788
Revert to original package name for compatibility
m4gr3d May 18, 2016
1f5141d
Fix package name
m4gr3d May 18, 2016
568d367
Clean Tower-lib project
m4gr3d May 18, 2016
0dd57a7
Update bintray maven repo configuration
m4gr3d May 18, 2016
43730ee
Update maven publishing logic in order to fix incomplete pom file
m4gr3d May 19, 2016
3dabfcc
Move the usb serial android library to jcenter
m4gr3d May 19, 2016
1c1b7bd
Disable provider instance
m4gr3d May 19, 2016
0f31f5d
Remove analytics libraries
m4gr3d May 20, 2016
95f6cda
Remove the fabric plugin
m4gr3d May 20, 2016
c301094
Bump version build
m4gr3d May 20, 2016
7b1e57c
Remove usb-serial-for-android project
m4gr3d May 20, 2016
7150596
Move Timber initialization outside of the library
m4gr3d May 21, 2016
69cf224
Remove deprecated methods
m4gr3d May 21, 2016
a7f9897
Bump version build
m4gr3d May 21, 2016
e63ee9e
Remove unused variable
m4gr3d May 21, 2016
4de9e4e
Bump version build
m4gr3d May 22, 2016
b89e7ae
Move the utility methods to publish the tower-lib to the maven-push g…
m4gr3d May 22, 2016
af97049
Remove unused activity from the library
m4gr3d May 29, 2016
8aa313d
Increase max heap size from 2g to 4g
m4gr3d Jun 9, 2016
055bba7
Move handling of the IApiListener handle to the ControlTower class
m4gr3d Jun 12, 2016
8dffe0c
Update the storage location for the tlogs file
m4gr3d Jun 12, 2016
c6ce7d8
Bump the client lib version
m4gr3d Jun 12, 2016
680570d
Add utility methods to parse tlog files
m4gr3d Jun 13, 2016
771886c
Bump client library version
m4gr3d Jun 13, 2016
937bd2f
Serialize the TLogParser.Event class
m4gr3d Jun 17, 2016
2bec09e
Bump client lib version
m4gr3d Jun 17, 2016
b45108c
Cleanup gradle config files
m4gr3d Jun 21, 2016
9b4accd
Update maven upload script to disable auto publishing and enable over…
m4gr3d Jun 21, 2016
aeafca0
Update build version number
m4gr3d Jun 21, 2016
ecc10f2
FollowApi -- Allow external locations
kellyschrock Jun 22, 2016
a400510
Filter out todo.txt
kellyschrock Jun 22, 2016
d49590c
Change Follow location source specifier
kellyschrock Jun 22, 2016
baf1531
Change updateFollowParams() to accept location source
kellyschrock Jun 22, 2016
4068455
Remove FollowLocation
kellyschrock Jun 22, 2016
a2f2e5f
Update use of mLocationUpdatesEnabled flag
kellyschrock Jun 22, 2016
c0e617b
update gradle version
phmagic Jun 23, 2016
8151ddc
Updates per CR comments
kellyschrock Jun 23, 2016
6912ec0
Consolidate Location processing
kellyschrock Jun 24, 2016
b2ad938
Add ability to lock copter yaw during a survey
TShapinsky Jun 24, 2016
9387369
Updates per CR comments
kellyschrock Jun 25, 2016
3b40161
Address Freddy's complaints
TShapinsky Jun 25, 2016
263988e
Update javadoc and remove extraneous method
TShapinsky Jun 25, 2016
3a88d4a
Merge pull request #412 from TShapinsky/Survey-Yaw
m4gr3d Jun 25, 2016
2498013
Merge branch 'develop' of github.com:dronekit/dronekit-android into v…
Jun 28, 2016
0e51490
Merge pull request #410 from kellyschrock/followapi_update_location
m4gr3d Jul 1, 2016
c6f8f49
Merge branches 'develop' and 'version_3.0' of github.com:dronekit/dro…
m4gr3d Jul 1, 2016
6b7a5be
Merge branches 'develop' and 'version_3.0' of github.com:dronekit/dro…
m4gr3d Jul 1, 2016
c2fc3f5
Merge branches 'develop' and 'version_3.0' of github.com:dronekit/dro…
m4gr3d Jul 1, 2016
64a650e
Bump the client lib version
m4gr3d Jul 1, 2016
981bcc2
Update `Mission` class equals and hashCode methods
m4gr3d Jul 5, 2016
b343b8c
Clean miscellaneous issues
m4gr3d Jul 5, 2016
f8c9b73
Bump client library version
m4gr3d Jul 5, 2016
a9afd4b
Override equals() and hashCode() methods for the TLogParser.Event class
m4gr3d Jul 10, 2016
62570bc
Bump alpha version for the client library
m4gr3d Jul 10, 2016
4e9ba1d
Add the camera info for the Parrot Sequoia RGB and Monochrome cameras
m4gr3d Jul 18, 2016
00305fa
Merge pull request #414 from dronekit/sequoia_support
m4gr3d Jul 18, 2016
5719dca
Added new shot messages for Pano and Zipline
phmagic Jul 18, 2016
99e37ce
Update Pano messages
phmagic Jul 21, 2016
ee0dd3c
Add more functionality to the TLogParser.TLogIterator class
m4gr3d Jul 21, 2016
29659b4
Remove unused logic
m4gr3d Jul 21, 2016
1d5f406
Move the tlog logging file info to the connection parameter
m4gr3d Jul 24, 2016
4c96a75
Update tlog logging uri source
m4gr3d Jul 24, 2016
d92d76b
Refactor codebase to account for the update
m4gr3d Jul 24, 2016
ed8a3ca
Bump client library version
m4gr3d Jul 24, 2016
89425a8
added Return To Me home point message
phmagic Jul 24, 2016
422c0ed
Code cleanup
m4gr3d Jul 25, 2016
00a2565
Fix location update npe bug
m4gr3d Jul 25, 2016
8630d89
Updated based on PR comments
phmagic Jul 25, 2016
7e809ef
Updated per PR review
phmagic Jul 26, 2016
5334850
Merge pull request #416 from phmagic/new-shots
m4gr3d Jul 26, 2016
7deaf80
Added comments for javadoc
phmagic Jul 26, 2016
9fa9d69
Merge pull request #417 from phmagic/new-shots
m4gr3d Jul 26, 2016
9e4ad78
Merge branches 'develop' and 'version_3.0' of github.com:dronekit/dro…
m4gr3d Jul 26, 2016
e306d5c
Pass the tlog logging information when converting from a udp connecti…
m4gr3d Jul 26, 2016
4e52e30
Merge pull request #418 from dronekit/update_tlog_logging_logic
m4gr3d Jul 26, 2016
d086de6
Add logic to buffer / dispatch drone events
m4gr3d Jul 26, 2016
5ac9131
Remove DroneEvents buffering/dispatching logic
m4gr3d Jul 26, 2016
5888efc
LocationRelay improvement
kellyschrock Jul 26, 2016
973b188
Remove unused classes
m4gr3d Jul 26, 2016
80d5285
Update per PR comments
kellyschrock Jul 26, 2016
b3101db
Merge pull request #420 from kellyschrock/locationrelay_fix
m4gr3d Jul 27, 2016
44dd0ec
Merge branches 'develop' and 'version_3.0' of github.com:dronekit/dro…
m4gr3d Jul 27, 2016
54a3391
Merge branch 'version_3.0' of github.com:dronekit/dronekit-android in…
m4gr3d Jul 27, 2016
a2cf833
Add new connection parameter factory methods to allow specification o…
m4gr3d Jul 27, 2016
f162c12
Remove completed todos
m4gr3d Jul 28, 2016
3bace43
Use MAV_FRAME.MAV_FRAME_GLOBAL_RELATIVE_ALT as frame parameter to fix…
m4gr3d Jul 28, 2016
bcb5440
Fix issue with detecting drone disconnect events
m4gr3d Aug 3, 2016
6a8be05
Bump client lib version
m4gr3d Aug 3, 2016
157f8e1
Add support for compass calibration on solo and arducopter/plane v3.4+
m4gr3d Aug 8, 2016
e80eba6
Fix filtering and ordering issue with the telemetry events dispatchin…
m4gr3d Aug 8, 2016
47d94f8
Update travis configuration
m4gr3d Aug 8, 2016
63dfdd0
Update travis configuration
m4gr3d Aug 8, 2016
acc8edd
Update travis configuration
m4gr3d Aug 8, 2016
28b4ce3
Merge pull request #423 from dronekit/support_compass_calibration
m4gr3d Aug 8, 2016
6878ece
Create Canon S90.xml
flo-vienna Aug 8, 2016
6527a37
Merge branches 'fix_guided_mode' and 'version_3.0' of github.com:dron…
m4gr3d Aug 10, 2016
aa9ce0e
Merge pull request #425 from flo-vienna/patch-1
m4gr3d Aug 10, 2016
de41fbf
Merge pull request #426 from dronekit/fix_guided_mode
m4gr3d Aug 10, 2016
03421b6
Merge branches 'develop' and 'version_3.0' of github.com:dronekit/dro…
m4gr3d Aug 10, 2016
beaf688
Bump the client library version
m4gr3d Aug 10, 2016
5d43a57
Set correctly the pitch value for the takeoff mission item
m4gr3d Aug 10, 2016
d276086
Merge pull request #427 from dronekit/fix_takeoff_pitch_param
m4gr3d Aug 11, 2016
ab5f10e
Add new api to save a mission object to a uri
m4gr3d Aug 14, 2016
3ed5164
Remove ambiguity between the client-lib Mission class and the core Mi…
m4gr3d Aug 14, 2016
35ee2db
Complete save/load sub routines implementation.
m4gr3d Aug 14, 2016
10eb085
Set save/load operations to the current format for testing
m4gr3d Aug 14, 2016
7063810
Add utility method to load and set the mission in one fell swoop
m4gr3d Aug 14, 2016
984a48b
Made the loadMission methods asynchronous
m4gr3d Aug 14, 2016
680d051
Change the mission save file format.
m4gr3d Aug 14, 2016
dd7c54d
Added file extension utility methods
m4gr3d Aug 14, 2016
7e227fb
Update how the uri is passed over the aidl bridge
m4gr3d Aug 14, 2016
80b8c6d
Fix invalid vehicle type issue
m4gr3d Aug 15, 2016
c1ceb51
Improved uri handling method
m4gr3d Aug 16, 2016
0e097f0
Fix crash bug when editing certain plane parameters
m4gr3d Aug 16, 2016
5e2ac24
Merge pull request #428 from dronekit/add_load_save_mission
m4gr3d Aug 17, 2016
b6c1a4a
Expand parameter range for the MathUtils.simplify(...) method
m4gr3d Aug 18, 2016
38194ac
Bump client lib version
m4gr3d Aug 18, 2016
bc57531
Merge pull request #430 from dronekit/misc_bug_fixes
m4gr3d Aug 20, 2016
df8f6da
Bump client lib version
m4gr3d Aug 21, 2016
8a389a6
Upgrade the build tools
m4gr3d Aug 21, 2016
6856080
Revert gradle tools upgrade
m4gr3d Aug 21, 2016
6281df2
Revert gradle tools upgrade
m4gr3d Aug 21, 2016
4a6274a
Parameter loading bug fix
m4gr3d Aug 21, 2016
5b0c1a3
Client lib version bump
m4gr3d Aug 21, 2016
761301f
Update the MavLinkConnection connect method to allow specification of…
m4gr3d Aug 28, 2016
df3f405
Add logic to bind the opened socket to the correct network
m4gr3d Aug 28, 2016
056bb0b
Add support for network binding to the remaining ip connection implem…
m4gr3d Aug 28, 2016
b1dc811
Update the timestamp format
m4gr3d Aug 28, 2016
1bf157e
Add a guard for setting the events dispatch rate
m4gr3d Aug 29, 2016
261e9b8
Add reflection access to Network#bindSocket(DatagramSocket) for devic…
m4gr3d Aug 29, 2016
7951ab7
Fix typo
m4gr3d Aug 29, 2016
0e08a62
Bug fixes
m4gr3d Aug 29, 2016
431d821
Fix invalid network binding logic for the ssh connection.
m4gr3d Aug 29, 2016
5000546
Bump client library beta version
m4gr3d Aug 29, 2016
0012136
Merge pull request #433 from dronekit/network_binding_setup
m4gr3d Aug 29, 2016
839e386
Bump client library version
m4gr3d Aug 29, 2016
36ebabe
Issue: the conversion of a UDP connection to a Solo connection did no…
phmagic Aug 29, 2016
f16ca99
Merge pull request #434 from phmagic/phu/solo_eventDispatchPeriod_fix
m4gr3d Aug 29, 2016
52f1483
Remove unused resources
m4gr3d Aug 31, 2016
77829ab
Merge remote-tracking branch 'origin/version_3.0' into version_3.0
m4gr3d Aug 31, 2016
c074a75
Bump the client library version for the rc.
m4gr3d Aug 31, 2016
d32d84b
Disable event buffering by default
m4gr3d Aug 31, 2016
2111280
Remove unused support lib dep
m4gr3d Aug 31, 2016
d039749
Bump client lib version.
m4gr3d Sep 1, 2016
3b46b71
Fix parameter refresh after upload to vehicle
m4gr3d Sep 2, 2016
2da149b
Bump client library
m4gr3d Sep 2, 2016
c6f4503
Fix parameter update notification
m4gr3d Sep 2, 2016
095ce9e
Bump client library version
m4gr3d Sep 5, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,7 @@ crashlytics.properties
.vagrant/

# Fabric (crashlytics)
fabric.properties
fabric.properties

todo.txt

2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ android:
before_script:
- export GRADLE_OPTS="-XX:MaxPermSize=2048m -Xmx1536m"

script: ./gradlew cleanJar clean testDevDebug assembleDevDebug -PdisablePreDex
script: ./gradlew cleanJar clean testDebug assembleDebug -PdisablePreDex

after_success:
- chmod a+x .utility/push-docs-to-gh-pages.sh
Expand Down
File renamed without changes
File renamed without changes
89 changes: 81 additions & 8 deletions ClientLib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,28 +1,50 @@
apply plugin: 'com.android.library'
apply plugin: 'com.getkeepsafe.dexcount'

ext {
VERSION_MAJOR = 2
VERSION_MINOR = 9
VERSION_PATCH = 0
VERSION_MAJOR = 3
VERSION_MINOR = 0
VERSION_PATCH = 1
VERSION_SUFFIX = "release"

PUBLISH_ARTIFACT_ID = 'dronekit-android'
PUBLISH_VERSION = generateVersionName("", VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, VERSION_SUFFIX)
PUBLISH_VERSION_CODE = computeVersionCode(VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH)
PROJECT_DESCRIPTION = "Android DroneKit client library."
PROJECT_LABELS = ['3DR', '3DR Services', 'DroneAPI', 'Android', 'DroneKit']
PROJECT_LICENSES = ['Apache-2.0']
PROJECT_LABELS = ['DroneCode', '3DR', 'Tower', 'DroneAPI', 'Android', 'DroneKit', '3DR Services']
PROJECT_LICENSE = 'The Apache Software License, Version 2.0'
PROJECT_LICENSE_URL = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
PROJECT_LICENSE_DISTRIBUTION = 'repo'
}

//Log levels values
def logLevelVerbose = 2;
def logLevelDebug = 3;
def logLevelInfo = 4;
def logLevelWarn = 5;
def logLevelError = 6;
def logLevelAssert = 7;

android {
compileSdkVersion android_build_sdk_version
buildToolsVersion android_build_tools_version

dexOptions {
javaMaxHeapSize "4g"
}

defaultConfig {
minSdkVersion android_build_min_sdk_version
targetSdkVersion android_build_target_sdk_version

versionCode PUBLISH_VERSION_CODE
versionName PUBLISH_VERSION

//Build config fields
buildConfigField "boolean", "SITL_DEBUG", "false"
buildConfigField "String", "SOLO_LINK_IP", getSoloLinkIp()
buildConfigField "boolean", "WRITE_LOG_FILE", "false"
buildConfigField "int", "LOG_FILE_LEVEL", "$logLevelDebug"
}

sourceSets {
Expand Down Expand Up @@ -52,16 +74,67 @@ android {
}
}
}

buildTypes {
debug {
debuggable true
buildConfigField "boolean", "WRITE_LOG_FILE", "true"
}

sitl {
debuggable true
buildConfigField "String", "SOLO_LINK_IP", getLocalIp()
buildConfigField "boolean", "SITL_DEBUG", "true"
}

release {
}
}

testOptions {
unitTests.returnDefaultValues = true
}
}

dependencies {
compile "com.android.support:support-v4:${support_lib_version}"
compile 'com.jakewharton.timber:timber:3.1.0'

compile "com.google.android.gms:play-services-base:${play_services_version}"
compile "com.google.android.gms:play-services-location:${play_services_version}"

//Java semver library
compile 'com.github.zafarkhaja:java-semver:0.9.0'

compile 'com.jcraft:jsch:0.1.51'

//MP4 generation library
compile 'com.googlecode.mp4parser:isoparser:1.1.7'

compile 'org.droidplanner.android:usb-serial-android:0.1.0'

debugCompile project(':Mavlink')
releaseCompile files('libs/Mavlink.jar')
// sitlCompile project(':Mavlink')

compile files('libs/Mavlink.jar')
compile files('libs/d2xx.jar')

androidTestCompile 'junit:junit:4.12'
androidTestCompile "org.robolectric:robolectric:3.0"
}

def getSoloLinkIp() {
return '\"10.1.1.10\"'
}

def getLocalIp() {
try {
return '\"' + InetAddress.getLocalHost().getCanonicalHostName() + '\"'
}catch(Exception e){
return '\"\"'
}
}

evaluationDependsOn ':Mavlink'
assemble.dependsOn ':Mavlink:jar'

apply from: "../release_android_library.gradle"
apply from: "$projectDir/maven-push.gradle"
File renamed without changes.
128 changes: 128 additions & 0 deletions ClientLib/maven-push.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
apply plugin: 'maven'
apply plugin: 'signing'

def projectGroupId = 'com.o3dr.android'
def projectArtifactId = project.PUBLISH_ARTIFACT_ID
def projectVersion = project.PUBLISH_VERSION
def projectDescription = project.PROJECT_DESCRIPTION
def projectLabels = project.PROJECT_LABELS
def projectLicense = project.PROJECT_LICENSE
def projectLicenseUrl = project.PROJECT_LICENSE_URL
def projectLicenseDistribution = project.PROJECT_LICENSE_DISTRIBUTION

def getMavenOrg(){
return hasProperty('COM_O3DR_MAVEN_ORG') ? COM_O3DR_MAVEN_ORG : ''
}

def getMavenPublishUrl(String artifactId){
def prefix = hasProperty('COM_O3DR_MAVEN_PUBLISH_URL_PREFIX') ? COM_O3DR_MAVEN_PUBLISH_URL_PREFIX : null
if(prefix == null)
return null

return "$prefix/$artifactId/;publish=0;override=1"
}

def getMavenPomPackaging(){
return hasProperty('COM_O3DR_MAVEN_POM_PACKAGING') ? COM_O3DR_MAVEN_POM_PACKAGING : 'aar'
}

def getDeveloperId(){
return hasProperty('DEVELOPER_ID') ? DEVELOPER_ID : ''
}

def getDeveloperName(){
return hasProperty('DEVELOPER_NAME') ? DEVELOPER_NAME : ''
}

afterEvaluate { project ->
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }

pom.groupId = projectGroupId
pom.artifactId = projectArtifactId
pom.version = projectVersion

repository(url: getMavenPublishUrl(projectArtifactId)) {
authentication(userName: getMavenUsername(), password: getMavenApiKey())
}

pom.project {
name projectArtifactId
packaging getMavenPomPackaging()
description projectDescription

url 'https://github.com/dronekit/dronekit-android'
scm {
url 'https://github.com/dronekit/dronekit-android'
connection 'scm:git:[email protected]:dronekit/dronekit-android.git'
developerConnection 'scm:git:[email protected]:dronekit/dronekit-android.git'
}

licenses {
license {
name projectLicense
url projectLicenseUrl
distribution projectLicenseDistribution
}
}

developers {
developer {
id getDeveloperId()
name getDeveloperName()
}
}
}
}
}
}

signing {
required { gradle.taskGraph.hasTask("uploadArchives") }
sign configurations.archives
}

task androidJavadocs(type: Javadoc) {
failOnError false

//Add the project java source directory.
def files = [android.sourceSets.main.java.srcDirs]

//Add the java source directories for the project's dependencies
configurations.compile.dependencies.each {
if (it instanceof ProjectDependency) {
def dependency = it as ProjectDependency
def depProj = dependency.getDependencyProject()
def projName = depProj.getName()
if(projName != "Mavlink") {
files += depProj.android.sourceSets.main.java.srcDirs
}
}
}

source = files
title = projectDescription
exclude '**/*.aidl', 'org/droidplanner/services/android/impl/**'
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
options.links("http://docs.oracle.com/javase/7/docs/api/")
options.links("https://developer.android.com/reference/packages.html")
}

task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs){
classifier = 'javadoc'
from androidJavadocs.destinationDir
}

task androidSourcesJar(type: Jar){
classifier = 'sources'
from android.sourceSets.main.java.srcDirs
exclude 'org/droidplanner/services/android/impl/**'
}

artifacts {
archives androidSourcesJar
archives androidJavadocsJar
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
import com.o3dr.services.android.lib.model.AbstractCommandListener;
import com.o3dr.services.android.lib.model.action.Action;

import org.droidplanner.services.android.mock.MockDrone;
import org.junit.Assert;
import junit.framework.Assert;

import org.droidplanner.services.android.impl.mock.MockDrone;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricGradleTestRunner;
Expand All @@ -24,7 +25,7 @@
* Created by Fredia Huya-Kouadio on 10/23/15.
*/
@RunWith(RobolectricGradleTestRunner.class)
@Config(constants = org.droidplanner.services.android.BuildConfig.class, sdk = 18)
@Config(constants = com.o3dr.android.client.BuildConfig.class, sdk = 18)
public class ControlApiTest {

private static final SparseArray<float[][]> expectedVelocitiesPerAttitude = new SparseArray<>();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.droidplanner.services.android;
package org.droidplanner.services.android.impl;

import android.content.Context;
import android.os.Bundle;
Expand All @@ -8,25 +8,28 @@
import com.MAVLink.Messages.MAVLinkMessage;
import com.MAVLink.common.msg_command_long;
import com.MAVLink.enums.MAV_CMD;
import com.o3dr.android.client.BuildConfig;
import com.o3dr.services.android.lib.drone.connection.ConnectionParameter;
import com.o3dr.services.android.lib.gcs.link.LinkConnectionStatus;

import org.droidplanner.services.android.communication.model.DataLink;
import org.droidplanner.services.android.core.MAVLink.MavLinkCommands;
import org.droidplanner.services.android.core.drone.LogMessageListener;
import org.droidplanner.services.android.core.drone.autopilot.MavLinkDrone;
import org.droidplanner.services.android.core.drone.autopilot.apm.ArduCopter;
import org.droidplanner.services.android.core.firmware.FirmwareType;
import org.droidplanner.services.android.mock.MockMAVLinkClient;
import org.droidplanner.services.android.utils.AndroidApWarningParser;
import org.junit.Assert;
import org.junit.Before;

import org.droidplanner.services.android.impl.communication.model.DataLink;
import org.droidplanner.services.android.impl.core.MAVLink.MavLinkCommands;
import org.droidplanner.services.android.impl.core.drone.LogMessageListener;
import org.droidplanner.services.android.impl.core.drone.autopilot.MavLinkDrone;
import org.droidplanner.services.android.impl.core.drone.autopilot.apm.ArduCopter;
import org.droidplanner.services.android.impl.core.firmware.FirmwareType;
import org.droidplanner.services.android.impl.mock.MockMAVLinkClient;
import org.droidplanner.services.android.impl.utils.AndroidApWarningParser;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricGradleTestRunner;
import org.robolectric.RuntimeEnvironment;
import org.robolectric.annotation.Config;


/**
* Created by djmedina on 3/5/15.
* This is a simple test case.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.droidplanner.services.android.core.drone.autopilot.apm;
package org.droidplanner.services.android.impl.core.drone.autopilot.apm;

import com.github.zafarkhaja.semver.Version;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.droidplanner.services.android.core.helpers.coordinates;
package org.droidplanner.services.android.impl.core.helpers.coordinates;

import com.o3dr.services.android.lib.coordinate.LatLong;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.droidplanner.services.android.core.helpers.coordinates;
package org.droidplanner.services.android.impl.core.helpers.coordinates;

import com.o3dr.services.android.lib.coordinate.LatLong;
import com.o3dr.services.android.lib.coordinate.LatLongAlt;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.droidplanner.services.android.core.helpers.coordinates;
package org.droidplanner.services.android.impl.core.helpers.coordinates;

import com.o3dr.services.android.lib.coordinate.LatLong;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package org.droidplanner.services.android.core.helpers.geoTools;
package org.droidplanner.services.android.impl.core.helpers.geoTools;

import com.o3dr.services.android.lib.coordinate.LatLong;
import com.o3dr.services.android.lib.coordinate.LatLongAlt;

import junit.framework.TestCase;

import org.droidplanner.services.android.core.polygon.Polygon;
import org.droidplanner.services.android.impl.core.polygon.Polygon;


public class GeoToolsTest extends TestCase {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.droidplanner.services.android.core.helpers.units;
package org.droidplanner.services.android.impl.core.helpers.units;

import junit.framework.TestCase;

Expand Down
Loading