This is the main page, which will be shown when the app first starts up.
|
The robot will appear if F, L or R are pressed.
|
Buttons that are shown on screen
To manipulate the robot:
F – Move Forward
L – Rotate anti-clockwise by 90 degrees (turning to the left)
R – Rotate clockwise by 90 degrees (turning to the right) |
EX – Start exploration
FP – Start moving through the Fastest Path
END EX – Stop exploration (when the exploration time is up)
C1 – String 1 (To test for data persistence)
C2 – String 2 (To test for data persistence) |
When EX is pressed, it will change the status from Idle to Moving (Exploring)
|
If the WayPoint is not set when FP is selected, the app will prompt the user to insert a waypoint before the status will change from Idle to Moving (Fastest Path).
|
|
Items on Menu:
Connect to Device – Allow the user to scan for nearby devices and select the device that they want to connect.
Make Discoverable – To make the user’s device discoverable to the Raspberry Pi for Bluetooth connection.
Set Robot Position – To determine the robot’s starting position.
Set Way Point – To define the WayPoint on the map.
Remove Way Point – To remove the defined WayPoint.
Auto Update Map – Map will update whenever there are changes in the map.
Manually Update Map – Map will only update when this is selected.
Set String 1 – Define the string to be sent when C1is selected.
Set String 2 – Define the string to be sent when C2 is selected.
Enable Gesture Control – Allow the user to swipe the map to move the robot around.
Show Bluetooth Comm – To show the messages that have been exchanged between the Android and the Raspberry Pi. |