Instructions for Creating an AWS RoboMaker Environment for Mini Pupper

aws

1.Create a AWS RoboMaker Intergrated Development Environment

create a development environment in aws robomaker console,
check this link
remember to set "pre-installed robot software suite" to "Melodic"
2
17

2. Configure Your Development Environment

2.1 Install Colcon

sudo apt-get update
sudo apt-get install python3-pip python3-apt
pip3 install -U setuptools
pip3 install -U colcon-common-extensions colcon-ros-bundle

2.2 Dependencies

sudo apt install ros-melodic-ecl-threads ros-melodic-robot-localization  ros-melodic-controller-manager ros-melodic-hector-sensors-description ros-melodic-map-server ros-melodic-move-base ros-melodic-iris-lama ros-melodic-iris-lama-ros sphinxsearch
pip install --upgrade requests
pip3 install --upgrade requests

2.3 Configure the Application

cd ~/environment
git clone --recursive https://github.com/0nhc/aws-robomaker-mini-pupper-application.git
cd aws-robomaker-mini-pupper-application
git submodule init
git submodule update
cd robot_ws
colcon build
colcon bundle
cd ..
cd simulation_ws
colcon build
colcon bundle
echo "source ~/environment/aws-robomaker-mini-pupper-application/robot_ws/install/setup.bash" >> ~/.bashrc
echo "source ~/environment/aws-robomaker-mini-pupper-application/simulation_ws/install/setup.bash" >> ~/.bashrc
source ~/.bashrc

2.4 Create an AWS S3 Bucket

create S3 buckets for mini pupper
check this link
set "bucket name" to "mini-pupper-bucket"
3

2.5 Upload Bundle Files to The Bucket

return to aws development environment
4

cd ~/environment/aws-robomaker-mini-pupper-application/robot_ws/bundle
aws s3api put-object --bucket mini-pupper-bucket --key mnpp_robot.tar --body output.tar
cd ~/environment/aws-robomaker-mini-pupper-application/simulation_ws/bundle
aws s3api put-object --bucket mini-pupper-bucket --key mnpp_sim.tar --body output.tar

3. Create a Robot Application

return to robomaker console
then create a new robot application
check this link
set "name" to "mini-pupper-robot"
set "robot software suite" to "Melodic"
set "application" to "provide a colcon-bundled source file"
and then click "browse S3"
5 choose "mini-pupper-bucket/mnpp_robot.tar"
then click "create"
6

4. Create a Simulation Application

return to robomaker console
then create a new simulation application
check this link
set "name" to "mini-pupper-simulation"
set "robot software suite" to "Melodic"
set "application" to "provide a colcon-bundled source file"
and then click "browse S3"
7 choose "mini-pupper-bucket/mnpp_sim.tar"
then click "create"
8

5. Create a Simulation Job

return to robomaker console
then create a new simulation job
check this link

5.1

in section "simulation job details"
set "simulation job duration" to 1 hour(for saving money)
set "robot software suite" to "Melodic"
set "IAM role" to whatever you want
9 in section "simulation job output"
click "browse S3"
10 choose "mini-pupper-bucket"
11

5.2

in section "choose method"
click "select existing application"

in section "robot application"
choose "mini-pupper-robot"

in section "robot application configuration"
set "launch package name" to "mini_pupper_navigation"
set "launch file" to "navigate.launch"
12

5.3

in section "choose method"
click "select existing application"

in section "robot application"
choose "mini-pupper-simulation"

in section "robot application configuration"
set "launch package name" to "mini_pupper_gazebo"
set "launch file" to "gazebo.launch"
13

5.4

just click "create"
14

6 Just Play With It

15 16 1

7 How to us it

first, click this button 18 then, drag the arrow at some point in the map instruction