cob_linear_nav: change assert to try-catch to check that in all modes