Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1 from ryanewel/master
Browse files Browse the repository at this point in the history
Add camera node during deployment; add VPC config to roboMakerSettings.json
  • Loading branch information
samuelgundry authored Dec 14, 2018
2 parents e3d728a + 3be178e commit 9a57530
Show file tree
Hide file tree
Showing 15 changed files with 55 additions and 721 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,22 @@ colcon build
Launch the application with the following commands:

- *Running Robot Application on a Robot*

Once the bundle has been created, it can be deployed using RoboMaker. For information about deploying using RoboMaker, see [this documentation](https://docs.aws.amazon.com/robomaker/latest/dg/gs-deploy.html).

You must also complete the Raspberry Pi camera setup for the TurtleBot WafflePi, outlined
[here](http://emanual.robotis.com/docs/en/platform/turtlebot3/appendix_raspi_cam/#raspberry-pi-camera).

You must run the following command before running the Robot Application on the robot.
```bash
source robot_ws/install/local_setup.sh
sudo chmod 777 /dev/video0
```

You may also upload and run the bundle manually. Once the bundle has been manually uploaded to the target TurtleBot WafflePi, ssh into the TurtleBot and run

```bash
export BUNDLE_CURRENT_PREFIX=/path/to/bundle/
source $BUNDLE_CURRENT_PREFIX/setup.sh
roslaunch person_detection_robot deploy_person_detection.launch
```

Expand Down
7 changes: 6 additions & 1 deletion roboMakerSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@
"outputLocation":"<S3 bucket name for job outputs>",
"failureBehavior":"Fail",
"maxJobDurationInSeconds":28800,
"iamRole":"<IAM role ARN for RoboMaker>"
"iamRole":"<IAM role ARN for RoboMaker>",
"vpcConfig": {
"assignPublicIp": true,
"securityGroups": [ "<security group id>" ],
"subnets": [ "<subnet id>" ]
}
}
}
},
Expand Down
Loading

0 comments on commit 9a57530

Please sign in to comment.