nlitz88 / workzone

Workzone Boundary Detection
MIT License
1 stars 0 forks source link

Create Workzone Boundary Detection ROS Node #18

Closed nlitz88 closed 4 months ago

nlitz88 commented 5 months ago

Basically, we need a ROS node that takes the OpenCV code we have written and wraps it up in a ROS node so that it can ingest 2D costmap images with bounding boxes (or whatever format the data comes in as) and spit out a 2D occupancy grid OR image (or whatever we decide on) with the workzone segmented.

Some rough ideas/requirements/notes:

CMUBOB97 commented 5 months ago

I have transferred the boundary_generation.py to a new python ROS2 galactic package.

The colcon build works with boundary_node generated and a launch file working.

Here are a few things to do today (Marked as # TODO in comments, Apr 19th, Friday):

tag @nlitz88 for help because my GPU is SHHHHHHHHHHHHHHHHHHHHIT!!!!!!!!!!!

nlitz88 commented 5 months ago

find function calls that convert between sensor_msgs/msg/Image and np.ndarray

I'm not 100% sure, but I believe this is what cv_bridge is for. Maybe that would work?

rewrite display image function so that intermediate outputs will be displayed as separate topics

Also, this is a great idea :100:

nlitz88 commented 5 months ago

https://github.com/CMUBOB97/ROS2-Boundary-Segmentation

nlitz88 commented 5 months ago

Image

Tada!