AWS RoboMaker
Developer Guide

Step 3: Configure Environment and Build Applications

In this section, you create a AWS Cloud9 development environment integrated with AWS RoboMaker and install the Hello World code. In the development environment, you modify the robot application, and then build the robot and simulation application.

Create a development environment

The AWS Cloud9 development environment provides the tools to develop robot applications and simulation applications with ROS and AWS RoboMaker.

To create a development environment:

  1. Sign in to the AWS RoboMaker console at https://us-west-2.console.aws.amazon.com/robomaker/home/.

  2. On the left, expand Development, choose Development environments, and then choose Create environment.

  3. In the Create AWS RoboMaker development environment page, enter HelloWorld as the environment name.

  4. Accept the default Instance type (m4.large). You can select different instances type to improve bundling performance.

  5. Select a VPC. Use the default VPC.

  6. Select a Subnet.

  7. Choose Create to create the AWS Cloud9 development environment.

Modify and Build Applications

In this section, you use the AWS Cloud9 development environment to modify the robot application to rotate counter-clockwise and then build the robot and simulation application.

To build the robot and simulation applications

  1. Sign in to the AWS RoboMaker console at https://us-west-2.console.aws.amazon.com/robomaker/home/.

  2. On the left, expand Development, choose Development environments, select HelloWorld, and then choose Open environment. It might take a few minutes to prepare the development environment.

  3. In the HelloWorld AWS Cloud9 development environment, choose AWS RoboMaker Resources, then choose Download samples, and then select 1. Hello World.

  4. On the left, in the Environment tab, expand HelloWorld, HelloWorld, robot_ws. src, hello_world_robot, and then nodes. Select the file rotate to load into the editor.

  5. In the rotate tab, on line 15, modify the code to make the robot turn clockwise by making the rate negative: self.twist.angular.z = -0.1. Save the file by selecting File and then Save.

  6. Build the robot application. On the menu, choose AWS RoboMaker Run, then choose Build, and then select HelloWorld Robot.

  7. Build the simulation application. On the menu, choose AWS RoboMaker Run, then choose Build, and then select HelloWorld Simulation.

Next Step

Step 4: Run Simulation