aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuneChul Roh2020-12-13 22:32:01 -0600
committerJuneChul Roh2020-12-13 22:32:01 -0600
commit5bfbc1208f10bbc6b1dfed8a12577912e7024356 (patch)
treef34364d789a5fc7cfe2112478d35a87e0a4e0744
parent8b0ae04f3e05fe01f2efdaea51dc59e2364c9f0b (diff)
downloadjacinto_ros_perception-5bfbc1208f10bbc6b1dfed8a12577912e7024356.tar.gz
jacinto_ros_perception-5bfbc1208f10bbc6b1dfed8a12577912e7024356.tar.xz
jacinto_ros_perception-5bfbc1208f10bbc6b1dfed8a12577912e7024356.zip
Updated .md files for better formatting
-rw-r--r--docker/README.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/docker/README.md b/docker/README.md
index 4f02a35..16587c5 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -46,6 +46,7 @@ Figure 1 shows the hardware setup and high-level installation steps on the J7 ta
46 mkdir -p $CATKIN_WS/src 46 mkdir -p $CATKIN_WS/src
47 cd $CATKIN_WS/src 47 cd $CATKIN_WS/src
48 ``` 48 ```
49
492. Clone the project GIT repository:<br> 502. Clone the project GIT repository:<br>
50 ``` 51 ```
51 git clone https://git.ti.com/git/processor-sdk-vision/jacinto_ros_perception.git 52 git clone https://git.ti.com/git/processor-sdk-vision/jacinto_ros_perception.git
@@ -58,6 +59,7 @@ Figure 1 shows the hardware setup and high-level installation steps on the J7 ta
58 cd $WORK_DIR 59 cd $WORK_DIR
59 ln -s $CATKIN_WS/src/jacinto_ros_perception/docker/Makefile 60 ln -s $CATKIN_WS/src/jacinto_ros_perception/docker/Makefile
60 ``` 61 ```
62
612. To download data files, run the following in `$WORK_DIR`:<br> 632. To download data files, run the following in `$WORK_DIR`:<br>
62 ``` 64 ```
63 make data_download 65 make data_download
@@ -69,11 +71,13 @@ Figure 1 shows the hardware setup and high-level installation steps on the J7 ta
69 71
701. Following [this link](https://docs.docker.com/get-started/#test-docker-installation), 721. Following [this link](https://docs.docker.com/get-started/#test-docker-installation),
71check that Docker and network work correctly on the J7 host Linux. 73check that Docker and network work correctly on the J7 host Linux.
74
722. To generate bash scripts for building and running a Docker image for the project:<br> 752. To generate bash scripts for building and running a Docker image for the project:<br>
73 ``` 76 ```
74 make scripts 77 make scripts
75 ``` 78 ```
76 Make sure that two bash scripts named `docker_build.sh` and `docker_run.sh` are generated. 79 Make sure that two bash scripts named `docker_build.sh` and `docker_run.sh` are generated.
80
773. To build the Docker image, at `$WORK_DIR` run:<br> 813. To build the Docker image, at `$WORK_DIR` run:<br>
78 ``` 82 ```
79 ./docker_build.sh 83 ./docker_build.sh
@@ -93,11 +97,13 @@ Open another terminal on Ubuntu PC to set up environment for RViz visualization.
93 cd $CATKIN_WS/src 97 cd $CATKIN_WS/src
94 git clone https://git.ti.com/git/processor-sdk-vision/jacinto_ros_perception.git 98 git clone https://git.ti.com/git/processor-sdk-vision/jacinto_ros_perception.git
95 ``` 99 ```
100
962. Build ROS nodes:<br> 1012. Build ROS nodes:<br>
97 ``` 102 ```
98 cd $CATKIN_WS 103 cd $CATKIN_WS
99 catkin_make 104 catkin_make
100 ``` 105 ```
106
1013. ROS network setting: For convenience, set up a soft-link:<br> 1073. ROS network setting: For convenience, set up a soft-link:<br>
102 ``` 108 ```
103 ln -s src/jacinto_ros_perception/setup_env_pc.sh 109 ln -s src/jacinto_ros_perception/setup_env_pc.sh
@@ -124,6 +130,7 @@ After launching ROS nodes on the J7, we can check the all the ROS topics by runn
124 ``` 130 ```
125 ./docker_run.sh 131 ./docker_run.sh
126 ``` 132 ```
133
1272. To build ROS applications, inside the Docker container:<br> 1342. To build ROS applications, inside the Docker container:<br>
128 ``` 135 ```
129 cd $CATKIN_WS 136 cd $CATKIN_WS
@@ -141,6 +148,7 @@ After launching ROS nodes on the J7, we can check the all the ROS topics by runn
141 ``` 148 ```
142 roslaunch ti_sde bag_sde.launch 149 roslaunch ti_sde bag_sde.launch
143 ``` 150 ```
151
1442. **[Remote PC]** For visualization, on the PC:<br> 1522. **[Remote PC]** For visualization, on the PC:<br>
145 ``` 153 ```
146 roslaunch ti_sde rviz.launch 154 roslaunch ti_sde rviz.launch
@@ -156,13 +164,14 @@ After launching ROS nodes on the J7, we can check the all the ROS topics by runn
156 ``` 164 ```
157 roslaunch ti_semseg_cnn bag_semseg_cnn.launch 165 roslaunch ti_semseg_cnn bag_semseg_cnn.launch
158 ``` 166 ```
167
1592. **[Remote PC]** For visualization, on the PC:<br> 1682. **[Remote PC]** For visualization, on the PC:<br>
160 ``` 169 ```
161 roslaunch ti_semseg_cnn rviz.launch 170 roslaunch ti_semseg_cnn rviz.launch
162 ``` 171 ```
163## Run Stereo Vision and CNN Semantic Segmentation Together 172## Run Stereo Vision and CNN Semantic Segmentation Together
164 173
1651. **[J7]** To launch `ti_sde` and `ti_semseg_cnn` tigether with playing back a ROSBAG file, run the following in `$WORK_DIR` on the J7 host Linux:<br> 1741. **[J7]** To launch `ti_sde` and `ti_semseg_cnn` together with playing back a ROSBAG file, run the following in `$WORK_DIR` on the J7 host Linux:<br>
166 ``` 175 ```
167 ./docker_run.sh roslaunch ti_sde bag_sde_semseg.launch 176 ./docker_run.sh roslaunch ti_sde bag_sde_semseg.launch
168 ``` 177 ```
@@ -170,6 +179,7 @@ After launching ROS nodes on the J7, we can check the all the ROS topics by runn
170 ``` 179 ```
171 roslaunch ti_sde bag_sde_semseg.launch 180 roslaunch ti_sde bag_sde_semseg.launch
172 ``` 181 ```
182
1732. **[Remote PC]** For visualization, on the PC:<br> 1832. **[Remote PC]** For visualization, on the PC:<br>
174 ``` 184 ```
175 roslaunch ti_sde rviz_sde_semseg.launch 185 roslaunch ti_sde rviz_sde_semseg.launch