Skip to content

Sort Data before it goes into the backend. #11

@redto0

Description

@redto0

Basicall just add a function to the PolynomialPlannerAi::polynomial_cb and put it before the

std::optional<nav_msgs::msg::Path> path_optional =
backend::create_path(cv_points_left, cv_points_right, camera_rgb, frame_id);

to sort the contours before we get them. You can write your own sorting algorithm or borrow one from else where. Make sure its good to use and you credit them in there headers

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions