Apartment Navigation By Classic Wheeled Robot
Comprehensive Production Grade Repository For Apartment Navigation Project (Inspired By Udacity Course)
 
Loading...
Searching...
No Matches
robot_control::ball_chaser::ProcessImage Class Reference

ROS 2 client node that processes camera images to detect and chase a white ball. More...

#include <process_image_node.hpp>

Inheritance diagram for robot_control::ball_chaser::ProcessImage:

Public Member Functions

 ProcessImage ()
 Constructs and initializes the ProcessImage node.
 

Detailed Description

ROS 2 client node that processes camera images to detect and chase a white ball.

Subscribes to camera images, detects the white ball using configurable RGB thresholds, and commands the robot to drive toward it. Stops the robot when the ball is not detected. Linear and angular speeds are configurable via ROS parameters.

Constructor & Destructor Documentation

◆ ProcessImage()

robot_control::ball_chaser::ProcessImage::ProcessImage ( )

Constructs and initializes the ProcessImage node.

Initializes camera subscription, drive client, and loads configuration parameters for ball detection thresholds and velocity limits.


The documentation for this class was generated from the following files: