Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Ar-Ray-code committed Sep 23, 2024
1 parent c747e14 commit 1002abc
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions yolox_ros_cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## Requirements
- ROS2 Iron
- ros-iron-generate-parameter-library
- ros-iron-vision-msgs
- ros-iron-usb-cam
- ros-jazzy-generate-parameter-library
- ros-jazzy-vision-msgs
- ros-jazzy-usb-cam
- OpenCV 4.x
- OpenVINO 2024.*
- TensorRT 10.x *
Expand All @@ -23,7 +23,7 @@
## Clone YOLOX-ROS
```bash
cd ~/ros2_ws/src
git clone --recursive https://github.com/Ar-Ray-code/YOLOX-ROS -b iron
git clone --recursive https://github.com/Ar-Ray-code/YOLOX-ROS -b jazzy
```

## Model Convert or Download
Expand Down Expand Up @@ -75,16 +75,15 @@ cd ~/ros2_ws

```bash
# build with openvino
source /opt/ros/humble/setup.bash
source /opt/intel/openvino_2021/bin/setupvars.sh
source /opt/ros/jazzy/setup.bash
colcon build --symlink-install --cmake-args -DYOLOX_USE_OPENVINO=ON
```

### TensorRT

```bash
# build with tensorrt
source /opt/ros/iron/setup.bash
source /opt/ros/jazzy/setup.bash
colcon build --symlink-install --cmake-args -DYOLOX_USE_TENSORRT=ON
```

Expand All @@ -95,7 +94,7 @@ colcon build --symlink-install --cmake-args -DYOLOX_USE_TENSORRT=ON
https://www.tensorflow.org/lite/guide/build_cmake

Below is an example build script.
Please change `${WORKSPACE}` as appropriate for your environment.
Please change `${WORKSPACE}` as appropriate for your envjazzyment.
```bash
export WORKSPACE=${HOME}/ws_tflite
mkdir -p ${WORKSPACE}
Expand Down

0 comments on commit 1002abc

Please sign in to comment.