-
Notifications
You must be signed in to change notification settings - Fork 556
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: Android/AndroidManifest.xml Android/res/layout/activity_drawer_navigation_ui.xml Android/res/layout/fragment_mode_circle.xml
- Loading branch information
Showing
434 changed files
with
53,583 additions
and
6,137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,9 @@ proguard/ | |
#Android Studio files | ||
*.iml | ||
.idea/ | ||
|
||
# Eclipse files | ||
.metadata | ||
|
||
# Mac OSX files | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<cameraInfo> | ||
<Name>GoPro Hero 4 Black</Name> | ||
<SensorWidth>6.17</SensorWidth> | ||
<SensorHeight>4.55</SensorHeight> | ||
<SensorResolution>12.0</SensorResolution> | ||
<FocalLength>14</FocalLength> | ||
</cameraInfo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
Android/res/drawable/button_green.xml → ...id/res/drawable/button_green_drawable.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:drawable="@drawable/button_green_pressed" android:state_pressed="true" /> | ||
<item android:drawable="@drawable/button_grey" android:state_enabled="false" /> | ||
<item android:drawable="@drawable/button_green" android:state_focused="true" /> | ||
<item android:drawable="@drawable/button_green" /> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<shape xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:shape="rectangle"> | ||
|
||
<corners android:radius="2dp" /> | ||
|
||
<solid android:color="@android:color/darker_gray" /> | ||
|
||
</shape> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:state_pressed="true" android:drawable="@drawable/ic_action_expand_blue" /> | ||
<item android:drawable="@drawable/ic_action_expand" /> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android" > | ||
<item android:state_activated="true" android:drawable="@drawable/button_mission_selected" /> | ||
<item android:state_checked="true" android:drawable="@drawable/button_mission_selected" /> | ||
<item android:drawable="@drawable/button_edit" /> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="horizontal"> | ||
|
||
<RelativeLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_weight="1" | ||
android:background="#151515"> | ||
|
||
<TextView | ||
android:id="@+id/textViewIMUStep" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:padding="10dp" | ||
android:layout_alignParentTop="true" | ||
android:background="@color/ground_speed_label" | ||
android:gravity="center" | ||
android:text="@string/setup_imu_step" | ||
android:textColor="@android:color/white" | ||
android:textSize="18sp" | ||
android:textStyle="bold"/> | ||
|
||
<TextView | ||
android:id="@+id/textViewIMUTimeOut" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:gravity="center" | ||
android:text="Time to next orientation: 30s" | ||
android:padding="10dp" | ||
android:textColor="@android:color/white" | ||
android:textSize="20sp" | ||
android:textStyle="bold" | ||
android:layout_below="@+id/progressBarTimeOut" | ||
android:layout_marginBottom="10dp" | ||
/> | ||
|
||
<ProgressBar | ||
android:id="@+id/progressBarTimeOut" | ||
style="?android:attr/progressBarStyleHorizontal" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_centerInParent="true" | ||
android:layout_marginBottom="29dp" | ||
android:layout_marginLeft="100dp" | ||
android:layout_marginRight="100dp" | ||
android:indeterminate="false" | ||
android:max="300" | ||
android:minHeight="50dp" | ||
android:minWidth="300dp" | ||
android:progress="150" | ||
android:progressDrawable="@drawable/pstate_good"/> | ||
|
||
|
||
<TextView | ||
android:id="@+id/TextViewIMUOffset" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_above="@+id/TextViewIMUScaling" | ||
android:gravity="center" | ||
android:text="Offset : 00 00 00" | ||
android:visibility="invisible" | ||
android:textColor="#fff" | ||
android:textSize="20sp" | ||
android:textStyle="bold" | ||
android:layout_marginBottom="10dp"/> | ||
|
||
<TextView | ||
android:id="@+id/TextViewIMUScaling" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:visibility="invisible" | ||
android:layout_alignLeft="@+id/TextViewIMUOffset" | ||
android:layout_alignParentBottom="true" | ||
android:gravity="center" | ||
android:text="Scaling : 00 00 00" | ||
android:textColor="#fff" | ||
android:textSize="20sp" | ||
android:textStyle="bold" | ||
android:layout_marginBottom="20dp"/> | ||
|
||
</RelativeLayout> | ||
|
||
<RelativeLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_weight="2"> | ||
|
||
<TextView | ||
android:id="@+id/textViewDesc" | ||
style="@style/ModeDetailText" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="@drawable/mode_desc_rectangle" | ||
android:padding="10dp" | ||
android:layout_marginBottom="20dp" | ||
android:text="@string/setup_imu_start" | ||
android:layout_alignParentTop="true"/> | ||
|
||
<Button | ||
android:id="@+id/buttonStep" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="10dp" | ||
android:gravity="center" | ||
android:background="@drawable/button_green_drawable" | ||
android:layout_centerInParent="true" | ||
style="@style/modeControl" | ||
android:text="@string/button_setup_calibrate"/> | ||
|
||
</RelativeLayout> | ||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="horizontal"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="horizontal" | ||
android:background="#151515" | ||
android:layout_weight="1"> | ||
|
||
<org.droidplanner.android.widgets.scatterplot.ScatterPlot | ||
android:id="@+id/scatterPlot1" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:layout_weight="1"/> | ||
|
||
<org.droidplanner.android.widgets.scatterplot.ScatterPlot | ||
android:id="@+id/scatterPlot2" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:layout_weight="1"/> | ||
|
||
|
||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical" | ||
android:layout_weight="1.75"> | ||
|
||
<TextView | ||
android:id="@+id/textViewDesc" | ||
style="@style/ModeDetailText" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="@drawable/mode_desc_rectangle" | ||
android:padding="10dp" | ||
android:layout_marginBottom="20dp" | ||
android:text="@string/setup_imu_start" | ||
/> | ||
|
||
<Button | ||
android:id="@+id/buttonStep" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="10dp" | ||
android:layout_gravity="center" | ||
android:background="@drawable/button_green_drawable" | ||
style="@style/modeControl" | ||
android:text="@string/button_setup_calibrate"/> | ||
|
||
<RelativeLayout | ||
android:id="@+id/in_progress_calibration_container" | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:visibility="gone" | ||
android:layout_gravity="center" | ||
android:gravity="center"> | ||
|
||
<ProgressBar | ||
android:id="@+id/calibration_progress_bar" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
style="@android:style/Widget.Holo.ProgressBar.Horizontal" | ||
android:layout_toLeftOf="@+id/calibration_progress" | ||
android:layout_toStartOf="@+id/calibration_progress" | ||
android:layout_above="@+id/buttonCancel" | ||
android:layout_marginBottom="15dp" | ||
android:layout_alignParentLeft="true" | ||
android:layout_alignParentStart="true" | ||
android:padding="20dp"/> | ||
|
||
<TextView | ||
android:id="@+id/calibration_progress" | ||
android:layout_width="wrap_content" | ||
android:minWidth="50dp" | ||
android:layout_height="wrap_content" | ||
android:gravity="center" | ||
android:padding="10dp" | ||
android:layout_alignParentRight="true" | ||
android:layout_alignParentEnd="true" | ||
android:layout_alignTop="@+id/calibration_progress_bar" | ||
android:layout_alignBottom="@+id/calibration_progress_bar" | ||
/> | ||
|
||
<Button | ||
android:id="@+id/buttonCancel" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="10dp" | ||
android:background="@drawable/button_green_drawable" | ||
style="@style/modeControl" | ||
android:layout_alignParentBottom="true" | ||
android:layout_centerHorizontal="true" | ||
android:layout_marginBottom="20dp" | ||
android:text="@string/button_setup_cancel"/> | ||
|
||
</RelativeLayout> | ||
|
||
</LinearLayout> | ||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.