Build the ROS Code:
cd ~/catkin_ws
, assuming the typical ROS install.catkin_make
This ros node will use the messages published by cone_finder node and publish mavros/rc/override messages for throttle and steering. To use this node:
roslaunch cone_finder cone_seeker.launch|cone_seeker_video.launch
Both launch files will invoke cone_finder node.
This ros node will detect cones in images published by realsense_camera node or a video feed or images in a directory. To run as ROS node, use:
roslaunch cone_finder cone_finder.launch|cone_finder_video.launch
The launch files will start the realsense_camera node automatically.
Alternatively, use:
rosrun cone_finder detect_cones.py [-d] [r] [-p]
Topic published: * /cone_finder/locations * /cone_finder/rgbImage * /cone_finder/depthImage
- See cone_finder/msg/locations_msg.msg for details