HamsterOCUAndroidApp

From cogniteam
Revision as of 15:19, 5 January 2021 by Ariy (talk | contribs)
Jump to: navigation, search


HamsterOCU APP

Communicate and control Cogniteam's Hamster robots. Use the virtual joystick to move the robot around, while receiving image in real-time. Create a map for localization using map mode.
Menu1.png

Installation

Available on Google Play Store: Download the app Compatible with Android 'Ice Cream Sandwich 4.0 – 4.0.4' version and higher.

Connecting a Hamster

In order to control a Hamster via the App you will need 2 things:

When loading the app the first screen will be:
Make sure to enter the correct IP and Port number.
In case multi-master configuration - robot IP and master IP the same.
Example: to connect agent6 should enter as master uri: http://10.0.2.6:11311
Login.png



The second step would be configuring the Hamster details in the settings tab.
Note: if your Connected Hamster has the default settings as the App then you will be able to immediately control the Hamster.
For a quick setup just change the namespace 'agent1' to the agent_id of your connected Hamster.

Settings1.png

Settings2.png


Pose Estimation


Pose Estimation is basically the Localization of the Hamster.
The goal for an autonomous robot is to be able to construct (or use) a map or floor plan and to localize itself in it.

When starting the app you will need to Pose Estimation.

Example before Localization:
To localize the Hamster you will need to press the area on the map where the Hamster actually is.
Then, a Blue arrow will appear, point it to the direction where the Hamster's front is pointing.
BadLocal.png


Example after Localization:
GoodLocal.png



Note: You might need to repeat the process few times to get the correct position.

Autonomous Mode


Autonomous Mode will make the Hamster drive around autonomously and avoid obstacles.
You may use Autonomous Mode combined with Mapping mode and let the Hamster build the map, or most of it.
Then, you can adjust manually via the joystick the 'Dead spots' that the vehicle have missed.

Mapping Mode


Mapping Mode is used to create the map of the Hamster that is seen on the screen.


Mapping.png

Set Goal


Set a local goal on the map simply by clicking on it (inside the 'Set Goal' tab) and see the Hamster drive there.

Click on the screen and choose the goal:
SetGoal1.png
The Hamter will drive to the green destination arrow.
SetGoal2.png