This repo presents the code for a open palm tracking using a STorm32-BGC 3 axis gimbal controller hardware and a logitech c270 camera. Following task has been presented:
- PID controller tuning of gimbal controller for better attitude tracking.
- Object tracking (open palm of a person) using ros_deep_learning package (https://github.com/dusty-nv/ros_deep_learning).
- Tracking the detected object at image center by passing orientation command to gimbal controller and move the camera.
Updating soon.
For detection, MobileNetV1-SSD model has been trained on open palm dataset collected in the laboratory. Few images are shown below.
The deviation of detected palm from image center is calculated, corresponding angle (Yaw, Roll and Pitch) required to keep the detected object at image center is calculated and communicated to gimbal controller.
ROS package for gimbal controller has been taken from McGill robotics (https://github.com/rk800506/stm32_bgc_ranjeet_version). Attitute commands can be communicated to the hardware.