Trajectory tracking and stability control via MPC with adaptive control barrier functions | Synapse