You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-15Lines changed: 29 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,32 +94,46 @@ export WORLD_ID=<worldId>
94
94
95
95
## Using this sample with RoboMaker
96
96
97
-
You first need to install colcon-ros-bundle. Python 3.5 or above is required.
97
+
You first need to install [Docker](https://docs.docker.com/get-docker/) and [VCS Import Tool](http://wiki.ros.org/vcstool) (if you use VCS Import Tool). Python 3.5 or above is required.
98
98
99
99
```bash
100
-
pip3 install -U setuptools
101
-
pip3 install colcon-ros-bundle
100
+
pip3 install vcstool
102
101
```
103
102
104
-
After colcon-ros-bundle is installed you need to build your robot or simulation, then you can bundle with:
103
+
After Docker and VCS Import Tool is installed you need to build your robot or simulation docker images:
105
104
106
105
```bash
107
-
# Bundling Robot Application
108
-
cd robot_ws
109
-
source install/local_setup.sh
110
-
colcon bundle
106
+
# Import dependencies defined in .rosinstall to each source directory using vcs import
This produces the Docker Images `robomaker-helloworld-robot-app` and `robomaker-helloworld-sim-app` respectively which you can view by running:
127
+
128
+
```bash
129
+
# Listing your Docker Images
130
+
docker images
116
131
```
117
132
118
-
This produces the artifacts `robot_ws/bundle/output.tar` and `simulation_ws/bundle/output.tar` respectively.
119
-
You'll need to upload these to an s3 bucket, then you can use these files to
133
+
You'll need to [upload these images to Amazon ECR](https://docs.aws.amazon.com/robomaker/latest/dg/development-publish-app-containers.html), then you can use these files to
120
134
[create a robot application](https://docs.aws.amazon.com/robomaker/latest/dg/create-robot-application.html),
121
135
[create a simulation application](https://docs.aws.amazon.com/robomaker/latest/dg/create-simulation-application.html),
122
-
and [create a simulation job](https://docs.aws.amazon.com/robomaker/latest/dg/create-simulation-job.html) in RoboMaker.
136
+
and [create a simulation job](https://docs.aws.amazon.com/robomaker/latest/dg/create-simulation-job.html) in RoboMaker. Visit the [preparing-ros-application-and-simulation-containers-for-aws-robomaker](https://aws.amazon.com/blogs/robotics/preparing-ros-application-and-simulation-containers-for-aws-robomaker/#:~:text=Bash-,Publish%20docker%20images%20to%20Amazon%20ECR,-Containers%20used%20by) blog post to find the steps to upload these docker images to Amazon ECR.
0 commit comments