Robot Tasker Client is a Java-based Android application created to establish compatible communication with dedicated API.
Compatible API which this client is communicating with is shared here.
Minimum SDK/API level is 24, which is Android 7.0 Nougat (cumulative coverage 96.8% of all devices in use).
Application was created with Android Studio.
Complete version which guarantee best performance is not available publicly.
Only alpha version of app with license restrictions is available.
Please contact me if you are interested in cooperation.
I am willing to help.
Some of the implemented views:
A hierarchy of XML layout files is as follows:
- `res`
- `layout`
- `activity_login.xml`
- `activity_menu.xml`
- `activity_vehicle_menu.xml`
- `activity_vehicle_runtime.xml`
- `activity_register_vehicle.xml`
- `activity_register_custom_vehicle.xml`
- `activity_register.xml`
The data sent to the API depends on the type of vehicle. In this case, it is a quadcopter.
Handshake should be established between server and client according to data order.
The data is sent in raw string format but its values stands for these variables:
CLIENT // <- fixed prefix for client message
4436ed9a-5228-46c0-b825-6d0a3cd90437 // <- vehicleId
1 // <- mode
0 // <- vtol
0 // <- x
0 // <- y
0 // <- alt
0 // <- yaw
false // <- camTrig
false // <- camTog
0 // <- camPitch
false // <- clamp
END // <- fixed ending statement of message
Some simple instrumented AndroidJUnit4 tests have been implemented:
useAppContext()
loginButtonClicked_Success()
loginButtonClicked_Failed()
swapToRegisterButtonClicked()
registerButtonClicked_Success()
registerButtonClicked_Failed()
swapToLoginButtonClicked()
Robot Tasker Client is released under the CC BY-NC-ND 4.0 license.
Sebastian Brzustowicz <[email protected]>