-
Notifications
You must be signed in to change notification settings - Fork 4
Step 3: Create a Development Environment and Build packages on AWS RoboMaker
- 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. upbot-env)
- Choose an instance type, default is m4.large
- Select VPC and Subnets
- Press on Create
- Click on your environment (e.g. upbot-env) and then press to Open environment, Cloud9 will open
- You need to create a ROS workspace so in terminal tab type:
$ mkdir -p upbot_ws/src
- Now you need to install dependencies for Intel Realsense D435 ROS package. Follow this guide referencing Ubuntu 16.04 and install all packages.
- Install upboard-extras:
$ sudo add-apt-repository ppa:ubilinux/up
$ sudo apt-get update
$ sudo apt-get install upboard-extras
$ sudo usermod -a -G gpio ${USER}
$ sudo usermod -a -G leds ${USER}
$ sudo usermod -a -G i2c ${USER}
$ sudo usermod -a -G spi ${USER}
$ sudo usermod -a -G dialout ${USER}
$ sudo reboot
- You need to install MRAA, too. Just type:
$ sudo add-apt-repository ppa:mraa/mraa
$ sudo apt-get update
$ sudo apt-get install mraa-tools mraa-examples libmraa1 libmraa-dev libupm-dev libupm1 upm-examples
$ sudo apt-get install python-mraa python3-mraa node-mraa libmraa-java
-
In terminal tab type:
$ cd upbot_ws/src
-
Now type:
$ git clone https://github.com/gbr1/upbot_ros.git
$ git clone https://github.com/gbr1/upboard_ros.git
$ 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/IntelRealSense/realsense-ros.git
-
Checkout Realsense ROS 2.2.9:
$ cd realsense-ros
$ git checkout tags/2.2.9
$ cd ..
-
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/upbot.tar
NOTE: edit bucket-source with your bucket name
Copyrights (c) 2019 Giovanni di Dio Bruno under MIT license.