A trajectory planning method and a related device are provided. The method may be applied to the autonomous driving field in artificial intelligence. The method includes: obtaining first state information of a vulnerable road user, where the vulnerable road user is within a sensing range of an ego…