User Tools

Site Tools


android:androc2-en

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
android:androc2-en [2021/06/12 11:32] rjversluisandroid:androc2-en [2023/10/04 14:36] (current) rjversluis
Line 5: Line 5:
   * **[[:android:androc2-en|andRoc 2.1]]**   * **[[:android:androc2-en|andRoc 2.1]]**
  \\  \\
-| [[:donate-en|{{:icons:key.png}}]] | This is an exclusive goodie for supporters of the project, who have a valid __**[[:donate-en|Support Key]]**__ installed. \\ Without a key 5 demo minutes are available after connection.  |+| [[:supportkey-en|{{:icons:key.png}}]] | This is an exclusive goodie for supporters of the project, who have a valid __**[[:supportkey-en|Support Key]]**__ installed. \\ Without a key 5 demo minutes are available after connection.  |
  \\  \\
  
-{{:android:androc-throttle-en.png?200}}{{:android:androc:androc-layout-en.png?0x200}}\\+{{:android:androc-throttle-en.png?200}} {{:android:androc-keltenbahn.jpeg?0x320}} 
 +|  Smartphone Android 4  |  Tablet Android 10/11  | \\
 =====New features===== =====New features=====
-//2.1.1118// 
   * Change storage location: Internal/SD-card   * Change storage location: Internal/SD-card
   * SVG Symbols from Server.   * SVG Symbols from Server.
Line 36: Line 36:
 </code> </code>
  \\  \\
-====Rocrail==== 
-The used Rocrail revision must be at least **2.1.521**.\\ 
  
- \\ 
 ====Permissions==== ====Permissions====
 {{ :android:androc-app-permissions.png?160}} {{ :android:androc-app-permissions.png?160}}
   * Settings -> Apps -> andRoc -> Permissions -> Storage   * Settings -> Apps -> andRoc -> Permissions -> Storage
-  * Settings -> Apps -> andRoc -> Permissions -> Telephone 
 The andRoc App must be have __**Storage Permission**__ to be able to save the SVG symbols on the Android device.\\ The andRoc App must be have __**Storage Permission**__ to be able to save the SVG symbols on the Android device.\\
-The telephone permission is optional, and is only needed if the phone number should be used as Throttle ID.\\ 
  
  \\  \\
 ====Change Theme==== ====Change Theme====
-{{ :android:androc-symbol-directory-en.png?160}} +Preferences -> Clear SVG cache\\ 
-The directory "androc/symbols" must be deleted in case another SVG Theme should be used.\\+And reconnect to the Rocrail Server.\\
  
  \\  \\
Line 65: Line 60:
  \\  \\
 =====Connection===== =====Connection=====
-When andRoc starts, the connection dialog is opened:+When andRoc starts, the connection dialog is opened. If a Rocrail Server is found by **[[:networking-en|R2RNet]]** it will be shown in the first field.
 |{{:android:androc2_connect_en.png|}}|{{:android:androc2_load_plan_en.png|}}|{{:android:androc2_load_plan_error.png|}}| |{{:android:androc2_connect_en.png|}}|{{:android:androc2_load_plan_en.png|}}|{{:android:androc2_load_plan_error.png|}}|
 |  Connection-Dialog                |  Load the plan                      Error while loading  | |  Connection-Dialog                |  Load the plan                      Error while loading  |
Line 93: Line 88:
 =====Main Menu===== =====Main Menu=====
 The main menu can be opened by clicking on the three points in the upper right corner of the track layout.\\ The main menu can be opened by clicking on the three points in the upper right corner of the track layout.\\
-{{:android:androc2_main_menu_en.png}}\\ +{{:android:androc2_main_menu_en.png?200}}\\ 
-**Info**: Information about Copyright, license, Version, Throttle ID and so on are listed up on this view.\\ +  **Info**: Information about Copyright, license, Version, Throttle ID and so on are listed up on this view.\\ 
-**[[#preferences|Preferences]]**\\ +  **[[#preferences|Preferences]]** 
-**[[#throttle|Throttle]]**\\ +  **[[#throttle|Throttle]]** 
-**[[#system|System]]**\\ +  **[[#system|System]]** 
-**[[#layout|Layout]]**\\ +  **[[#layout|Layout]]** 
-**Zoom 100%**: Restores the zoom factor of the layout-view to 100%\\ +  **Zoom 100%**: Restores the zoom factor of the layout-view to 100%. 
-**[[#guest loco|Guest-Loco]]**\\ +  * **Zoom to fit**: Scale the layout-view to fit completely on the display. 
-**[[#accessory|Accessory]]**\\+  * **[[#guest loco|Guest-Loco]]** 
 +  * **Home location**: Send all running locomotives to their home locations. 
 +  * **Save switch position**: Set all switches in their save position. 
 +  * **Note**: Make a short note in the @Box on the server. 
 +  * **[[#wio|WIO]]**: Show a list with all active WIOs.
  \\  \\
 =====Block activity===== =====Block activity=====
Line 198: Line 197:
 ==== R2R Address/Port ==== ==== R2R Address/Port ====
 If a Rocrail server has **[[:networking-en|R2RNet]]** activated it will provide its client connection information by multi casting to the andRoc clients.\\ If a Rocrail server has **[[:networking-en|R2RNet]]** activated it will provide its client connection information by multi casting to the andRoc clients.\\
 +Default: **224.0.1.20:8051**\\
 <code> <code>
 andRoc:  <netreq req="clientconn"/> andRoc:  <netreq req="clientconn"/>
Line 211: Line 211:
 There is an option in the preferences, to use the throttle with button control instead of the slider.\\ There is an option in the preferences, to use the throttle with button control instead of the slider.\\
  
-=== Long clicks ===+==== Long clicks ====
 ^ Button ^ Function ^ ^ Button ^ Function ^
 | Loco image | Loco control | | Loco image | Loco control |
 | RE | Power OFF | | RE | Power OFF |
 | FG | Emergency Break | | FG | Emergency Break |
-| F1-F6 | Throttle selection |+| F1-F12 | Throttle selection |
 | F13 | Manual mode ON/OFF (Zimo MX10) | | F13 | Manual mode ON/OFF (Zimo MX10) |
 | F14 | Shunting ON/OFF (Zimo MX10) | | F14 | Shunting ON/OFF (Zimo MX10) |
Line 223: Line 223:
 | Swap (in the loco control)| Swap block enter side | | Swap (in the loco control)| Swap block enter side |
  
-=== Loco ID ===+==== Loco ID ====
 {{ :android:androc-automode-idle-en.png?200}}{{ :android:androc-automode-en.png?200}} {{ :android:androc-automode-idle-en.png?200}}{{ :android:androc-automode-en.png?200}}
 The first line under the Loco image shows the ID and between brackets the automatic mode.\\ The first line under the Loco image shows the ID and between brackets the automatic mode.\\
Line 229: Line 229:
 If the automatic mode is **idle** or **wait** the background of this line will turn to red. Otherwise it will be green.\\ If the automatic mode is **idle** or **wait** the background of this line will turn to red. Otherwise it will be green.\\
  
-=== ST ===+==== ST ====
 Start/Stop automatically running the selected loco if the auto mode is activated.\\ Start/Stop automatically running the selected loco if the auto mode is activated.\\
 This button is disabled if the auto mode is not activated.\\ This button is disabled if the auto mode is not activated.\\
  
-=== RE ===+==== RE ====
 Release a loco from this throttle.\\ Release a loco from this throttle.\\
 Without releasing a loco from a throttle it is not possible to control it by another throttle/client. This behavior can be manipulated by **[[:rocrailini-automode-en#disable_steal_loco_control|disable steal loco control]]**.\\ Without releasing a loco from a throttle it is not possible to control it by another throttle/client. This behavior can be manipulated by **[[:rocrailini-automode-en#disable_steal_loco_control|disable steal loco control]]**.\\
 A __long click__ will send a power off command.\\ A __long click__ will send a power off command.\\
  
-=== FG ===+==== FG ====
 Function group selection button. There are three groups of 14 function buttons available.\\ Function group selection button. There are three groups of 14 function buttons available.\\
 A __long click__ will send an emergency break.\\ A __long click__ will send an emergency break.\\
  
-=== F1-F6 === +==== F1-F12 ==== 
-A __long click__ will select throttle 1-6.\\+A __long click__ will select throttle 1-12.\\
  
-=== Lights ===+==== Lights ====
 Toggle the locomotive lights on/off.\\ Toggle the locomotive lights on/off.\\
 A __long click__ will dispatch the selected locomotive for use with a Fred.\\ A __long click__ will dispatch the selected locomotive for use with a Fred.\\
  
-=== Direction ===+==== Direction ====
 Stops the loco and flips the current driving direction.\\ Stops the loco and flips the current driving direction.\\
 The button also shows the current speed.\\ The button also shows the current speed.\\
 A __long click__ will activate the Consist management.\\ A __long click__ will activate the Consist management.\\
  
-=== Shift-button ===+==== Shift-button ====
 With the shift-button, the [[:trains-en|train functions]] can be controlled, if these are defined.\\ With the shift-button, the [[:trains-en|train functions]] can be controlled, if these are defined.\\
 A red dot on the shift-button indicates, that the train functions are activated.\\ A red dot on the shift-button indicates, that the train functions are activated.\\
Line 265: Line 265:
 If the functions for the whole train are active, only the train name is shown.\\ If the functions for the whole train are active, only the train name is shown.\\
  
-=== Velocity bar ===+==== Velocity bar ====
 Velocity commands are send if the delta is 5 or at move end.\\ Velocity commands are send if the delta is 5 or at move end.\\
 The delta is introduced to reduce the amount of commands triggered by changing the bar position.\\   The delta is introduced to reduce the amount of commands triggered by changing the bar position.\\  
  
-=== Speed presets ===+==== Speed presets ====
 Uses the speed presets (Vmin, Vmid, Vcruise, Vmax) from the [[:loc-speed-en|Loco preferences]].\\ Uses the speed presets (Vmin, Vmid, Vcruise, Vmax) from the [[:loc-speed-en|Loco preferences]].\\
 Vmax will only operate on a __long clock__!\\ Vmax will only operate on a __long clock__!\\
 +
 +==== Volume buttons ====
 +The volume buttons can be used to control the velocity of the selected locomotive.\\
 +
 +
 +
 +
 ------ ------
  
Line 285: Line 292:
 Dispatch the loco for a throttle like the LocoNet Fred(i).\\ Dispatch the loco for a throttle like the LocoNet Fred(i).\\
 ------ ------
 +
 +====CAM====
 +{{ :android:androc-mjpg-stream.png?200}}
 +Supported streamings:
 +  * [[:rocnet:cam-en|Raspberry Pi CAM]]
 +
 +MJPEG TCP CAM streams are supported in the throttle.\\
 +If set on the loco interface tab, the loco image will be replaced with a small WEB viewer.\\
 +  - The streaming host must provide the ''index.html'' entrance.\\
 +  - Scaling the MJPEG in the throttle can be done in the Preferences.\\
 +
 +{{:android:androc-prefs-camscale.png?200}}\\
 +**Note 1**: A long click on the viewer is needed to select another loco in the throttle.\\
 +**Note 2**: Proprietary UDP streaming is not supported; The stream must be WEB Browser compatible.\\
 +
 +-----
 + \\
 =====System===== =====System=====
 {{:android:androc2_system_en.png|}}\\ {{:android:androc2_system_en.png|}}\\
-=== Power ON / Power OFF ===+==== Power ON / Power OFF ====
 Turns track-power ON or OFF.\\ Turns track-power ON or OFF.\\
 A red dot in the button shows the current state.\\ A red dot in the button shows the current state.\\
-=== Init Field ===+==== Init Field ====
 Initialize all switches. (see also [[:rocgui-menu-en#control|Start of Day (SoD)-> Init field]]) Initialize all switches. (see also [[:rocgui-menu-en#control|Start of Day (SoD)-> Init field]])
-=== Query sensors ===+==== Query sensors ====
 Query all the sensors. Query all the sensors.
-=== Auto ON ===+==== Auto ON ====
 Turns the automatic mode on.\\ Turns the automatic mode on.\\
 A red dot ist shown in the button if the automatic mode is active. A red dot ist shown in the button if the automatic mode is active.
-=== Auto start ===+==== Auto start ====
 Start all trains in automatic mode.\\ Start all trains in automatic mode.\\
 Has to be confirmed in the poup dialog.\\ Has to be confirmed in the poup dialog.\\
-=== Reset all ===+==== Reset all ====
 Removes the ALL locos from their blocks and sets all routes to free.\\ Removes the ALL locos from their blocks and sets all routes to free.\\
 Has to be confirmed.\\ Has to be confirmed.\\
-=== Soft reset ===+==== Soft reset ====
 All the routes are set to free, but the locos stay in their blocks.\\ All the routes are set to free, but the locos stay in their blocks.\\
 Has to be confirmed.\\ Has to be confirmed.\\
-===EoD (End of Day===+====EoD (End of Day====
 See: __**[[:rocgui-menu-en#end_of_day_eod|Rocview EoD]]**__\\ See: __**[[:rocgui-menu-en#end_of_day_eod|Rocview EoD]]**__\\
-=== Shutdown ===+==== Shutdown ====
 Shutdown the Rocrail Server if its not in console mode and Rocweb is not in slave mode.\\ Shutdown the Rocrail Server if its not in console mode and Rocweb is not in slave mode.\\
 This action needs a confirmation.\\ This action needs a confirmation.\\
-=== Emergency stop ===+==== Emergency stop ====
 Sends an emergency stop.\\ Sends an emergency stop.\\
  \\  \\
Line 328: Line 352:
  \\  \\
 ------ ------
 +
 +=====WIO=====
 +Query all WIOs which are online, and show important measurements:\\
 +{{:android:androcwio.png?200}}
 +====Shutdown====
 +Shutdown/Deepsleep the selected node.\\
 +A long click will shutdown/deepsleep all nodes.\\
 +Only one node can be selected. A new query is needed to correct the selection.\\
 \\ \\
 ===== Consist management ===== ===== Consist management =====
Line 344: Line 376:
 {{:android:androc-qvga-fiddleyard.png?200}}{{:android:androc-qvga-fytrack.png?200}}\\ {{:android:androc-qvga-fiddleyard.png?200}}{{:android:androc-qvga-fytrack.png?200}}\\
 Touching the FY will open a new view for controlling it.\\ Touching the FY will open a new view for controlling it.\\
-===Open===+====Open====
 Opens or closes this fiddle yard for trains.\\ Opens or closes this fiddle yard for trains.\\
-===Next/Previous===+====Next/Previous====
 Move the table to the next/previous track.\\ Move the table to the next/previous track.\\
-===Track===+====Track====
 Move to the selected track.\\ Move to the selected track.\\
  \\  \\
Line 356: Line 388:
 {{:android:androc-qvga-turntable.png?300}}{{:android:androc-traverser.png?200}}{{:android:androc-qvga-tttrack.png?200}}\\ {{:android:androc-qvga-turntable.png?300}}{{:android:androc-traverser.png?200}}{{:android:androc-qvga-tttrack.png?200}}\\
 Touching the TT will open a new view for controlling it.\\ Touching the TT will open a new view for controlling it.\\
-===Open===+====Open====
 Opens or closes this turntable for locomotives.\\ Opens or closes this turntable for locomotives.\\
-===Next/Previous===+====Next/Previous====
 Move the bridge to the next/previous track.\\ Move the bridge to the next/previous track.\\
-===Track===+====Track====
 Move to the selected track.\\ Move to the selected track.\\
  
 ------ ------
 +
 + \\
 +=====Long Clicks=====
 +====Switch====
 +{{:android:androc-servosetup.png?120}}
 +  * Unlock this switch in case Rocrail is in automatic mode.
 +  * Popup a Servo Finetune activity. See also [[:rocnet:rocnetnode-setup-en#channel_setup|Channel Setup]]
 +
 +====Block====
 +The [[#throttle|Loco Control Activity]] in case if the block is reserved.\\
 +
 +
  \\  \\
  
 ===== Trouble Shooting ===== ===== Trouble Shooting =====
 ==== Plan does (partial) not load ==== ==== Plan does (partial) not load ====
-Check the plan if it is XML **well formed** with a tool like [[http://www.altova.com/download/xmlspy/xml_editor_standard.html|"XmlSpy"]].\\ +Check the plan if it is XML **well formed** with the local WEB Browser. \\
-Or use the W3C service: http://validator.w3.org/#validate_by_upload \\+
 Rocrail and Rocview are using the Rocs parser which is not so strict as the Java one.\\ Rocrail and Rocview are using the Rocs parser which is not so strict as the Java one.\\
  
android/androc2-en.1623490367.txt.gz · Last modified: 2021/06/12 11:32 by rjversluis