Easy Rocap: A Low-Cost and Easy-to-Use Motion Capture System for Drones

Haoyu Wang, Chi Chen, Yong He, Shangzhe Sun, Liuchun Li, Yuhang Xu, Bisheng YangDrones 2024 · DOI

TL;DR

This paper introduces "Easy Rocap," a low-cost, open-source motion capture system for robots like drones. It uses off-the-shelf cameras and special markers to achieve accurate 3D pose estimation, outperforming traditional SLAM methods in stability and robustness, especially in challenging environments.

What Problem Does This Paper Address?

Accurate pose estimation (knowing a robot's position and orientation) is critical for autonomous navigation and control. While GPS works outdoors, it's unreliable indoors. Existing indoor solutions like visible light positioning can be expensive and require specialized hardware. Commercial motion capture (Mocap) systems are also costly and often proprietary. Camera-based Mocap systems are susceptible to lighting issues and occlusions. This paper aims to bridge this gap by providing a low-cost, easy-to-use, and robust motion capture system for robots, particularly drones, that can operate effectively even with environmental noise and partial occlusions.

Methods

Easy Rocap employs a multi-stage approach:

  • Two-Stage Keypoints Detection Model (TKDM): This module uses a real-time object detector (YOLOX) to identify robots and their markers in camera feeds. A crucial addition is an object-filtering algorithm that uses class and confidence scores to eliminate false detections, making it more robust to environmental noise.
  • Multi-View Correspondences: To maintain tracking continuity and handle occlusions, a Multiple Object Tracking (MOT) algorithm is used. This module assigns unique IDs to markers and tracks them across frames. It then leverages epipolar constraints to match corresponding marker points across different camera views, ensuring geometric consistency.
  • Multi-View Camera Triangulation: Once correspondences are established, calibrated multi-view cameras are used to triangulate the 3D coordinates of the markers. The system uses Zhang's camera calibration method for intrinsic and extrinsic parameters. For triangulation, they employ a weighted linear equation approach, where marker confidences are used as weights to improve robustness against occlusions or unreliable detections from certain views. The final robot pose is derived from the 3D positions of its markers.

Datasets

The paper utilizes both simulated and real-world datasets:

  • Simulation Data: Collected from the Gazebo robot simulation software, providing ground truth trajectories for UAVs and UGVs with markers. This dataset includes scenarios with and without obstacles.
  • Real-World Data: Collected from experiments involving UGV and UAV platforms equipped with markers. This data also includes LiDAR data, which is used for comparison with LiDAR-Inertial SLAM algorithms.

The authors collected approximately 1200 sample images for training their object detector.

Key Insights and Ideas

  • Cost-Effectiveness is Key: The system's reliance on consumer-grade cameras (Intel RealSense D455) and readily available components significantly lowers the barrier to entry compared to commercial Mocap systems.
  • Robustness through Filtering and Tracking: The combination of a refined object detector (TKDM with filtering) and a multi-object tracking approach is crucial for handling real-world challenges like lighting variations and partial occlusions.
  • Multi-view Confidence Weighting: Using marker detection confidences as weights in the triangulation process is a smart way to mitigate the impact of unreliable detections from specific camera views, leading to more stable 3D pose estimation.
  • SLAM vs. Easy Rocap: The paper highlights that while SLAM methods can be powerful, they are prone to drifts, especially during turns. Easy Rocap offers a more stable and continuous trajectory, particularly in challenging maneuvers.

Key Results

  • Simulation Accuracy: Average position estimation error less than 0.008 m, and average orientation error less than 0.65 degrees.
  • Real-time Performance: Pose estimation speed reaches up to 30 Hz.
  • Comparison with SLAM: In real-world scenarios, Easy Rocap demonstrated more stable and accurate trajectories compared to an advanced LiDAR-Inertial SLAM algorithm, showing less drift and accumulated error, particularly during turns.
  • Translation Accuracy: In simulation, average translational error is less than 0.8 cm.

Limitations and Future Work

  • Long-Term Occlusions: The current MOT algorithm relies on kinematic models and doesn't explicitly use appearance information, making it potentially susceptible to long-term occlusions. While a response mechanism for reappearing targets is implemented, it can take up to 0.5 seconds.
  • Camera Resolution vs. Speed: There's a trade-off between camera resolution (affecting the effective capture area) and transmission speed.
  • Lens Distortion: Distortion at the lens edge can slightly affect 3D coordinate accuracy when markers are at the edge of the camera's field of view.

Future work includes:

  • Improving accuracy and speed by utilizing high-performance computers and higher-resolution cameras to expand the effective capture area.
  • Exploring marker-less methods for robot 3D pose estimation using 2D feature maps.

Summary updated

Abstract

Fast and accurate pose estimation is essential for the local motion control of robots such as drones. At present, camera-based motion capture (Mocap) systems are mostly used by robots. However, this kind of Mocap system is easily affected by light noise and camera occlusion, and the cost of common commercial Mocap systems is high. To address these challenges, we propose Easy Rocap, a low-cost, open-source robot motion capture system, which can quickly and robustly capture the accurate position and orientation of the robot. Firstly, based on training a real-time object detector, an object-filtering algorithm using class and confidence is designed to eliminate false detections. Secondly, multiple-object tracking (MOT) is applied to maintain the continuity of the trajectories, and the epipolar constraint is applied to multi-view correspondences. Finally, the calibrated multi-view cameras are used to calculate the 3D coordinates of the markers and effectively estimate the 3D pose of the target robot. Our system takes in real-time multi-camera data streams, making it easy to integrate into the robot system. In the simulation scenario experiment, the average position estimation error of the method is less than 0.008 m, and the average orientation error is less than 0.65 degrees. In the real scenario experiment, we compared the localization results of our method with the advanced LiDAR-Inertial Simultaneous Localization and Mapping (SLAM) algorithm. According to the experimental results, SLAM generates drifts during turns, while our method can overcome the drifts and accumulated errors of SLAM, making the trajectory more stable and accurate. In addition, the pose estimation speed of our system can reach 30 Hz.
BibTeX
@inproceedings{wang2024easy,
  author = {Haoyu Wang and Chi Chen and Yong He and Shangzhe Sun and Liuchun Li and Yuhang Xu and Bisheng Yang},
  title = {{Easy Rocap: A Low-Cost and Easy-to-Use Motion Capture System for Drones}},
  booktitle = {Drones},
  year = {2024},
  doi = {10.3390/drones8040137},
}
Figure