Embodiments of the present disclosure relate to a method and apparatus for outputting information. The method includes: acquiring a target excavating trajectory, the target excavating trajectory including at least two sub-trajectories; determining trajectory parameters of the at least two sub-trajectories; determining, based on the trajectory parameters, positions of a plurality of control points; and outputting the positions of the plurality of control points.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A method for outputting information, comprising: acquiring a target excavating trajectory, the target excavating trajectory comprising at least two sub-trajectories; determining trajectory parameters of the at least two sub-trajectories, the trajectory parameters comprising a length of each sub-trajectory and a weight of each sub-trajectory; determining, based on the trajectory parameters, positions of a plurality of control points; and outputting the positions of the plurality of control points, wherein determining, based on the trajectory parameters, positions of a plurality of control points comprises: for each sub-trajectory, determining a number of control points based on the length and the weight of the sub-trajectory, and determining positions of the number of control points.
2. The method according to claim 1 , wherein the trajectory parameters comprise a curvature radius; and the preset weight corresponding to the sub-trajectory is determined by: determining, based on the curvature radius of the sub-trajectory, the weight corresponding to the sub-trajectory.
3. The method according to claim 1 , wherein distances between adjacent control points in the same sub-trajectory are identical.
4. An apparatus for outputting information, comprising: at least one processor; and a memory storing instructions, the instructions when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising: acquiring a target excavating trajectory, the target excavating trajectory comprising at least two sub-trajectories; determining trajectory parameters of the at least two sub-trajectories, the trajectory parameters comprising a length of each sub-trajectory and a weight of each sub-trajectory; determining, based on the trajectory parameters, positions of a plurality of control points; and outputting the positions of the plurality of control points, wherein determining, based on the trajectory parameters, positions of a plurality of control points comprises: for each sub-trajectory, determining a number of control points based on the length and the weight of the sub-trajectory, and determining positions of the number of control points.
5. The apparatus according to claim 4 , wherein the trajectory parameters comprise a curvature radius; and the preset weight corresponding to the sub-trajectory is determined by: determining, based on the curvature radius of the sub-trajectory, the weight corresponding to the sub-trajectory.
6. The apparatus according to claim 4 , wherein distances between adjacent control points in the same sub-trajectory are identical.
7. A non-transitory computer readable medium storing a computer program, wherein the computer program, when executed by a processor, causes the processor to perform operations, the operations comprising: acquiring a target excavating trajectory, the target excavating trajectory comprising at least two sub-trajectories; determining trajectory parameters of the at least two sub-trajectories, the trajectory parameters comprising a length of each sub-trajectory and a weight of each sub-trajectory; determining, based on the trajectory parameters, positions of a plurality of control points; and outputting the positions of the plurality of control points, wherein determining, based on the trajectory parameters, positions of a plurality of control points comprises: for each sub-trajectory, determining a number of control points based on the length and the weight of the sub-trajectory, and determining positions of the number of control points.
8. The method according to claim 1 , wherein the sub-trajectory comprises an insertion trajectory representing a trajectory of the bucket inserting into inside of a to-be-excavated object, a dragging trajectory representing a trajectory of the bucket being dragged inside the to-be-excavated object, a rotation trajectory representing a trajectory of the bucket carrying materials to rotate, and a lifting trajectory representing a trajectory of the bucket lifting the materials from the inside of the to-be-excavated object.
9. The method according to claim 1 , wherein for each sub-trajectory, determining a number of control points based on the length and the weight of the sub-trajectory, and determining positions of the number of control points, comprises: determining a first number based on the length of the sub-trajectory; and determining a second number based on the weight of the sub-trajectory, the second number being determined based on a corresponding relationship between pre-stored weights and numbers of control points; and selecting a maximum of the first number and the second number as the number of control points for the sub-trajectory.
10. The method according to claim 2 , wherein the smaller the curvature radius of the sub-trajectory is, the larger weight of the sub-trajectory is.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
November 7, 2019
June 28, 2022
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.