mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-03 11:24:10 +01:00
98 lines
3.7 KiB
XML
98 lines
3.7 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:setting_attributes="http://schemas.android.com/apk/res/org.openpilot.androidgcs"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="vertical" >
|
||
|
|
||
|
|
||
|
<ScrollView
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="0dip"
|
||
|
android:layout_weight="1"
|
||
|
android:orientation="vertical" >
|
||
|
|
||
|
<GridLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:stretchMode="columnWidth"
|
||
|
android:orientation="vertical" >
|
||
|
|
||
|
<org.openpilot.androidgcs.views.ScrollBarView
|
||
|
android:id="@+id/rollRateKp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_column="0"
|
||
|
android:layout_gravity="fill"
|
||
|
android:layout_row="0"
|
||
|
setting_attributes:max_value="0.01"
|
||
|
setting_attributes:setting_name="Roll Rate Kp" />
|
||
|
|
||
|
<org.openpilot.androidgcs.views.ScrollBarView
|
||
|
android:id="@+id/pitchRateKp"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_column="1"
|
||
|
android:layout_row="0"
|
||
|
setting_attributes:setting_name="Pitch Rate Kp"
|
||
|
setting_attributes:max_value="0.01" />
|
||
|
|
||
|
<org.openpilot.androidgcs.views.ScrollBarView
|
||
|
android:id="@+id/rollRateKi"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_column="0"
|
||
|
android:layout_row="1"
|
||
|
setting_attributes:setting_name="Roll Rate Ki"
|
||
|
setting_attributes:max_value="0.05" />
|
||
|
|
||
|
<org.openpilot.androidgcs.views.ScrollBarView
|
||
|
android:id="@+id/pitchRateKi"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_column="1"
|
||
|
android:layout_row="1"
|
||
|
setting_attributes:setting_name="Pitch Rate Ki"
|
||
|
setting_attributes:max_value="0.05" />
|
||
|
|
||
|
<org.openpilot.androidgcs.views.ScrollBarView
|
||
|
android:id="@+id/rollKp"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_column="0"
|
||
|
android:layout_row="2"
|
||
|
setting_attributes:setting_name="Roll Kp"
|
||
|
setting_attributes:max_value="5" />
|
||
|
|
||
|
<org.openpilot.androidgcs.views.ScrollBarView
|
||
|
android:id="@+id/pitchKp"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_column="1"
|
||
|
android:layout_row="2"
|
||
|
setting_attributes:setting_name="Pitch Kp"
|
||
|
setting_attributes:max_value="5" />
|
||
|
</GridLayout>
|
||
|
</ScrollView>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="right" >
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/applyBtn"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/apply" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/saveBtn"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/save" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
|