Well done! - good clear, logical thinking through the problem, and not panicking - clearmindedness under pressure.
It helps to have a little pre-pulloff routine (like an aircraft pilot would go through before takeoff) to avoid incidents like that. Testing tyres for hardness, and lights for operation should probably also be there, since the effect of them not being properly operational can have nasty consequences.
Bookmarks