Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New line following algo #104

Conversation

JoeyLai1234
Copy link
Contributor

change the algo for line following to resolve delay issue

return '', ''


class LineResponse(Node):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class LineResponse(Node):
class LineDetectionNode(Node):


self.get_logger().info(f"Linear: {linear}\nAngular: {angular:.2f}")

message1 = String()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better create a custom message to contain both fields

@mangdangroboticsclub mangdangroboticsclub merged commit ada2bae into mangdangroboticsclub:ros2-dev Aug 23, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants