Afterwards, run the below line to turn on the camera. The camera needs to be on for us to capture its output rostopic to subscribe to with YOLO.
roslaunch jetson_camera jetson_camera.launch
Next, run the below line to find a list of rostopsics. The topic we are looking for should be called /main_camera/image_raw.
Image courtesy of Omorobot.
Next, return home and run the below line to enter the launch directory of darknet_ros.
Run the below line to open darknet_ros.launch in nano.
Next, we edit darknet_ros.launch so that the default for <arg name="image"> continues to run normally. In darknet_ros.launch, change the command at the arrows to reflect the images below.
Run YOLO
To run YOLO, enter the below command into the terminal shell.
To see the visual output from YOLO, run the below command in the terminal shell to open rqt_image_view.