Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
9ccce6a
Initial commit
xiejinglei Oct 14, 2020
5fc5c90
see README
xiejinglei Oct 27, 2020
26e28bf
sceneform test
tcy1999 Nov 4, 2020
29130ae
temp sample
tcy1999 Nov 4, 2020
bcb63d9
update the way to place renderable
tcy1999 Nov 10, 2020
df4c148
add: acquire camera image and covert to bitmap
tcy1999 Nov 10, 2020
3e75831
change some function names
tcy1999 Nov 10, 2020
8fa6124
migrate to AndriodX
tcy1999 Nov 11, 2020
b2ea01a
Create README.md
tcy1999 Nov 11, 2020
4454ea2
Update README.md
tcy1999 Nov 11, 2020
7ced38e
add scan barcode & auto focus
tcy1999 Nov 12, 2020
9fa93e0
barcode + flowgate
yaxinchen666 Nov 12, 2020
1e8f5b4
Minor changes on function names
tcy1999 Nov 15, 2020
f99156e
draw frame and integrate with others
yaxinchen666 Nov 18, 2020
f98e4e6
add reset
tcy1999 Nov 24, 2020
db3b01d
add temp pos change
tcy1999 Nov 25, 2020
02388fc
add bar message & change reset
tcy1999 Nov 25, 2020
adb3a0d
add divider in frame
yaxinchen666 Nov 25, 2020
d307dea
change back to textview and add an unused pause button
tcy1999 Nov 27, 2020
09b67db
add pause button & resetting prompt
tcy1999 Nov 28, 2020
b9a5810
Create README.md
xiejinglei Mar 19, 2021
fa93e05
Update README.md
xiejinglei Mar 19, 2021
72e07ec
mv files
xiejinglei Mar 19, 2021
090dd4e
Revert "mv files"
xiejinglei Mar 19, 2021
dc98be5
Initial Commit
ShuyiZhou495 Oct 20, 2020
65dc924
scan QR codes
ShuyiZhou495 Oct 28, 2020
459321b
show plane and id
ShuyiZhou495 Oct 28, 2020
acb95ec
getFlowgateToken function
ShuyiZhou495 Nov 8, 2020
3434b0c
fix bug to get token
ShuyiZhou495 Nov 8, 2020
742146a
change structure
ShuyiZhou495 Nov 9, 2020
57a9f61
show flowgate value
ShuyiZhou495 Nov 10, 2020
d9422a8
detect image
ShuyiZhou495 Nov 11, 2020
f049363
detect image and draw a bounding box
ShuyiZhou495 Nov 11, 2020
d9042c6
before dr3
ShuyiZhou495 Nov 15, 2020
0ea2ae4
change workflow to : detect server bar code -> start figure tracking …
ShuyiZhou495 Nov 23, 2020
9409f2e
fix bug
Nov 24, 2020
f61479c
fix bug of cabinet box and move card away
Nov 24, 2020
fb2c679
delete print
ShuyiZhou495 Nov 24, 2020
7a3992b
change status messages
ShuyiZhou495 Nov 24, 2020
590ce80
change status message
ShuyiZhou495 Nov 24, 2020
a7e5bf3
freeze. Bug: pause after scanning first server before cabinet.
ShuyiZhou495 Nov 24, 2020
532b9f6
fix box position
ShuyiZhou495 Nov 24, 2020
c18a2eb
add photo
ShuyiZhou495 Nov 25, 2020
929422c
change photo
ShuyiZhou495 Nov 25, 2020
b6672f4
try drawing line
ShuyiZhou495 Nov 25, 2020
41e835b
draw line every 3 units
ShuyiZhou495 Nov 25, 2020
c218b2e
fix the workflow and card position
ShuyiZhou495 Nov 25, 2020
a4d9232
merge UI + workflow
Nov 25, 2020
2b534eb
fix workflow
ShuyiZhou495 Nov 25, 2020
ce7ac38
change pause button
ShuyiZhou495 Nov 26, 2020
ab7052d
add ui animation
Nov 26, 2020
296a439
add chart
ShuyiZhou495 Nov 26, 2020
434dbf2
add tap
ShuyiZhou495 Nov 27, 2020
7500aea
addd todo
ShuyiZhou495 Nov 27, 2020
fc9f11a
tap and appear
ShuyiZhou495 Nov 27, 2020
b92bbce
button
ShuyiZhou495 Nov 27, 2020
cb834f8
change plane pivot & pos
Nov 27, 2020
ba9e062
add plane
ShuyiZhou495 Nov 27, 2020
671029c
change position
ShuyiZhou495 Nov 27, 2020
ede94aa
demo v1
Nov 27, 2020
421b1d3
demo v1: change frame line position
Nov 27, 2020
e3a1c1e
Add app Icon
Dec 3, 2020
d641b40
Add app Icon
Dec 3, 2020
ae25f88
mv files
xiejinglei Jun 15, 2021
944edc8
Merge remote-tracking branch 'android/arFrame-backup' into arproj
xiejinglei Aug 28, 2021
4f0449e
move files
xiejinglei Aug 28, 2021
fd9e1bf
add readme
xiejinglei Aug 28, 2021
a4d645c
Merge remote-tracking branch 'ios/test' into arproj
xiejinglei Aug 28, 2021
cc9b696
add ios and android app
xiejinglei Aug 28, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions contrib/ar4dcops/app_android/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# App-Android

An Augmented Reality (AR) based app that runs on Android systems to aid data center maintenance and audit work. It obtains data from
the back-end server Flowgate, which integrates all the information related to a specific data
center, and displays necessary information onto real scenes" in the data center using AR
technology.

Note:

Some problems remain before our project period ends. The app might not be very stable because of compability issues (the packages we
use might have some conflicts with ARcore). It may run smoothly
on some Android devices but can crash frequently on some other types of devices. Also, its features are not as comprehensive as the
IOS version. We hope that future developers can try to improve the solution.
13 changes: 13 additions & 0 deletions contrib/ar4dcops/app_android/augmentedimage/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Android Studio configuration.
*.iml
.idea/
#
# # Gradle configuration.
.gradle/
build/
#
# # User configuration.
local.properties
#
# # OS configurations.
.DS_Store
1 change: 1 addition & 0 deletions contrib/ar4dcops/app_android/augmentedimage/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
79 changes: 79 additions & 0 deletions contrib/ar4dcops/app_android/augmentedimage/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
/*
* Copyright 2018 Google LLC
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
apply plugin: 'com.android.application'

android {
compileSdkVersion 28
defaultConfig {
applicationId "com.google.ar.sceneform.samples.augmentedimage"

// Sceneform requires minSdkVersion >= 24.
minSdkVersion 24
targetSdkVersion 28
versionCode 1
versionName "1.0"
}
// Sceneform libraries use language constructs from Java 8.
// Add these compile options if targeting minSdkVersion < 26.
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}

dependencies {
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'com.google.android.material:material:1.0.0'

// Use the Sceneform UX Package pre-built from Maven.
implementation "com.google.ar.sceneform.ux:sceneform-ux:1.15.0"
implementation 'com.google.mlkit:barcode-scanning:16.0.3'
implementation 'com.android.volley:volley:1.1.1'

// Use the Sceneform UX Package built from the source files included in the sceneformux folder.
//api project(":sceneformux")
}

apply plugin: 'com.google.ar.sceneform.plugin'

sceneform.asset('sampledata/models/frame_lower_left.obj',
'default',
'sampledata/models/frame_lower_left.sfa',
'src/main/assets/models/frame_lower_left')

sceneform.asset('sampledata/models/frame_lower_right.obj',
'default',
'sampledata/models/frame_lower_right.sfa',
'src/main/assets/models/frame_lower_right')

sceneform.asset('sampledata/models/frame_upper_left.obj',
'default',
'sampledata/models/frame_upper_left.sfa',
'src/main/assets/models/frame_upper_left')

sceneform.asset('sampledata/models/frame_upper_right.obj',
'default',
'sampledata/models/frame_upper_right.sfa',
'src/main/assets/models/frame_upper_right')
17 changes: 17 additions & 0 deletions contrib/ar4dcops/app_android/augmentedimage/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /opt/android-sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
newmtl unlit_material
illum 2
Kd 0.00 0.00 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
map_Kd frame_base.png
Ni 1.00
Loading