Robust Trajectory Generation and Control for Quadrotor Motion Planning with Field-of-View Control Barrier Certification Thanks: Mattia Catellani and Lorenzo Sabattini are with the Department of Sciences and Methods for Engineering, University of Modena and Reggio Emilia, 41121 Modena, Italy. Email: {mattia.catellani, lorenzo.sabattini}@unimore.it . Lishuo Pan, Mattia Catellani, Lorenzo Sabattini, Nora Ayanian Abstract Many approaches to multi-robot coordination are susceptible to failure due to communication loss and uncertainty in estimation. We present a real-time communication-free distributed navigation algorithm certified by control barrier functions, that models and controls the onboard sensing behavior to keep neighbors in the limited field of view for position estimation. The approach is robust to temporary tracking loss and directly synthesizes control to stabilize visual contact through control Lyapunov-barrier functions. The main contributions of this paper are a continuous-time robust trajectory generation and control method certified by control barrier functions for distributed multi-robot systems and a discrete optimization procedure, namely, MPC-CBF, to approximate the certified controller. In addition, we propose a linear surrogate of high-order control barrier function constraints and use sequential quadratic programming to solve MPC-CBF efficiently. I Introduction Multi-robot systems, such as those used in search and rescue [ 1 ] , active target tracking [ 2 ] , and collaborative transportation [ 3 ] , demand real-time distributed coordination solutions robust to communication compromises. Communication is vulnerable to adversarial attacks and faces challenges such as dropped messages, delays, and scalability [ 4 ] . In contrast, onboard sensing to estimate neighbors’ states is robust to compromised communication. However, one major challenge is dealing with imperfect perception. For instance, onboard cameras typically have a restricted angular field of view, leading to a trade-off between task completion and neighbor detection. Although 360^{\circ} cameras offer an omnidirectional field of view, object tracking on 360^{\circ} images remains challenging due to significant distortions and stitching artifacts [ 5 ] . In addition, the limited frame rate and uncertainty pose challenges for practical applications. For instance, a robot may lose track of a neighbor due to image blur caused by the vehicle motion or inaccurate estimation due to measurement noise. In this work, we present a real-time robust trajectory generation and control strategy for navigation tasks in distributed multi-robot systems that respects visual contact in communication-denied environments. Keeping neighbors in the field of view during navigation is challenging due to the abovementioned limitations. When estimation uncertainty is present or it is infeasible to track all neighbors, temporary compromises of field-of-view constraints are inevitable. A robust controller is demanded to regain the visual contact between robots in such scenarios. Our robust control strategy utilizes control barrier functions (CBFs) [ 6 ] to maintain visual contact with neighbors and regain it after temporary loss. Fig. 1 : Long exposure top view of 2 quadrotors navigating with distributed controller respecting field-of-view constraints. The red and blue triangles are the fields of view of UAV1 and UAV2. The sensing ranges extend beyond triangles and are omitted in the figure. Curves represent the robot routes. We consider a continuous-time trajectory and control generation problem certified by CBFs. We consider a double integrator model, which requires high-order control barrier functions (HOCBFs) to satisfy the field-of-view constraints. Tracking robustness follows from the Lyapunov-like property of HOCBFs. We propose a discrete optimization framework, model predictive control with control barrier functions (MPC-CBF). Since imposing HOCBF constraints for all times in the horizon is intractable, MPC-CBF applies constraints at sampled time stamps to approximate the certified solution. We introduce a linear surrogate for HOCBF constraints and solve MPC-CBF via sequential quadratic programming (SQP) using a quadratic programming (QP) solver. Our framework jointly generates a certified continuous-time trajectory and a controller in real time using piecewise splines. Our algorithm provides inputs up to an arbitrary order of derivatives. Our contributions can be summarized as follows: • a real-time distributed controller that maintains visual contact between robots in communication-denied areas and tolerates temporary tracking loss during navigation; • a continuous-time spline-based trajectory and control generation method certified by control barrier functions; • an optimization framework, namely MPC-CBF, that imposes the HOCBF constraints at sampled time stamps and approximates the certified solution. We will open-source our proposed algorithm at https://github.com/LishuoPan/fovmpc . We demonstrate our algorithm in simulations with up to 10 robots and in physical experiments with 2 custom-built UAVs, shown in Fig. 1 . II Related Work Control barrier functions provide sufficient and necessary conditions to guarantee safety [ 7 ] . Despite success in collision avoidance [ 8 ] , lane keeping and adaptive cruise control [ 9 ] , CBFs synthesize reactive control that can be short-sighted behaviors in planning tasks. For instance, CBF-based controllers can cause deadlocks in multi-robot navigation [ 10 ] , and aggressive trajectory and heading controls that lead to more failures in visual maintenance and goal reaching in visual contact navigation [ 11 ] . CBFs have recently been applied to limited field-of-view problems: in [ 12 ] for only static gates in drone racing, in [ 13 ] for pursuit settings to track a moving target, and in [ 14 ] for multi-robot navigation with triangular sensing. However, the approach in [ 14 ] requires centralized intervention and omnidirectional sensing. In this work, we combine planning with CBFs to overcome such disadvantages. Attempts have been made to combine MPC with CBFs in a discrete-time formulation [ 15 ] . Our continuous-time controller improves system responsiveness and stability. In continuous-time formulations, a multi-layer controller [ 16 ] solves optimal control with CBF constraints. Our approach provides additional smoothness and derivatives up to an arbitrary order. A spline-based trajectory generation method imposes CBF constraints utilizing polygonal cells [ 17 ] ; however, it only solves the trajectory and requires separate control synthesis. Instead, our framework solves trajectory and control concurrently . Our approach has the following advantages. 1) It unifies trajectory and control generation: control inputs can be computed directly from the trajectory. 2) It provides smooth control inputs up to an arbitrary derivative order. 3) It delivers continuous-time trajectory and control, thus responding better to delays and stabilizing agile systems. 4) It performs in real time. III Preliminaries III-A Bézier Curve We use piecewise splines f(t) to impose smoothness requirements in the trajectory generation problem and obtain a trajectory with derivatives up to an arbitrary defined order. The i -th Bézier curve in the piecewise splines f_{i}:\left[0,\tau_{i}\right]\rightarrow\mathbb{R}^{d} is parameterized by time, with duration \tau_{i} . The Bézier curve of arbitrary degree h with duration \tau_{i} is defined by h+1 control points \boldsymbol{\mathcal{U}}_{i}=\left[\boldsymbol{u}_{i,0};\ldots;\boldsymbol{u}_{i,h}\right] . We first construct Bernstein polynomials \boldsymbol{B}_{v}^{h}\in\mathbb{R} of degree h [ 18 ] : \displaystyle\boldsymbol{B}_{v}^{h}=\binom{h}{v}\left(\frac{t}{\tau}\right)^{v}\left(1-\frac{t}{\tau}\right)^{h-v},\forall t\in\left[0,\tau\right], (1) where v=0,1,\cdots,h . A d -dimensional Bézier curve is defined as f_{i}(t)=\sum_{v=0}^{h}\boldsymbol{u}_{i,v}\boldsymbol{B}_{i,v}^{h} with \boldsymbol{u}_{i,v}\in\mathbb{R}^{d} . The finite set of control points \boldsymbol{\mathcal{U}}=\left[\boldsymbol{\mathcal{U}}_{0};\ldots;\boldsymbol{\mathcal{U}}_{P-1}\right] uniquely characterize a piecewise spline of P Bézier curves and act as decision variables in the trajectory generation problem. The duration of the entire piecewise spline is \tau=\sum_{i=0}^{P-1}\tau_{i} . III-B High-Order Control Barrier Functions Consider a system in the form \dot{\mathbf{x}}=f(\mathbf{x})+g(\mathbf{x})\mathbf{u}, (2) where f:\mathbb{R}^{p}\rightarrow\mathbb{R}^{p} and g:\mathbb{R}^{p}\rightarrow\mathbb{R}^{p\times m} are Lispschitz continuous functions, and \mathbf{u}\in U\subset\mathbb{R}^{m} is the control input, where U is the set of admissible control inputs for \mathbf{u} . Let \mathcal{C}:=\{\mathbf{x}\in\mathbb{R}^{p}\mid b(\mathbf{x})\geq 0\} be the set of configurations satisfying the safety requirements, i.e., the safe set. Definition III.1 (CBF [ 19 , 7 ] ) . Given a set \mathcal{C} , the function b:\mathbb{R}^{p}\rightarrow\mathbb{R} is a candidate CBF for system ( 2 ) if there exists a class \mathcal{K} function \alpha such that \sup_{u\in U}[L_{f}b(\mathbf{x})+L_{g}b(\mathbf{x})\mathbf{u}+\alpha(b(\mathbf{x}))]\geq 0, (3) for all \mathbf{x}\in\mathcal{C} , where L_{f} and L_{g} are the Lie derivatives [ 20 ] along f and g , respectively. According to [ 7 ] , given a CBF b and a safe set \mathcal{C} , any Lipschitz continuous controller \mathbf{u}(t) that satisfies ( 3 ) makes the set \mathcal{C} forward invariant for system ( 2 ), i.e., if \mathbf{x}(t_{0})\in\mathcal{C} , then \mathbf{x}(t)\in\mathcal{C} , \forall t\geq t_{0} . If b has relative degree q>1 with respect to system 2 , the control input \mathbf{u}(t) does not appear in ( 3 ); HOCBFs have been developed for this scenario [ 21 ] . Consider functions \psi_{i}:\mathbb{R}^{p}\rightarrow\mathbb{R} , i\in\{1,\dots,q\} defined as \psi_{i}(\mathbf{x})=\dot{\psi}_{i-1}(\mathbf{x})+\alpha_{i}(\psi_{i-1}(\mathbf{x})) where \psi_{0}(\mathbf{x})=b(\mathbf{x}) . Furthermore, we define a sequence of sets \{\mathcal{C}_{i}\}_{i=1}^{q} as \mathcal{C}_{i}:=\{\mathbf{x}\in\mathbb{R}^{p}\mid\psi_{i-1}(\mathbf{x})\geq 0\} . Definition III.2 (HOCBF [ 21 ] ) . Let us consider a sequence of sets \{\mathcal{C}_{i}\}_{i=1}^{q} , and a sequence of equations \{\psi_{i}\}_{i=1}^{q} as previously defined.A function b:\mathbb{R}^{n}\rightarrow\mathbb{R} is a candidate HOCBF of relative degree q for system ( 2 ) if there exist (q-i) -th order differentiable class \mathcal{K} functions \{\alpha_{i}\}_{i=1}^{q} such that: \sup_{\mathbf{u}\in U}[L_{f}^{q}b(\mathbf{x})+[L_{g}L_{f}^{q-1}b(\mathbf{x})]\mathbf{u}+O(b(\mathbf{x}))\\ +\alpha_{q}(\psi_{q-1}(\mathbf{x}))]\geq 0, (4) for all \mathbf{x}\in\cap_{i=1}^{q}\mathcal{C}_{i} , where O(\cdot)=\sum_{i=1}^{q-1}L_{f}^{i}(\alpha_{q-i}\circ\psi_{q-i-1})(\mathbf{x}) . Any Lipschitz continuous controller \mathbf{u}(t)\in U that satisfies ( 4 ) renders the set \cap_{i=1}^{q}\mathcal{C}_{i} forward invariant (see [ 21 , Theorem 4] ). The robustness of a HOCBF is accomplished by showing the existence of a high-order control lyapunov-barrier function (HOCLBF) [ 6 ] , which implies asymptotic stability of the set \cap_{i=1}^{q}\mathcal{C}_{i} by using a set of extended class \mathcal{K} functions \{\alpha_{i}\}_{i=1}^{q} . III-C Neighbors State Estimation We adopt particle filters for neighbor position estimation [ 11 ] . The neighbor’s position belief is represented by N_{p}\in\mathbb{N} weighted particles, each indicating a possible position. Particles evolve following a transition function, update weights with new measurements, and are resampled accordingly. When the target is outside the field of view, we reduce the weight of particles inside the sensing region \mathcal{F}_{i} by setting w_{j}^{k}\!\leftarrow\!\varepsilon w_{j}^{k} , where \varepsilon\!\in\![0,1) . Unlike [ 11 ] , our method accommodates occasional missed detections by uniformly scaling weights of particles within \mathcal{F}_{i} , preserving the normalized distribution. IV Problem Formulation Consider N homogeneous robots in a communication-denied workspace \mathcal{W} . Let \mathcal{R}(\mathbf{r}_{i}) denotes the convex set of points representing robot i at position \mathbf{r}_{i}\in\mathbb{R}^{3} . Robots generate trajectories and controls concurrently in a decentralized manner to reach goals while maintaining visual contact and avoiding collisions without communication. Each robot estimates others’ positions via the field of view of an onboard camera. We assume that the initial teammate positions are shared via a pre-mission communication. Our optimization problem solves trajectory and control by minimizing the control effort, and the distance to the goal, subject to dynamics, initial state, control continuity, safety corridor, and CBF constraints. IV-A Robot model We consider a double integrator, for faster computation and a unified planning and control framework using Bézier curve. The state includes position, yaw, and corresponding first-order derivatives \mathbf{x}=[\mathbf{r};\phi;\dot{\mathbf{r}};\dot{\phi}]\in\mathbb{R}^{8} , where \mathbf{r}\in\mathbb{R}^{3} , \phi\in\mathbb{R} . \displaystyle\dot{\mathbf{x}} \displaystyle=A\mathbf{x}+B\mathbf{u}, (5) where the control input \mathbf{u}=[\mathbf{u}_{r};u_{\phi}]\in\mathbb{R}^{4} is the acceleration. The system output is \mathbf{y}=[\mathbf{r};\phi]\in\mathbb{R}^{4} . We denote velocity by \mathbf{v}=[\dot{\mathbf{r}};\dot{\phi}]\in\mathbb{R}^{4} . Physical limits are given by minimum velocity and acceleration \mathbf{v}_{\mathrm{min}},~\mathbf{a}_{\mathrm{min}}\in\mathbb{R}^{4} , maximum velocity and acceleration \mathbf{v}_{\mathrm{max}},~\mathbf{a}_{\mathrm{max}}\in\mathbb{R}^{4} , respectively. A=[\mathbf{0},\mathbf{I};\mathbf{0},\mathbf{0}]\in\mathbb{R}^{8\times 8} , B=[\mathbf{0};\mathbf{I}]\in\mathbb{R}^{8\times 4} , with \mathbf{0},\mathbf{I}\in\mathbb{R}^{4\times 4} denoting the zero and identity matrices. At time t_{0} , we generate a trajectory \mathbf{x}(t|t_{0}) and control \mathbf{u}(t|t_{0}) over horizon \tau . IV-B Sensing model Each robot senses via an onboard camera aligned with the body frame, positive x -axis. We model the robot i ’s sensing region \mathcal{F}_{i} as a truncated spherical sector as shown in Fig. 2 , limited by a maximum perception range R_{s}>0 , and a minimum safety distance from the other robots D_{s}>0 . Horizontal and vertical fields of view are given by angles \beta_{H},\beta_{V}\in[0,2\pi) , respectively. A neighbor’s position is observable when inside the field of view. Robot i measures the relative position of neighbor j in its body frame, i.e., {}^{i}\mathbf{r}_{j}\!=\!\mathbf{r}_{j}\!-\!\mathbf{r}_{i} . We model measurement uncertainty as a zero-mean multivariate Gaussian noise with covariance matrix R_{\mathrm{m}}\!\in\!\mathbb{R}^{3\times 3} . (a) Robot sensing region (b) Top view Fig. 2 : The sensing region \mathcal{F} of a robot is modeled as truncated spherical sector. \beta_{H} , \beta_{V} are the horizontal and vertical field of view angles. R_{s} is the sensing range and D_{s} is the safety distance. The blue volume (or red plane in 2D) is the region where the neighbor can be safely detected. V HOCBFs Design We require a robot to maintain a safety distance, visual contact, and perception range with its neighbors. We formulate the following CBF for robot i in the form b({}^{i}\mathbf{r}_{j})\geq 0 , \forall j\in\mathcal{N}_{i} . Here, we denote the neighbors of robot i as \mathcal{N}_{i} (we consider all the other robots; however, a sensing range can be enforced if desired). In this work, we only focus on 2D motion, which can be applied to ground robots or aerial vehicles that fly at the same altitude. Thus, the sensing region is a planar angular sector defined by \beta_{H} (see Fig. 2 b). The safety distance and range CBFs are defined as follows: \displaystyle b_{\mathrm{sr}}({}^{i}\mathbf{r}_{j})=\begin{bmatrix}{}^{i}x_{j}&{}^{i}y_{j}\\ -{}^{i}x_{j}&-{}^{i}y_{j}\end{bmatrix}\begin{bmatrix}{}^{i}x_{j}\\ {}^{i}y_{j}\end{bmatrix}+\begin{bmatrix}-D_{s}^{2}\\ R_{s}^{2}\end{bmatrix},\forall j\in\mathcal{N}_{i}, (6) We extended the field-of-view CBFs in [ 22 ] to include \beta_{H}\in[\pi,2\pi) and our CBFs are defined as follows: \displaystyle b_{\mathrm{fov}}({}^{i}\mathbf{r}_{j})= \displaystyle\begin{cases}\begin{bmatrix}\tan(\beta_{H}/2)&1\\ \tan(\beta_{H}/2)&-1\end{bmatrix}\begin{bmatrix}{}^{i}x_{j}\\ {}^{i}y_{j}\end{bmatrix},\!&\text{if }\beta_{H}\in[0,\pi)\\ \begin{bmatrix}1&0\end{bmatrix}\begin{bmatrix}{}^{i}x_{j}\\ {}^{i}y_{j}\end{bmatrix},&\text{if }\beta_{H}=\pi\\ \begin{bmatrix}\tan(\pi-\frac{\beta_{H}}{2})&\text{sign}({}^{i}y_{j})\end{bmatrix}\begin{bmatrix}{}^{i}x_{j}\\ {}^{i}y_{j}\end{bmatrix},&\text{if }\beta_{H}\in(\pi,2\pi)\end{cases} (7) The CBFs b_{\mathrm{sr}}({}^{i}\mathbf{r}_{j}) force robot i to maintain a minimum safety distance D_{s} and a maximum distance equal to the sensing range R_{s} from robot j , \forall j\in\mathcal{N}_{i} . Meanwhile, b_{\mathrm{fov}}({}^{i}\mathbf{r}_{j}) force the robot to keep the neighbor robot j inside the 2D visual cone with amplitude \beta_{H} . Combining them, we obtain: \displaystyle b({}^{i}\mathbf{r}_{j})=\left[b_{\mathrm{sr}}({}^{i}\mathbf{r}_{j});b_{\mathrm{fov}}({}^{i}\mathbf{r}_{j})\right]\geq 0,\forall j\in\mathcal{N}_{i}, (8) constraining robots to keep all their neighbors inside the field of view while moving. Note that b has a relative degree q=2 with respect to system dynamics ( 5 ). Therefore, we use HOCBFs to guarantee constraint satisfaction. Choosing \alpha_{1}(b({}^{i}\mathbf{r}_{j}))=\gamma_{1}b^{(2\mu+1)}({}^{i}\mathbf{r}_{j}) and \alpha_{2}(\psi_{1}({}^{i}\mathbf{r}_{j}))=\gamma_{2}\psi_{1}^{(2\mu+1)}({}^{i}\mathbf{r}_{j}) , for \mu\in\mathbb{N} , we can rewrite ( 4 ) as: L_{f}^{2}b(\cdot)+L_{g}L_{f}b(\cdot)\mathbf{u}+(2\mu+1)\gamma_{1}b^{2\mu}(\cdot)L_{f}b(\cdot)\\ +\gamma_{2}(L_{f}b(\cdot)+\gamma_{1}b^{(2\mu+1)}(\cdot))^{(2\mu+1)}\geq 0. (9) We choose \alpha_{1}(\cdot) and \alpha_{2}(\cdot) as odd power functions, which belong to extended class \mathcal{K} functions. Therefore, the designed HOCBF ( 8 ) is also a HOCLBF [ 6 ] and brings the system back into the safe set \mathcal{C} if not already within (see [ 6 , Theorem 2] ). We use this property in our controller to tolerate constraint violations and enable the robot to regain visual contact with its neighbors after temporary tracking loss. VI Trajectory and Control Generation with Safety Certification Our algorithm generates the continuous-time trajectory and control certified by control barrier functions, utilizing piecewise splines. Our optimization problem solves for the piecewise h -th order Bézier curves. The trajectory is defined as the piecewise Bézier curves and their first-order derivatives. The control inputs \mathbf{u}(t) are defined as their second derivatives. We choose a sufficiently large h to generate a smooth control \mathbf{u}(t) . To satisfy the visual contact requirement, we impose the HOCBF constraints in ( 9 ), for any given t in the horizon. The general form of our problem is formulated as follows: \displaystyle\argmin_{\boldsymbol{\mathcal{U}}} \displaystyle\mathcal{J}_{\mathrm{cost}} (10a) s.t. \displaystyle\dot{\mathbf{x}}(t)=A\mathbf{x}(t)+B{\mathbf{u}(t)} (10b) \displaystyle\frac{d^{j}f(0)}{dt^{j}}=\frac{d^{j}\mathbf{r}(t_{0})}{dt^{j}},~\forall j\in\{0,\ldots,C\} (10c) \displaystyle f\text{ continuous up to derivative }C (10d) \displaystyle\small{\begin{aligned} A^{\mathrm{cbf}}\mathbf{u}(t)+\boldsymbol{b}^{\mathrm{cbf}}({}^{i}\hat{\mathbf{r}}_{j}(t|t_{0}))\geq 0,~&\forall t\!\in\![t_{0},t_{0}\!+\!\tau]\\ &\forall j\!\in\!\mathcal{N}_{i}\end{aligned}} (10g) \displaystyle\mathbf{a}_{\mathrm{min}}\preceq\mathbf{u}(t)\preceq\mathbf{a}_{\mathrm{max}},~\forall t\!\in\![t_{0},t_{0}\!+\!\tau] \displaystyle\mathbf{v}_{\mathrm{min}}\preceq\mathbf{v}(t)\preceq\mathbf{v}_{\mathrm{max}},~\forall t\!\in\![t_{0},t_{0}\!+\!\tau], where \preceq stands for element-wise less than or equal to, t_{0} is the current time stamp, and C is the highest order of derivatives required for continuity. The constraint ( 10g ) is equivalent to ( 9 ), where A^{\mathrm{cbf}}=L_{g}L_{f}b , \boldsymbol{b}^{\mathrm{cbf}}=L_{f}^{2}b+(2\mu+1)\gamma_{1}b^{2\mu}L_{f}b+\gamma_{2}(L_{f}b+\gamma_{1}b^{(2\mu+1)})^{(2\mu+1)} . Note, {}^{i}\hat{\mathbf{r}}_{j}(t|t_{0})=\hat{\mathbf{r}}_{j}(t_{0})-\mathbf{r}_{i}(t) , as we can only obtain the current estimation of the neighbor \hat{\mathbf{r}}_{j}(t_{0}) in a communication-denied setting. Theorem 1 . Consider the HOCBF in ( 8 ) and the set \mathcal{C}:=\mathcal{C}_{1}\cap\mathcal{C}_{2} . Let \alpha_{1} , \alpha_{2} be differentiable extended class \mathcal{K} functions. If \mathbf{x}(t_{0})\in\mathcal{C} , the controller \mathbf{u}(t) from ( 10 ), \forall t\in[t_{0},t_{0}+\tau] renders \mathcal{C} forward invariant. Otherwise, \mathbf{u}(t) from ( 10 ), \forall t\in[t_{0},t_{0}+\tau] stabilizes system ( 5 ) towards the set \mathcal{C} . Proof. \mathbf{u}(t) is Lipschitz continuous as it is defined as the second-order derivative of the Bézier curve with sufficient continuity. The constraint ( 10b ) requires the state transition to obey the system model in ( 5 ). The constraints ( 10g ) render the system safe in the horizon or stabilize the system to a safe set \mathcal{C} following directly from Theorem 1. ∎ Solving the above optimization, however, is intractable, as ( 10g ) imposes constraints for all t in continuous time, yielding an infinite number of constraints. Instead, we propose a discrete optimization scheme to approximate the solution, depicted in Fig. 3 . Our approach imposes the HOCBF constraints only at time stamps sampled at fixed intervals over the horizon. The trajectory is replanned in real-time and the most recent optimized trajectory is executed only up to the first sampled time step. Since our optimization scheme acts similarly to an MPC with continuous-time control inputs, we name our algorithm model predictive control with control barrier functions, or MPC-CBF for short. Fig. 3 : Robot navigates to its goal (red dot) with predicted field of views (blue triangles). MPC-CBF imposes constraints at sampled steps. VI-A Trajectory and Control Prediction Model We introduce the notation \hat{(\cdot)}(k|t_{0}) , which represents the prediction of (\cdot)(k|t_{0}) , given information at time t_{0} and horizon k\in\{0,\cdots,K-1\} , where (K-1)\delta=\tau . Here \delta is the duration of each discrete time step. The prediction of system output \hat{\mathbf{y}}(k|t_{0}) is the optimized piecewise Bézier curve resulting from ( 10 ); its first and second-order derivatives \hat{\mathbf{v}}(k|t_{0}) and \hat{\mathbf{u}}(k|t_{0}) can be computed in closed form. By definition, the predicted trajectory \hat{\mathbf{x}}(k|t_{0})=[\hat{\mathbf{y}}(k|t_{0});\hat{\mathbf{v}}(k|t_{0})] is the solution of ( 5 ) given control inputs \hat{\mathbf{u}}(k|t_{0}) . VI-B HOCBF Constraints and Relaxation To satisfy the safety requirements, we approximate HOCBF constraints in ( 10g ) using a sampling-based approach. We constrain \hat{\mathbf{u}}(k|t_{0}) at discrete time steps over horizon by \displaystyle A^{\mathrm{cbf}}\hat{\mathbf{u}}(k|t_{0})+\boldsymbol{b}^{\mathrm{cbf}}({}^{i}\hat{\mathbf{r}}_{j}(k|t_{0})) \displaystyle\geq 0,~\forall j\in\mathcal{N}_{i} \displaystyle\forall k\in\{0,\ldots,K-1\}. (11) As samples increase, constraints ( 11 ) approach HOCBF constraints in ( 10g ). Note that the prediction \hat{\mathbf{y}}(k|t_{0}) depends on the decision variables, hence {}^{i}\hat{\mathbf{r}}_{j}(k|t_{0}) does too. The constraint ( 11 ) is nonlinear, due to the nonlinearity of A^{\mathrm{cbf}} and \boldsymbol{b}^{\mathrm{cbf}} . In Sec. VII , we propose a linear approximation of the constraint and solve the problem with SQP. More neighbors increase the number of constraints, which leads to infeasibility. We relax ( 11 ) with slack variables for distant robots, which do not pose a danger of collisions. We define slack variables \epsilon_{j}\geq 0 , for j\in\mathcal{N}_{i} (see Sec. VI-F ). VI-C Collision Avoidance Constraints The safety distance HOCBF cannot guarantee collision avoidance in the horizon, as the robot can only estimate the current relative position of its neighbors {}^{i}\hat{\mathbf{r}}_{j}(t_{0}) without knowing their plans. We use a separating hyperplane approach, similar to [ 23 ] , to guarantee collision avoidance in belief space. A function L(\mathcal{A},\mathcal{B}) computes a separating half-space \hat{\mathcal{H}}_{r}\!\!:=\!\!\left\{\mathbf{r}\in\mathcal{W}\mid\boldsymbol{w}^{\top}_{r}\mathbf{r}+b_{r}\leq 0\right\} , where \boldsymbol{w}_{r} and b_{r} are the weights and bias of the half-space, respectively, and \mathcal{A} and \mathcal{B} are the convex hulls representing the robots. We compute Voronoi-cell separation between \mathbf{r}_{i} and \mathbf{r}_{j} as \hat{\mathcal{H}}_{r} . By buffering the half-space by an offset b_{r}^{{}^{\prime}}=b_{r}+\mathrm{max}_{\boldsymbol{y}\in\mathcal{R}(\mathbf{0})}\boldsymbol{w}_{r}^{\top}\boldsymbol{y} , we obtain that the safety corridor consists of \mathcal{H}_{r} for robot i . The Bézier curve f_{i} generated at the negative side of \mathcal{H}_{r} guarantees collision avoidance with its neighbor’s belief. We can write this constraint in the form \displaystyle A^{\mathrm{col}}_{i}\boldsymbol{u}_{i,j}+\boldsymbol{b}^{\mathrm{col}}_{i}\leq 0,~ \displaystyle\forall i\in\left\{0,\ldots,P-1\right\} \displaystyle\forall j\in\left\{0,\ldots,h\right\}. (12) VI-D Output and Derivatives Continuity To guarantee continuity of the system output and its derivatives, we need to impose continuity between the splines, thus adding the following constraints, \displaystyle\frac{d^{j}f_{i}\left(\tau_{i}\right)}{dt^{j}}=\frac{d^{j}f_{i+1}(0)}{dt^{j}},~ \displaystyle\forall i\in\{0,\ldots,P-2\} \displaystyle\forall j\in\{0,\ldots,C\}. (13) VI-E Physical Limits We require limits on the derivatives due to physical constraints. The derivatives of Bézier curves are confined within the convex hull of the derivative’s control points. This approach, however, is overly conservative [ 24 ] . In [ 25 ] , the duration of the Bézier curve is iteratively rescaled until the physical constraints are satisfied. Inspired by [ 26 ] , we propose an approach that leverages our discrete optimization scheme. We bound the values of \hat{\mathbf{v}}(k|t_{0}) , \hat{\mathbf{u}}(k|t_{0}) in the horizon, \displaystyle\mathbf{v}_{\mathrm{min}} \displaystyle\preceq\hat{\mathbf{v}}(k|t)\preceq\mathbf{v}_{\mathrm{max}},~\forall k\in\{0,\ldots,K-1\}, (14) \displaystyle\mathbf{a}_{\mathrm{min}} \displaystyle\preceq\hat{\mathbf{u}}(k|t)\preceq\mathbf{a}_{\mathrm{max}},~\forall k\in\{0,\ldots,K-1\}. (15) VI-F Cost Functions We optimize the predicted trajectory and control inputs considering different objectives according to the task. VI-F 1 Goal Cost The trajectory should navigate the robot towards its goal \mathbf{y}_{d}\in\mathbb{R}^{4} . We penalize the squared distance between the last \kappa sampled predictions \hat{\mathbf{y}}(k|t_{0}) and the goal, \displaystyle\mathcal{J}_{\mathrm{goal}}=\sum_{k=K-\kappa}^{K-1}\omega_{k}\left\|\hat{\mathbf{y}}(k|t_{0})-\mathbf{y}_{d}\right\|_{2}^{2}, (16) where \omega_{k} is the weight for k -th sample. VI-F 2 Control Effort Cost We minimize the weighted sum of the integral of the square of the norm of derivatives, \displaystyle\mathcal{J}_{\mathrm{effort}}=\sum_{j=1}^{C}\theta_{j}\int_{t_{0}}^{t_{0}+\tau}\left\|\frac{d^{j}}{dt^{j}}f(t)\right\|_{2}^{2}\,dt, (17) where \theta_{j} is the weight of the order of derivatives. VI-F 3 Priority Cost We prioritize tightening the HOCBF constraints for the nearest neighbors to maintain visual contact and prevent impending collisions. We derive a confidence ellipsoid {\mathcal{R}}^{95}_{j} containing the real position \mathbf{r}_{j} with 95\% probability from the particle filter. We find the distance d_{ij} between robot i and {\mathcal{R}}^{95}_{j} following the solution in [ 11 ] . Sorting neighbors based on the distance d_{ij} (from the closest to the farthest one), we obtain an ordered set \overline{\mathcal{N}}_{i} , and prioritize the satisfaction of the HOCBF constraints on robots that are believed to be closer. Priority assignment is achieved by adding slack variables \epsilon_{j} with exponentially decaying weights \xi_{j}=\Omega\cdot\gamma_{s}^{j} as a cost function, where \Omega\in\mathbb{R}_{>0} is the cost factor and \gamma_{s}\in(0,1) is the decay factor. Therefore, the cost can be defined as \mathcal{J}_{\mathrm{prior}}=\sum_{j\in\overline{\mathcal{N}}_{i}}\xi_{j}\epsilon_{j}. (18) Slack variables let robot i temporarily lose visual contact with a distant neighbor j , but reestablish it when the uncertainty grows and the ellipsoid {\mathcal{R}}^{95}_{j} is close. VII Solving MPC-CBF Optimization As mentioned in Sec. VI , the HOCBF constraints in ( 11 ) are nonlinear. We propose a linear surrogate of HOCBF constraints and use the SQP to solve the proposed problem with a QP solver. The SQP iteratively solves MPC-CBF. In each iteration, we use the prediction from the previous QP as the surrogate of the states to compute A^{\mathrm{cbf}} and \boldsymbol{b}^{\mathrm{cbf}} . This decouples the dependency between the prediction and decision variables, so that A^{\mathrm{cbf}} and \boldsymbol{b}^{\mathrm{cbf}} can be treated as constants. The initial QP is solved with HOCBF constraint only on the observable state at time t_{0} and predicts \hat{\mathbf{x}}_{0}(k|t_{0}) and \hat{\mathbf{u}}_{0}(k|t_{0}) . Here, the subscription indicates the QP iteration index. However, the predicted trajectory and control inputs do not necessarily satisfy HOCBF constraints in the horizon. For the \nu -th QP iteration, we substitute {}^{i}\mathbf{r}_{j}(k|t_{0}) with the predicted {}^{i}\hat{\mathbf{r}}_{j,\nu-1}(k|t_{0}) from the previous QP, for \nu=1,\ldots,\mathcal{V}-1 . The \nu -th QP is formulated as follows: \displaystyle\argmin_{\boldsymbol{\mathcal{U}}} \displaystyle\mathcal{J}_{\mathrm{effort}}+\mathcal{J}_{\mathrm{goal}}+\mathcal{J}_{\mathrm{prior}} (19a) s.t. \displaystyle\frac{d^{j}f(0)}{dt^{j}}=\frac{d^{j}\mathbf{r}}{dt^{j}},~\forall j\in\{0,\ldots,C\} (19b) \displaystyle\begin{aligned} \frac{d^{j}f_{i}\left(T_{i}\right)}{dt^{j}}=\frac{d^{j}f_{i+1}(0)}{dt^{j}},~&\forall i\in\{0,\ldots,P\!-\!2\}\\ &\forall j\in\{0,\ldots,C\}\end{aligned} (19c) \displaystyle\begin{aligned} A^{\mathrm{col}}_{i}\boldsymbol{u}_{i,j}+\boldsymbol{b}^{\mathrm{col}}_{i}\leq 0,~&\forall i\in\{0,\ldots,P-1\}\\ &\forall j\in\{0,\ldots,h\}\end{aligned} (19d) \displaystyle\begin{aligned} A^{\mathrm{cbf}}\hat{\mathbf{u}}(k|t_{0})&+\boldsymbol{b}^{\mathrm{cbf}}(^{i}\hat{\mathbf{r}}_{j,\nu-1}(k|t_{0}))+\epsilon_{j}\geq 0,\\ &\forall j\in\mathcal{N}_{i},~\forall k\in\{0,\ldots,K-1\}\end{aligned} (19h) \displaystyle\mathbf{v}_{\mathrm{min}}\preceq\hat{\mathbf{v}}(k|t_{0})\preceq\mathbf{v}_{\mathrm{max}},\forall k\!\!\in\!\!\{0,\ldots,K\!-\!1\} \displaystyle\mathbf{a}_{\mathrm{min}}\preceq\hat{\mathbf{u}}(k|t_{0})\preceq\mathbf{a}_{\mathrm{max}},\forall k\!\!\in\!\!\{0,\ldots,K\!-\!1\} \displaystyle\epsilon_{j}\geq 0,~\forall j\in\mathcal{N}_{i}. Note that the robot estimates neighbors’ positions only at t_{0} . Adding visual constraints for the entire horizon based on this estimate leads to an overly conservative plan. Instead, we satisfy HOCBF constraints only up to K_{r} steps in the horizon. VIII Simulation Results We define two sets of instances. In “Circle” instances, robots are initialized uniformly on a circle with antipodal goals; their start and goal headings face the circle’s center. In “Formation” instances, robots are initialized in grids and demanded to move forward; start and goal headings are set to 0 yaw. To reflect the uncertainty in the system dynamics, Gaussian noise is added to the system output and velocity, i.e., \mathbf{y}(k|t_{0})\sim\mathcal{N}\left(\hat{\mathbf{y}}(k|t_{0}),\sigma_{\mathbf{y}}^{2}\mathbf{I}\right) , \mathbf{v}(k|t_{0})\sim\mathcal{N}\left(\hat{\mathbf{v}}(k|t_{0}),\sigma_{\mathbf{v}}^{2}\mathbf{I}\right) , where \mathcal{N}(\boldsymbol{\mu},\sigma\mathbf{I}) denotes a multivariate Gaussian distribution with mean \boldsymbol{\mu} and a diagonal covariance matrix \sigma\mathbf{I} . We set \sigma_{\mathbf{y}}\!=\!0.001 , and \sigma_{\mathbf{v}}\!=\!0.01 . In this work, we fix the height of the robots. We set different \beta_{H} to demonstrate the property of our algorithm. We limit the acceleration in range [-10,10]$\mathrm{m}\mathrm{/}\mathrm{s}^{2}$ in the x-y plane, and velocity in range [-3,3]$\mathrm{m}\mathrm{/}\mathrm{s}$ for “circle” instances and [-0.5,0.5]$\mathrm{m}\mathrm{/}\mathrm{s}$ for “formation” instances. We set the yaw acceleration and yaw rate limits as [-\pi,\pi]$\mathrm{r}\mathrm{a}\mathrm{d}\mathrm{/}\mathrm{s}^{2}$ and [-\frac{5}{6}\pi,\frac{5}{6}\pi]$\mathrm{r}\mathrm{a}\mathrm{d}\mathrm{/}\mathrm{s}$ respectively. To expedite the computation and respect the visual contact constraints, we set K_{r}=2 , \mathcal{V}=2 in the SQP solver. We set the number of pieces P=3 for the piecewise spline, the degree of Bézier curves h=3 with duration \tau_{i}=0.5$\mathrm{s}$ , for i=1,2,3 , and require the highest order of continuity C=3 . In the MPC-CBF algorithm, we set the discrete sample interval \delta=0.1$\mathrm{s}$ . In simulation, the replanning happens every 0.1$\mathrm{s}$ . For the particle filtering, we set the number of particles to N_{p}=100 (initialized uniformly randomly in the workspace), the process covariance to 0.25\mathbf{I} , the measurement covariance R_{\mathrm{m}} to 0.05\mathbf{I} , and the penalty factor for particles inside the field of view to \varepsilon=0.1 . The cost factor of slack variables is \Omega=1000 . The collision shape of the robot is defined as an axis-aligned bounding box in range [-0.2,0.2]$\mathrm{m}$ for both x-y dimensions. For the baseline, we implemented the controller from [ 11 ] , extending it to an HOCBF with a double integrator under the same velocity and acceleration limits; a PD controller provides the desired input, and the control loop runs every 0.1$\mathrm{s}$ in simulation. VIII-A Simulation in Circle Instances We use the following criteria for evaluation: Success Rate : success is defined as all robots reach their goal areas and stay within them without collisions. Makespan : time at which the last robot reaches its goal area. Percentage of Neighbors in FoV : average percentage of neighbors the robot keeps in visual contact over the makespan. Goals may not satisfy the visual-contact requirement. Our method compensates for visual contact and thus could lead to deviations from the goal. Thus, we consider the robot to complete its task when it reaches a goal area and stays within. We set cost coefficients \omega_{k}=10 for k=K-\kappa,\ldots,K-1 , \theta_{j}=1 for j=1\ldots C , and \kappa=3 . The snapshots in Fig. 4 are typical routing of our control strategy in the “circle” instance with 5 robots and a \beta_{H}=\frac{2}{3}\pi field of view. As a demonstration of controller robustness, note that the robot colored with green trajectory, when it loses visual contact with neighbors in Fig. 4 (a), changes its position and heading in Fig. 4 (b) to regain detection. The sensitivity of heading adjustments is controlled by the slack variable decay factor \gamma_{s} . A small \gamma_{s} prioritizes tracking the closest neighbor in the belief space, resulting in more aggressive heading responses. A large \gamma_{s} tends to track more neighbors, leading to less aggressive heading responses. An aggressive heading response can lead to an inefficient strategy due to frequent heading changes. An insensitive heading tends to overlook impending collisions, leading to actual collisions. (a) Time = 4.4 \mathrm{s} (b) Time = 6.8 \mathrm{s} (c) Time = 11.0 \mathrm{s} (d) Time = 15.0 \mathrm{s} Fig. 4 : Snapshots for 5 robots in the circle instance. The ovals are 95% confidence ellipsoids of estimation (the source of estimations is indicated by colors). The predicted output is depicted as blue curves and purple field of views. The path is shown as a solid line. Fig. 5 : Performance of our algorithm across \beta_{H} , \gamma_{s} , and different robot counts in “circle” instances. Bars show means, error bars show 95% confidence intervals over 15 trials. Figure 5 reports quantitative performance of our control strategy with different \beta_{H} in [\frac{2}{3}\pi,\frac{4}{3}\pi,2\pi] and slack variable decay factors \gamma_{s} in [0.1,0.2] . Note that, \beta_{H}=2\pi always satisfies the field-of-view constraints. We show task success rate , makespan (excluding failure instances), and percentage of neighbors in FoV . We notice that for a small number of robots (fewer or equal to 6 robots in the “Circle” instance), our controller has a similar success rate compared to the baseline. As we increase the number of robots, our algorithm outperforms the baseline with different \beta_{H} and achieves successful executions when the baseline failed to complete the task at all. The reason is that the baseline, as a reactive controller, responds more aggressively to the imminent collisions and does not maintain a large safety distance. As a result, it is more sensitive to estimate uncertainty and exposes robots to a higher risk of collision once the neighbor detections are lost. For a small \beta_{H} , the control challenge is to maintain neighbors in the field of view, thus providing the latest estimation to avoid collision, while reaching the desired goal. As the field of view increases, maintaining visual contact with neighbors becomes easier, and robots tend to take the shortest path, leading to a decrease in the makespan . However, it leads to deadlocks and potential collisions due to uncertainty in the estimation. The challenge of deadlocks in multi-robot planning falls outside the current scope. Modern MAPF-based path/trajectory planning addresses deadlock problems even in large-scale operations [ 27 , 23 ] and limited communication scenarios [ 28 ] . Despite the drop in task success rate , we note the percentage of neighbors in FoV remains above 60\% as we scale up the number of robots even with \beta_{H}=\frac{2}{3}\pi . Our control strategy maintains the same level of visual contact with neighbors compared to the baseline controller while improving the success rate. Additionally, we report that less aggressive heading adjustments, i.e., a larger \gamma_{s} , prevent robots from repetitively searching for neighbors, resulting in a higher success rate in “Circle” instances. VIII-B Simulation in Formation Instances In “formation” instances, we initialize all robots in grids 1$\mathrm{m}$ apart in the x-y direction. All robots are initialized with 0 yaw. Goals are 12$\mathrm{m}$ to the right of the starts, each with a yaw of 0 . We set the cost coefficients \omega_{k}=300 for k=K-\kappa,\ldots,K-1 , \theta_{j}=1 for j=1\ldots C , and \kappa=3 . In Fig. 6 , we show a typical result of MPC-CBF on 4 robots. Robots form and maintain visual contact with neighbors at all times, demonstrating the controller robustness. We summarize the quantitative results in Fig. 7 . Since robots move in the same direction, unlike “Circle” instances, tasks result in fewer collisions and deadlocks. We notice an improved scalability and success rate compared to “Circle” instances. Overall, our controller outperforms the baseline across different numbers of robots. With a small field of view, the baseline satisfies the field-of-view constraints while compromising the goal-reaching capability. In contrast, our control strategy retains goal-reaching capability while maintaining visual contact with neighbors. With an omnidirectional field of view, the baseline suffers from collision due to estimation uncertainty as the number of robots increases. Increasing the field of view improves the success rate for both the baseline and our approach. In addition, a larger \gamma_{s} works better for “formation” instances. The makespan does not show significant changes with different \beta_{H} or \gamma_{s} , mainly because the task is less challenging regarding navigation (the makespan metric is omitted due to the space limit). The percentage of neighbors in FoV remains above 60\% even with \beta_{H}=\frac{2}{3}\pi . Our controller maintains equivalent visual contact quality without compromising the goal-reaching capability. We report the runtime of the proposed perception control stack with different numbers of robots in Table I . (a) Time = 0.0 \mathrm{s} (b) Time = 10.0 \mathrm{s} (c) Time = 27.0 \mathrm{s} Fig. 6 : 4 robots navigating in a formation instance. Their start and goal yaws are set as 0. The ovals are 95% confidence ellipsoids of estimation. The robot forms and maintains visual contact with its neighbors. Fig. 7 : Performance on different numbers of robots in “formation” instances. The statistics are obtained in the same way in the “circle” instances. Instance/number of Robot 2[$\mathrm{m}\mathrm{s}$] 3[$\mathrm{m}\mathrm{s}$] 4[$\mathrm{m}\mathrm{s}$] 5[$\mathrm{m}\mathrm{s}$] 6[$\mathrm{m}\mathrm{s}$] 7[$\mathrm{m}\mathrm{s}$] 8[$\mathrm{m}\mathrm{s}$] 9[$\mathrm{m}\mathrm{s}$] 10[$\mathrm{m}\mathrm{s}$] Baseline “Circle” 1.06 2.09 3.46 4.81 6.12 7.26 8.91 9.84 11.16 Baseline “Formation” 0.76 2.04 3.43 4.87 5.59 6.94 8.44 9.79 10.56 MPC-CBF “Circle” 5.87 10.04 13.05 18.55 21.95 23.64 28.30 31.15 35.98 MPC-CBF “Formation” 5.21 7.84 10.69 14.32 17.74 19.39 22.78 25.46 28.65 TABLE I : The runtime of baseline and MPC-CBF in “Circle” and “Formation” instances. The statistics are averaged over 200 iterations. VIII-C Sensitivity Analysis Sample interval \delta . We approximate the HOCBF constraints in the horizon using a sampling-based approach. The forward invariance property, however, can be violated due to large sample intervals. We conduct experiments with different sample intervals \delta over a 0.2$\mathrm{s}$ horizon on the “Circle” instance with 4 robots and compared with baseline and MPC-CBF without HOCBF constraints in the horizon, i.e., K_{r}=1 . All methods use slack variables to avoid optimization failure, but with a large slack cost \Omega\!=\!1e\!+\!20 . Methods Percentage of Neighbors in FoV Runtime Baseline 92.98% 12.87 \mathrm{m}\mathrm{s} MPC-CBF, K_{r}=1 90.87% 46.98 \mathrm{m}\mathrm{s} MPC-CBF, \delta=0.05$\mathrm{s}$ 97.86% 118.17 \mathrm{m}\mathrm{s} MPC-CBF, \delta=0.1$\mathrm{s}$ 98.01% 68.98 \mathrm{m}\mathrm{s} MPC-CBF, \delta=0.2$\mathrm{s}$ 97.98% 57.57 \mathrm{m}\mathrm{s} TABLE II : The percentage of neighbors in FoV and the runtime of baseline and MPC-CBF as the HOCBF constraint sample intervals change. The statistics are averaged over 15 trials. We use the Percentage of Neighbors in FoV to evaluate the efficacy of the set forward invariance. From Table II , we note that all algorithms cannot maintain visual contact at all times. Reactive controllers, such as baseline and MPC-CBF, K_{r}=1 , perform significantly worse compared to MPC-CBF with horizon HOCBF constraints. The reactive controllers have more aggressive path and heading adjustments, leading to more failures in visual maintenance. Decreasing sample intervals \delta has an insignificant influence on performance, but increases the runtime. We choose \delta=0.1$\mathrm{s}$ , as it imposes denser CBF constraints without a significant runtime penalty. Detection Noises and Delays . We evaluate the efficacy of our algorithm under noisy and delayed detections. We use the same experiment setup as the above 4 robots experiment. A Gaussian noise \mathcal{N}(\mathbf{0},\sigma_{\mathrm{noise}}^{2}\mathbf{I}) is added to the detected neighbor state. From Table III , we notice that the Percentage of Neighbors in FoV decreases as delay and noise increase. Despite performance degradation, our algorithm maintains 100\% success rate on the 4 robots experiment. Setup Percentage of Neighbors in FoV Success Rate Delay = 0.05 \mathrm{s} 91.52% 100.00% Delay = 0.1 \mathrm{s} 84.85% 100.00% Delay = 0.2 \mathrm{s} 74.23% 100.00% \sigma_{\mathrm{noise}} = 0.1 98.17% 100.00% \sigma_{\mathrm{noise}} = 0.2 97.29% 100.00% TABLE III : The percentage of neighbors in FoV and the success rate as the detection delay and noise change. The statistics are averaged over 15 trials. IX Physical Experiment We build PX4-based UAVs and track their position and orientation with Vicon during the experiment. The motion capture can be replaced by onboard state estimation, such as GPS and a magnetometer during outdoor flights or VIO/LIO during indoor flights, providing a communication-free setup for localization. The UAV is equipped with a Jetson Xavier and a RealSense D435 camera, where \beta_{H}\approx\frac{1}{4}\pi . We model the quadrotor as a double integrator and send position, velocity, and acceleration commands to its onboard flight controller. This model mismatch may violate forward invariance in physical experiments. The quadrotor model requires a third-order CLF-CBF [ 29 ] , which we leave for future work. We enforce field-of-view constraints in the x-y plane, noting they can be extended to 3D by adding constraints in the x-z plane. We use onboard Apriltag detection in a single-robot experiment, shown in the accompanying video. In the multi-robot experiment, due to unstable Apriltag detection, we simulate detection capabilities using Vicon. In other words, the robot receives the relative location (detection) of its neighbor from Vicon when that neighbor is in its sensing region. We note that relying on Vicon deviates from the decentralized assumption. Onboard detection (e.g., [ 30 ] ) would introduce noise, delay and missed detections. We discussed the influence of noise and delay in Sec. VIII-C . Our algorithm handles the missed detections as discussed in Sec. III-C . We demonstrate visual contact during navigation with a two-robot experiment: two UAVs maintain visual contact with each other at all times, as shown in Fig. 8 . (a) (b) (c) (a) Time = 4.2 \mathrm{s} (b) Time = 10.8 \mathrm{s} (c) Time = 14.3 \mathrm{s} Fig. 8 : Snapshots of first-person-view camera recording in the two-robot experiment. The visual contact constraints are satisfied throughout the flight. The other robot is circled in red. X Conclusion We address online distributed coordination without communication. Robots navigate to their goals while estimating the locations of neighbors by maintaining visual contact. The proposed strategy is robust to temporary tracking loss and able to regain tracking. We propose MPC-CBF, a discrete optimization framework to approximate the certified solution. In addition, we propose an efficient SQP to solve MPC-CBF with a QP solver. We verify the efficacy and scalability of our algorithm with 10 robots in simulation and physical experiments with 2 custom-built UAVs with onboard cameras. In future work, we aim to extend to non-planar motion, and develop an adaptive controller that is resilient to model perturbation caused by external forces, such as downwash [ 31 ] .