Manuscript Offprint
arXiv:2611.09640LACART: Lookahead-Augmented Collision Avoidance and Reference Tracking Strategies for Safety-Critical Robots
Pedro Lopes
INESC TEC
Porto, Portugal
Amit Shivam
SYSTEC, ISR-Porto, ARISE-LA
FEUP, Universidade do Porto
Porto, Portugal
Luís Tiago Paiva
SYSTEC, ISR-Porto, ARISE-LA
FEUP, Universidade do Porto
Porto, Portugal
Abstract—Autonomous racing provides a demanding testbed for collision avoidance under tight geometric and computational constraints. Building on a recent conference contribution and a master's dissertation, LACART combines lookahead-based control barrier functions (CBFs), a relaxed control Lyapunov function (CLF), and quadratic programming (QP) to modify nominal vehicle commands for obstacle avoidance and reference tracking. The method handles circular obstacles and track boundaries in a common optimisation layer. Comparative simulation results against Huang et al. [9] show similar full-track paths and lower median computation times: 0.31 versus 0.33 ms per step and 0.023 versus 0.025 ms per QP solve. The dissertation further demonstrates a 1:43-scale vehicle with camera-based estimation and wireless actuation at a reported 25 Hz control rate. We identify the conditions linking lookahead-point clearance to body clearance, illustrate hardware limitations, and propose a recorded demonstration of safety intervention and recovery. The contribution targets ground-robot collision avoidance and real-time safety monitoring.
Index Terms—Control barrier functions, autonomous vehicles, collision avoidance, runtime assurance, quadratic programming.
I. OVERVIEW AND CONTRIBUTION
A nominal path tracker may lead to unsafe motion near obstacles or track limits. A safety filter is often required to ensure safe passage and allow the robot to return to its reference. This abstract synthesises the lookahead CLF–CBF–QP formulation of [1] and its experimental implementation in the UP2Speed dissertation [2]. In addition, we compare with recent literature to emphasise the merits of the proposed approach [9].
The approach builds on CBF-QP safety filtering [3] and the runtime-assurance perspective [4]. Offset-point transformations are established tools for nonholonomic control [5], [6]. CBF filters can also exhibit undesired equilibria [7], [8], so successful avoidance does not by itself establish freedom from deadlock. The practical contribution is the integration of steering-sensitive obstacle constraints, track-boundary constraints, and relaxed reference tracking in a small QP, together with a hardware implementation and explicit discussion of its sensing and actuation limits. The comparative simulations demonstrate lower observed computation times with qualitatively similar trajectories, while the hardware experiments demonstrate the feasibility of integrating reference tracking and safety-critical aspects on a miniature vehicle.
For a static obstacle centred at , set and . The barrier and its affine input constraint are
(2)
Unlike an axle-centred distance barrier, (2) permits angular velocity to influence safety whenever the lateral component of is nonzero. Track limits are represented by nearby polyline segments using their closest points and zero obstacle radius [1], [2]. The active segment geometry must be updated as the robot moves. With positive-definite input weight , relaxation penalty , and a quadratic tracking-error function , the filter solves
The CLF relaxation prioritises barrier constraints when tracking and avoidance conflict. Lookahead, barrier rate, tracking rate, and relaxation weight tune the balance between early intervention and smooth recovery [1], [2].
III. COMPARATIVE SIMULATION RESULTS
Reference [9] uses a time-varying CBF and a CLF-QP for goal-directed unicycle navigation with static and moving obstacles. It also uses an offset between the rear axle and robot centre to make the barrier constraint depend on both linear and angular velocity. Accordingly, the distinction here

Fig. 1. Comparative simulation results: proposed (green), Ref. [9] (red), spline reference (grey dashed), and track limits (black). Circles denote obstacles.
is the track-following integration, boundary handling, and the experimental platform, which establishes the merits of the proposed LACART approach.
Fig. 1 shows numerical path-tracking trajectories with similar performance. However, the rounded medians in Fig. 2 give a total per-step time reduction of (0.33 - 0.31)/0.33 ≈ 6.1% and a QP-time reduction of (0.025 - 0.023)/0.025 = 8.0%. These correspond to absolute savings of approximately 20 µs and 2 µs, respectively. The dissertation also investigates offline parameter tuning and relative-motion constraints for multiple vehicles [2, Chs. 5–6]. These establish useful extension directions, but are not attributed to the comparison in Figs. 1–2. The submission focuses on the lookahead filter and its physical demonstration.
IV. REAL-VEHICLE IMPLEMENTATION
The 1:43-scale platform has a rear DC motor, front steering servo, and ESP32-C3 controller. An overhead RunCam Pro 5 camera provides images for OpenCV HSV segmentation. Position is obtained from the marker centroid and heading from successive positions. State estimates reach the external controller through UDP; computed commands reach the car through BLE [2, Ch. 7]. Fig. 3 summarises the experimental control architecture, showing the perception, safety-filtering, and actuation stages, the trust boundaries, and the planned runtime monitor. Experiments demonstrate reference following, static-obstacle avoidance, and recovery toward the path (Fig. 4). The dissertation also reports occasional track-boundary collisions for difficult obstacle placements, attributed to steering limits and delays, and a stop under simultaneous boundary activation. These outcomes document both practical capability and the need to account for the physical vehicle's limits.
The QP mean is about 19% of the reported 40 ms loop period. Perception and communication remain substantial costs. Stage averages are not a serial timing allocation: their sum exceeds the reported period. The UP2Speed project GitHub resources are available at github.up2speed.pt.

Fig. 2. Supplied simulation timing distributions: total computation per step (top) and QP solution time (bottom). Median values are the rounded annotations in the original plots; simulation timing is distinct from the hardware timing in Table I.
TABLE I HARDWARE TIMING REPORTED IN [2, TABLE 7.1 AND SEC. 7.2.3].
| Operation / quantity | Reported value |
| Image acquisition | 6.76 ms |
| Image processing | 27.39 ms |
| State acquisition (UDP) | 28.29 ms |
| QP solution | 7.49 ms |
| BLE communication | 4.34 ms |
| Control-loop period | 40 ms (25 Hz) |
| Mean state-estimation latency | 62.44 ms |
V. SAFETY CONDITIONS AND TRUST
For a disk model centred at the axle, safety of the lookahead point must be translated into body safety. If , the triangle inequality gives
Thus is a sufficient geometric condition for body clearance for this model. With a bounded lookahead-position error , the conservative condition becomes . This condition relates lookahead-point clearance to body clearance. For bounded motion, a state-estimation latency contributes at most to lookahead displacement, in addition to estimation error. The measured mean age of 62.44 ms is not a worst-case bound. At 1 m/s, its translational component alone is 6.24 cm. The real car cannot rotate in

Fig. 3. Architecture of [2] with trust boundaries T1–T3.

Fig. 4. Experimental results from [2, Fig. 7.4, upper panel]. Blue: reference; yellow: executed path; red: boundaries; orange circles: obstacles.
place: for a fixed maximum steering angle, the maximum achievable yaw rate decreases with forward speed. Safety claims consequently depend on feasible actuation, sufficiently accurate and up-to-date state estimates, and a feasible barrier problem. Exact head-on geometry can still remove instantaneous angular influence in (2); lookahead does not eliminate every deadlock [7], [8].
This work addresses robotic safety and real-time intervention. The use of UDP/BLE communication and visual markers motivates monitoring communication delays and checking the consistency of state estimates with the vehicle's motion limits. Safe stopping also requires sufficient clearance to accommodate the experimentally measured stopping distance.
VI. DEMONSTRATION PLAN
A recorded demonstration is proposed on the existing miniature-car platform, with a software-in-the-loop replay as fallback. The display will show the camera view, reference and executed paths, active constraints, commanded inputs, and computation time. Adaptation to the organisers' platform would require interface and actuation validation.
Scenario 1—Tracking and avoidance: first follow the obstacle-free reference, then introduce a static obstacle to show safety intervention and recovery. Repeat near a boundary to expose the steering and stopping limits.
Scenario 2—Lookahead and benchmark: replay zero- and positive lookahead simulations, followed by the proposed and [9] trajectories and timing distributions. This isolates the role
of the offset point without implying that [9] lacks steering control.
Scenario 3—Planned extension: introduce controlled frame delays in simulation, then on the car only after validating a conservative stopping envelope. A proposed monitor flags stale or implausible state updates and requests a stop. Report minimum obstacle clearance, tracking error, completion/stopping outcome, and QP time.
VII. CONCLUSION
LACART combines a compact lookahead CLF-CBF-QP with track-boundary handling and a demonstrated miniature-vehicle implementation. Against the supplied implementation of [9], the observed median total and QP times decrease by approximately 6.1% and 8.0%, with qualitatively similar paths. The principal contribution is the integration of computationally efficient safety filtering, track-constrained reference tracking, and experimental validation on a miniature vehicle. By identifying the effects of body geometry, sensing latency, and actuator limits, the work provides a concrete basis for evaluating both the capabilities and limitations of robotic safety intervention.
REFERENCES
[1] P. Lopes and L. T. Paiva, "Collision avoidance strategies using lookahead-augmented control barrier functions for tracking autonomous vehicles," 17th APCA Int. Conf. Automatic Control and Soft Computing, 2026, accepted for publication. [2] P. A. M. Lopes, "UP2Speed - Formal methods for collision avoidance of autonomous racing vehicles," M.Sc. dissertation, Faculdade de Engenharia, Universidade do Porto, Sep. 2026. [3] A. D. Ames, X. Xu, J. W. Grizzle, and P. Tabuada, "Control barrier function based quadratic programs for safety critical systems," IEEE Trans. Autom. Control, vol. 62, no. 8, pp. 3861–3876, 2017. [4] K. L. Hobbs et al., "Runtime assurance for safety-critical systems," IEEE Control Syst. Mag., vol. 43, no. 2, pp. 28–65, 2023. [5] R. Olfati-Saber, "Near-identity diffeomorphisms and exponential -tracking and -stabilization of first-order nonholonomic SE(2) vehicles," in Proc. ACC, 2002, pp. 4690–4695. [6] S. Wilson et al., "The Robotarium: Globally impactful opportunities, challenges, and lessons learned in remote-access, distributed control of multirobot systems," IEEE Control Syst. Mag., vol. 40, no. 1, pp. 26–44, 2020. [7] M. F. Reis, A. P. Aguiar, and P. Tabuada, "Control barrier function-based quadratic programs introduce undesirable asymptotically stable equilibria," IEEE Control Syst. Lett., vol. 5, no. 2, pp. 731–736, 2021. [8] X. Tan and D. V. Dimarogonas, "On the undesired equilibria induced by control barrier function based quadratic programs," Automatica, vol. 159, 2024. [9] J. Huang, Z. Liu, J. Zeng, X. Chi, and H. Su, "Obstacle avoidance for unicycle-modelled mobile robots with time-varying control barrier functions," in IECON 2023, pp. 1–6, 2023, doi: 10.1109/IECON51785.2023.10312269.