Version 2.3.3
Released Date: August 21
st
, 2020
Contents
1. Introduction ............................................................................................................................... 1
2. Setting up your machine ............................................................................................................ 2
2.1. Requirements ..................................................................................................................... 2
2.2. Setting up Android Studio.................................................................................................... 2
2.2.1. Installing components (Only on Ubuntu) .......................................................................... 2
2.2.2. Installing Android Studio................................................................................................... 2
2.2.3. Downloading additional components ................................................................................ 3
3. Creating your application ........................................................................................................... 4
3.1. Creating an Android project ................................................................................................. 4
3.1.1. Game APIs ....................................................................................................................... 4
(1) Writing the application ....................................................................................................... 4
(2) API details ......................................................................................................................... 6
3.1.2. Type information ............................................................................................................ 14
(1) Summary ........................................................................................................................ 14
(2) Details ............................................................................................................................. 14
(3) Reference ....................................................................................................................... 16
3.2. Building your application ................................................................................................... 17
3.2.1. On Ubuntu ..................................................................................................................... 17
3.2.2. On Windows .................................................................................................................. 17
3.2.3. Change the application ID (optional) .............................................................................. 18
(1) On Ubuntu ...................................................................................................................... 21
(2) On Windows ................................................................................................................... 21
4. Running your program on the simulator ................................................................................... 22
4.1. Using the simulator server ................................................................................................ 22
4.2. Login ................................................................................................................................. 22
4.3. Uploading the APK and running your program .................................................................. 24
4.4. Checking simulation while running .................................................................................... 25
4.5. Checking the result ........................................................................................................... 26
4.5.1. Result summary ............................................................................................................. 26
4.5.2. Download ZIP file ........................................................................................................... 27
4.5.3. Check simulation after running ....................................................................................... 28
4.5.4. rosbag replay settings .................................................................................................... 29
4.5.5. rviz settings .................................................................................................................... 30
4.6. Running on your own machine (optional) .......................................................................... 31
4.6.1. Differences between web simulator and local simulator ................................................. 31
4.6.2. Requirements ................................................................................................................ 31
4.6.3. Setting up the Astrobee Robot Software ........................................................................ 31
4.6.4. Creating the AVD ( Android Virtual Device ) ................................................................... 33
4.6.5. Building the Guest Science Manager APK ..................................................................... 34