Skip to content

Commit cce2324

Browse files
committed
Pulling Axel's gradle changes.
1 parent a84605c commit cce2324

File tree

5 files changed

+7
-16
lines changed

5 files changed

+7
-16
lines changed

build.xml

+1-10
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,6 @@
2828
-->
2929
<property file="ant.properties" />
3030

31-
<!-- if sdk.dir was not set from one of the property file, then
32-
get it from the ANDROID_HOME env var.
33-
This must be done before we load project.properties since
34-
the proguard config can use sdk.dir -->
35-
<property environment="env" />
36-
<condition property="sdk.dir" value="${env.ANDROID_HOME}">
37-
<isset property="env.ANDROID_HOME" />
38-
</condition>
39-
4031
<!-- The project.properties file is created and updated by the 'android'
4132
tool, as well as ADT.
4233
@@ -50,7 +41,7 @@
5041

5142
<!-- quick check on sdk.dir -->
5243
<fail
53-
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable."
44+
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var"
5445
unless="sdk.dir"
5546
/>
5647

buildAll.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ if [ $? -eq 0 ]
77
adb install bin/MainActivity-debug.apk
88
adb shell am start -n org.ros.android.android_sensors_driver/org.ros.android.android_sensors_driver.MainActivity
99
adb logcat -c
10-
adb logcat | grep CICCIO
10+
adb logcat
1111
fi

local.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
# location of the SDK. This is only used by Ant
88
# For customization when using a Version Control System, please read the
99
# header note.
10-
sdk.dir=/home/furlan/android-sdks
10+
sdk.dir=/home/willow/NVPACK/android-sdk-linux

project.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# project structure.
99

1010
# Project target.
11-
target=Google Inc.:Google APIs:15
11+
target=android-13
1212
#android.library=true
1313
android.library.reference.1=../android_gingerbread_mr1
1414
android.library.reference.2=../../OpenCV-2.4.2-android-sdk/sdk/java

src/org/ros/android/android_sensors_driver/MainActivity.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ protected void init(NodeMainExecutor nodeMainExecutor)
180180
NodeConfiguration nodeConfiguration4 = NodeConfiguration.newPublic(InetAddressFactory.newNonLoopback().getHostAddress());
181181
nodeConfiguration4.setMasterUri(getMasterUri());
182182
// nodeConfiguration4.setMasterUri(URI.create("http://192.168.1.213:11311/")); //Hardcoding the Ros master IP for fast debug
183-
nodeConfiguration4.setNodeName("android_sensors_driver_camera");
184-
this.cam_pub = new CameraPublisher(this);
185-
nodeMainExecutor.execute(this.cam_pub, nodeConfiguration4);
183+
// nodeConfiguration4.setNodeName("android_sensors_driver_camera");
184+
// this.cam_pub = new CameraPublisher(this);
185+
// nodeMainExecutor.execute(this.cam_pub, nodeConfiguration4);
186186

187187
}
188188
}

0 commit comments

Comments
 (0)