This project aims to track face on 1 axis using rosserial_arduino package.
This package has following nodes.
- cam_ros
- face_detector
- serial_node
cam_ros converts opencv images to sensor_msgs/Image format
| topic | type |
|---|---|
/camera/image |
sensor_msgs/Image |
face_detector detects x location of face and calculates servo input to keep the face in the middle of image.
| topic | type |
|---|---|
/camera/image |
sensor_msgs/Image |
| topic | type |
|---|---|
/servo_controller |
std_msgs/Int16 |
serial_node provides communication between servo_controller topic and arduino.
| topic | type |
|---|---|
/servo_controller |
std_msgs/Int16 |