one more update to readme

This commit is contained in:
Apoorva Gupta 2023-03-29 14:23:52 +05:30
parent 9189153436
commit 3c49096d39

View File

@ -73,7 +73,7 @@ The following input/ros topics are needed:
ROS Paramater Input: ROS Paramater Input:
- best_weights: String that is the path to the best weights file of yolov3 detection - best_weights: String that is the path to the best weights file of yolov3 detection
Defaults: `'src/pipe_weights.pt'` Defaults: `'src/pipe_weights.pt'` inside `ros2_ws` folder
The following are the output topics: The following are the output topics:
- /detection_image: The RGB Image topic with bounding box drawn on it for visualization and debugging purpose - /detection_image: The RGB Image topic with bounding box drawn on it for visualization and debugging purpose
@ -86,6 +86,7 @@ How to build and run?
``` ```
$ colcon build --packages-select yolov3_ros $ colcon build --packages-select yolov3_ros
$ . install/setup.bash $ . install/setup.bash
$ cd greenhouse/ros2_ws/
$ ros2 launch yolov3_ros pipe_detection.launch.py $ ros2 launch yolov3_ros pipe_detection.launch.py
``` ```
All the topics can be remapped in the launch file. The path to best_weights can also be changed inside the launch file. All the topics can be remapped in the launch file. The path to best_weights can also be changed inside the launch file.