Singapore Amazing Flying Machine Competition (SAFMC) 2021 is an annual indoor unmanned aerial vehicle (UAV) students competition in Singapore. Participants design, build and fly their UAV platforms. Here we designed, built and flew autonomous quadrotor, equipped with vision-aided navigation capacity for the indoor flight challenges D2. We utilized the well-known and available vision-aided navigation tools from OpenCV, i.e. color detection, edge detection, QR-code detection and circle detection. The camera used are Zed-M and OpenMV to assist in depth estimation. We design and integrate our own Visual-Inertial Odometry (VIO) system and based on ROS architecture on Intel Xavier companion computer and talk to Pixhawk flight controller, and perform several tasks in SAFMC 2021. For indoor flights, the drone could perform and complete all missions. We also conduct outdoor flights and the drone could fly well with vision-aided navigation for waypointing and obstacles avoidances.