-
Notifications
You must be signed in to change notification settings - Fork 2
Simulate Erwhi on AWS RoboMaker
Giovanni Bruno edited this page Jul 30, 2019
·
9 revisions
Check steps in this wiki page.
If you have done all these steps you can proceed.
- Go to AWS RoboMaker.
- Check if your region is correct.
- Click on "Development environments"
- Click on Create environment
- Give a name to the environment (e.g. erwhi-env)
- Choose an instance type, default is m4.large
- Select VPC and Subnets
- Press on Create
- Click on your environment (e.g. erwhi-env) and then press to Open environment, Cloud9 will open
- We need to create a ROS workspace so in terminal tab type:
mkdir -p erwhi_ws/src
- Now we need to install dependencies for Intel Realsense D435 ROS package. Follow this guide referencing Ubuntu 16.04 and install all packages.
- In terminal tab type:
cd erwhi_ws/src
- Now type:
git clone https://github.com/gbr1/erwhi-hedgehog-ros.git
git clone https://github.com/gbr1/sengi_ros.git
git clone https://github.com/gbr1/bosch_imu_driver.git
git clone https://github.com/intel-ros/realsense.git
-
update ros dependencies typing:
cd ..
rosdep update
-
install all dependencies required to build Erwhi workspace:
rosdep install --from-paths src --ignore-src -r -y
- build:
colcon build
- source environment:
source install/setup.sh
- Type:
colcon bundle
aws s3 cp bundle/output.tar s3://bucket-source/erwhi.tar
NOTE: edit bucket-source with your bucket name
- Go back to RoboMaker dashboard
- Click on Simulation application and press on Create simulation application
- Give a name (e.g. erwhi-sim)
- Go to sources and add your source path, it should be something like:
s3://bucket-source/erwhi.tar
NOTE: edit bucket-source with your bucket name - Press on Create
- Click on Simulation Job and then press on Create simulation job
- Choose how many time your simulation needs (e.g. 15minutes)
- Choose a robomaker role (e.g. erwhi-robomaker)
- Add a path for logs and bags, it should be something like:
s3://bucket-output
NOTE: edit bucket-output with your bucket name - Press on Next
- Select None for robot application and confirm by pressing Next
- Choose erwhi-sim application
- In launch package name, type:
erwhi_gazebo
and in launch file:erwhi_gazebo.launch
- Press Next
- Review your simulation job, then press Create
- Wait for green running label
You can use same tutorial for standard Gazebo or simply:
- open gazebo with a double-click
- open rviz with a double-click
- in rviz add RobotModel and MapCloud
- using 2D Nav Goal Erwhi will reach a position
- to run autonomous navigation open terminal with a double-click and type:
roslaunch erwhi_navigation explore.launch
Copyright (c) 2019 Giovanni di Dio Bruno under MIT license