CPC B60W 60/001 (2020.02) [G01C 21/34 (2013.01); B60W 2510/18 (2013.01); B60W 2510/20 (2013.01); B60W 2520/10 (2013.01); B60W 2520/14 (2013.01); B60W 2520/16 (2013.01); B60W 2520/18 (2013.01); B60W 2552/15 (2020.02)] | 9 Claims |
1. A computer-implemented method for planning a trajectory for a vehicle, the method comprising:
obtaining a pre-defined roadmodel 2-dimensional (2D) manifold in 6D space, wherein the roadmodel 2D manifold in 6D space represents objects in a roadmodel in 6D (x, y, z, R, P, Y) space, wherein x and y respectively represent positions of objects on a horizontal plane, and z, R, P and Y respectively represent a height, roll angle, pitch angle and yaw angle of the objects in a real world;
obtaining a current position (x0, y0, z0) of the vehicle and a target position of the vehicle on the horizontal plane (x1, y1);
obtaining a piece of the roadmodel 2D manifold in 6D space covering the current position and the target position;
flattening a piece of the roadmodel represented by the piece of the roadmodel 2D manifold in 6D space onto the horizontal plane while maintaining a distance between any two points from 3D space to the horizontal plane;
planning a trajectory for the vehicle from the current position to the target position in the flattened roadmodel on the horizontal plane; and
planning a velocity, throttle, brake and steering of the vehicle based on the planned trajectory;
wherein planning the trajectory for the vehicle from the current position to the target position in the flattened roadmodel on the horizontal plane comprises:
planning the trajectory for the vehicle from the current position to the target position based on the flattened roadmodel as if the roadmodel were originally on the horizontal plane; and
planning a delta odometry (Δx, Δy, θ) for each of a plurality of sections of the planned trajectory;
wherein planning the velocity, throttle, brake and steering of the vehicle based on the planned trajectory comprises:
converting the delta odometry (Δx, Δy, θ) for each of the plurality of sections of the planned trajectory into the 6D space; and
planning the velocity, throttle, brake and steering of the vehicle for each section by taking the height, roll angle, pitch angle and yaw angle information into consideration; and
wherein the vehicle comprises an odometer for providing odometry information, and wherein the odometry information provided by the odometer is comparable to the delta odometry (Δx, Δy, θ) for each section to determine whether the vehicle deviates from the planned trajectory.
|