mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
311 lines
11 KiB
XML
311 lines
11 KiB
XML
<!--
|
|
Copyright (C) 2014 Google Inc.
|
|
|
|
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.
|
|
-->
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<android.opengl.GLSurfaceView
|
|
android:id="@+id/gl_surface_view"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="top" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/debug_layout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="5dp" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/status" />
|
|
|
|
<TextView
|
|
android:id="@+id/status"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/nodes" />
|
|
|
|
<TextView
|
|
android:id="@+id/nodes"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/words" />
|
|
|
|
<TextView
|
|
android:id="@+id/words"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/memory" />
|
|
|
|
<TextView
|
|
android:id="@+id/memory"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/db_size" />
|
|
|
|
<TextView
|
|
android:id="@+id/db_size"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/points" />
|
|
|
|
<TextView
|
|
android:id="@+id/points"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/polygons" />
|
|
|
|
<TextView
|
|
android:id="@+id/polygons"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/update_time" />
|
|
|
|
<TextView
|
|
android:id="@+id/update_time"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/features" />
|
|
|
|
<TextView
|
|
android:id="@+id/features"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/total_loop" />
|
|
|
|
<TextView
|
|
android:id="@+id/total_loop"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/inliers" />
|
|
|
|
<TextView
|
|
android:id="@+id/inliers"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/hypothesis" />
|
|
|
|
<TextView
|
|
android:id="@+id/hypothesis"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/fps" />
|
|
|
|
<TextView
|
|
android:id="@+id/fps"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<ToggleButton
|
|
android:id="@+id/light_button"
|
|
android:layout_width="100dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/first_person_button"
|
|
android:layout_alignLeft="@+id/first_person_button"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginBottom="15dp"
|
|
android:layout_marginRight="5dp"
|
|
android:paddingRight="5dp"
|
|
android:textOff="@string/light_off"
|
|
android:textOn="@string/light_on" />
|
|
|
|
<ToggleButton
|
|
android:id="@+id/first_person_button"
|
|
android:layout_width="100dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/third_person_button"
|
|
android:layout_alignLeft="@+id/third_person_button"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginRight="5dp"
|
|
android:paddingRight="5dp"
|
|
android:textOff="@string/first_person"
|
|
android:textOn="@string/first_person" />
|
|
|
|
<ToggleButton
|
|
android:id="@+id/third_person_button"
|
|
android:layout_width="100dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/top_down_button"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginRight="5dp"
|
|
android:paddingRight="5dp"
|
|
android:textOff="@string/third_person"
|
|
android:textOn="@string/third_person" />
|
|
|
|
<ToggleButton
|
|
android:id="@+id/top_down_button"
|
|
android:layout_width="100dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginRight="5dp"
|
|
android:paddingRight="5dp"
|
|
android:textOff="@string/top_down"
|
|
android:textOn="@string/top_down" />
|
|
|
|
<ToggleButton
|
|
android:id="@+id/pause_button"
|
|
android:layout_width="100dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignLeft="@+id/first_person_button"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginTop="61dp"
|
|
android:paddingRight="5dp"
|
|
android:textOff="@string/pause"
|
|
android:textOn="@string/resume" />
|
|
|
|
<Button
|
|
android:id="@+id/close_visualization_button"
|
|
android:layout_width="200dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginLeft="5dp"
|
|
android:paddingLeft="5dp"
|
|
android:text="@string/close_visualization"/>
|
|
|
|
</RelativeLayout> |