Text this: Safe trajectory analysis and validation for multi-axle vehicles considering the stable constraints