CN110672112A - Guide wire switching method, device, apparatus, and medium - Google Patents

Guide wire switching method, device, apparatus, and medium Download PDF

Info

Publication number
CN110672112A
CN110672112A CN201910936353.5A CN201910936353A CN110672112A CN 110672112 A CN110672112 A CN 110672112A CN 201910936353 A CN201910936353 A CN 201910936353A CN 110672112 A CN110672112 A CN 110672112A
Authority
CN
China
Prior art keywords
guide line
guideline
transition
increment
original
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910936353.5A
Other languages
Chinese (zh)
Other versions
CN110672112B (en
Inventor
张建军
李映辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apollo Zhilian Beijing Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910936353.5A priority Critical patent/CN110672112B/en
Priority to CN202111332033.2A priority patent/CN114046799B/en
Publication of CN110672112A publication Critical patent/CN110672112A/en
Application granted granted Critical
Publication of CN110672112B publication Critical patent/CN110672112B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/36Input/output arrangements for on-board computers
    • G01C21/3626Details of the output of route guidance instructions
    • G01C21/365Guidance using head up displays or projectors, e.g. virtual vehicles or arrows projected on the windscreen or on the road itself

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a guide line switching method, a guide line switching device, guide line switching equipment and a guide line switching medium, which relate to the field of data processing, in particular to an AR navigation technology. The specific implementation scheme is as follows: determining positional information of the target guideline and the original guideline in response to the guideline switching event; generating a transition guideline image according to the orientation information; and controlling the original guide line to be switched to the target guide line through the transition guide line image. The embodiment of the application provides a method, a device, equipment and a medium for switching guide lines, and the technical effect of uniformly transitioning from an original guide line to a target guide line when the logic switching is generated by the guide line is realized.

Description

Guide wire switching method, device, apparatus, and medium
Technical Field
The embodiment of the application relates to the field of data processing, in particular to an AR navigation technology. In particular, the present embodiments relate to a guideline switching method, apparatus, device and medium.
Background
Generally, when using AR navigation, a drawn guide line is projected on a front windshield of a vehicle and superimposed with a road scene ahead, so as to achieve the purpose of intuitive guidance.
Currently, the drawing of the guideline is divided into two cases:
and drawing a guide line according to the lane line when the lane line exists. The method is characterized in that the central line of the guide line is not necessarily coincident with the central line of the vehicle advancing direction, and the direction of the guide line is consistent with the direction of the lane line.
And drawing a guide line according to an inertial navigation algorithm under the condition that no lane line exists. Is characterized in that the center line of the guide line is coincident with the center line of the vehicle advancing direction. The guideline direction is drawn in accordance with inertial navigation data.
The above method has a problem in that, referring to fig. 1, when a guideline is drawn according to a case of converting from a lane line to an inertial navigation or from an inertial navigation to a lane line, since a center and a direction angle of a guideline 101 drawn according to the lane line are different from a center and a direction angle of a guideline 102 drawn according to the inertial navigation, the drawn guideline jumps, thereby affecting a customer experience.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a medium for switching a guide line, so as to achieve the technical effect of uniformly transitioning from an original guide line to a target guide line when the guide line generates logic switching.
The embodiment of the application provides a guide line switching method, which comprises the following steps:
determining positional information of the target guideline and the original guideline in response to the guideline switching event;
generating a transition guideline image according to the orientation information;
and controlling the original guide line to be switched to the target guide line through the transition guide line image.
The embodiment of the application has the following advantages or beneficial effects: and controlling the original guide line to be switched to the target guide line through at least one frame of transition guide line image according to the position information of the target guide line and the original guide line. Therefore, the technical effect of uniformly transiting from the original guide line to the target guide line when the logic switching of the guide line generation is realized.
Further, the generating a transition guideline image according to the orientation information includes:
determining a movement azimuth increment according to the azimuth information and the set number of the transition guide line images;
and generating the transition guide line image according to the original guide line and the motion azimuth increment.
Based on the technical characteristics, the embodiment of the application has the following advantages or beneficial effects: determining a movement azimuth increment according to the azimuth information and the set number of the transition guide line images; and generating the transition guide line image according to the original guide line and the movement direction increment, so that the transition guide line image is determined according to the movement direction increment, and the uniform transition from the original guide line to the target guide line is realized based on the transition guide line image.
Further, the generating the transition guide line image according to the original guide line and the movement azimuth increment comprises:
generating a current frame transition guide line image according to the previous frame transition guide line image and the motion azimuth increment;
wherein a first frame transition guideline image is generated from the original guideline and the motion orientation increment.
Based on the technical characteristics, the embodiment of the application has the following advantages or beneficial effects: and generating the current frame transition guide line image according to the previous frame transition guide line image and the motion azimuth increment, thereby realizing the generation of the transition guide line image.
Further, the position information of the target guideline and the original guideline includes: a starting point spacing and/or a direction angle difference between the target guideline and the original guideline.
Further, the generating a transition guideline image according to the orientation information includes:
calculating the ratio of the starting point distance to the set number of the transition guideline images, and taking the ratio as the increment of the moving distance;
calculating the ratio of the direction angle difference to the set number of the transition guideline images, and taking the ratio as a rotation angle increment;
and translating and rotating the previous frame of transition guide line image according to the movement distance increment and the rotation angle increment to generate a current frame of transition guide line image.
Based on the technical characteristics, the embodiment of the application has the following advantages or beneficial effects: determining a movement distance increment and a rotation angle increment according to the starting point distance, the direction angle difference and the set number of the transition guide line images; and translating and rotating the previous frame of transition guide line image according to the movement distance increment and the rotation angle increment to generate a current frame of transition guide line image, so that the generation of the transition guide line image is realized.
An embodiment of the present application further provides a guide wire switching device, including:
the information determining module is used for responding to the guide line switching event and determining the position information of the target guide line and the original guide line;
the image generation module is used for generating a transition guide line image according to the azimuth information;
and the guide line switching module is used for controlling the original guide line to be switched to the target guide line through the transition guide line image.
Further, the image generation module includes:
an increment determining unit, configured to determine a movement azimuth increment according to the azimuth information and the set number of the transition guide line images;
and the image generating unit is used for generating the transition guide line image according to the original guide line and the motion azimuth increment.
Further, the image generation unit is specifically configured to:
generating a current frame transition guide line image according to the previous frame transition guide line image and the motion azimuth increment;
wherein a first frame transition guideline image is generated from the original guideline and the motion orientation increment.
Further, the position information of the target guideline and the original guideline includes: a starting point spacing and/or a direction angle difference between the target guideline and the original guideline.
Further, the image generation module includes:
a distance increment determining unit configured to calculate a ratio of the starting point pitch to the set number of the transition guideline images, the ratio being a movement distance increment;
an angle increment determining unit configured to calculate a ratio of the directional angle difference to the set number of the transition guideline images, the ratio being used as a rotation angle increment;
and the image generating unit is used for translating and rotating the previous frame of transition guide line image according to the movement distance increment and the rotation angle increment so as to generate the current frame of transition guide line image.
An embodiment of the present application further provides an electronic device, which includes:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the embodiments of the present application.
Embodiments of the present application also provide a non-transitory computer-readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any of the embodiments of the present application.
Other effects of the above-described alternative will be described below with reference to specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
fig. 1 is a schematic view of a guideline drawn based on different drawing methods;
figure 2a is a flow chart of a guideline switching method provided in a first embodiment of the present application;
FIG. 2b is a schematic view of a guide wire according to the first embodiment of the present application;
figure 3 is a flow chart of a guideline switching method provided in a second embodiment of the present application;
figure 4 is a flow chart of a guideline switching method provided in a third embodiment of the present application;
figure 5 is a flow chart of another guideline switching method provided in a third embodiment of the present application;
figure 6 is a schematic structural view of a guide wire switching device according to a fourth embodiment of the present application;
fig. 7 is a block diagram of an electronic device of a guideline switching method according to an embodiment of the application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
First embodiment
Fig. 2a is a flowchart of a guideline switching method according to a first embodiment of the present application. This embodiment is applicable to a case where the guide line generation method is switched from the original guide line to the target guide line. The method may be performed by a guidewire switching device, which may be implemented in software and/or hardware. Referring to fig. 2a, the guideline switching method provided by the present embodiment includes:
and S110, responding to the guide line switching event, and determining the direction information of the target guide line and the original guide line.
Here, the guideline switching event is an event for switching the guideline generation method.
Specifically, the event to switch the guideline generation method may be an event to switch from the guideline generation method by inertial navigation to the guideline generation method by lane line, or may be an event to switch from the guideline generation method by lane line to the guideline generation method by inertial navigation.
The target guideline is a guideline generated by the guideline generation logic after switching.
The original guideline is a guideline generated by the guideline generation logic before switching.
The orientation information refers to relative position information between the target guideline and the original guideline.
Specifically, the information on the positions of the target guide line and the original guide line includes: the distance between the starting point of the target guide line and the original guide line, and/or the direction angle difference between the index guide line and the original guide line.
The starting point distance is a distance between the starting point of the target guide line and the starting point of the original guide line.
The direction angle difference refers to a difference between the direction angle of the target guide line and the direction angle of the original guide line.
The direction angle is an angle between the direction pointed by the guide line and the set direction.
Specifically, referring to fig. 2b, AB denotes the original guide line, α is the direction angle of the original guide line, and a is the starting point of the original guide line; CD denotes a target guideline, β is a direction angle of the target guideline, and C is a starting point of the target guideline.
And S120, generating a transition guide line image according to the azimuth information.
The transition guide line image refers to an image in which the original guide line is smoothly transitioned to the target guide line.
The number of transition guideline images can be set as desired.
Specifically, generating a transition guideline image based on the orientation information includes:
determining a movement azimuth increment according to the azimuth information and the set number of the transition guide line images;
and generating the transition guide line image according to the original guide line and the motion azimuth increment.
The motion azimuth increment refers to a distance to be translated or a rotation angle in one frame of the transition guide line image.
Specifically, the generating the transition guide line image according to the original guide line and the motion azimuth increment includes:
generating a current frame transition guide line image according to the previous frame transition guide line image and the motion azimuth increment;
wherein a first frame transition guideline image is generated from the original guideline and the motion orientation increment.
And S130, controlling the original guide line to be switched to the target guide line through the transition guide line image.
Specifically, the controlling the original guideline to be switched to the target guideline through the transition guideline image includes:
accumulating the number of the generated transition guide line images;
and if the accumulated result is less than the set number of the transition guide line images, returning to execute the operation of generating the transition guide line images according to the azimuth information.
According to the technical scheme of the embodiment of the application, the original guide line is controlled to be switched to the target guide line through at least one frame of transition guide line image according to the position information of the target guide line and the original guide line. Therefore, the technical effect of uniformly transiting from the original guide line to the target guide line when the logic switching of the guide line generation is realized.
Second embodiment
Fig. 3 is a flowchart of a guideline switching method according to a second embodiment of the present application. The present embodiment is an alternative proposed based on the above embodiments, taking the example that the direction information of the target guide line and the original guide line is the starting point distance and the direction angle difference between the target guide line and the original guide line. Referring to fig. 3, the guideline switching method provided in the present embodiment includes:
s210, in response to the guide line switching event, determining the position information of the target guide line and the original guide line.
S220, calculating a ratio of the starting point pitch to the set number of transition guideline images, and using the ratio as the movement distance increment.
S230, a ratio of the direction angle difference to the set number of transition guideline images is calculated, and the ratio is used as the rotation angle increment.
And S240, translating and rotating the previous frame of transition guide line image according to the movement distance increment and the rotation angle increment to generate a current frame of transition guide line image.
Wherein a first frame transition guideline image is generated from the original guideline, the movement distance increment, and the rotation angle increment.
Specifically, the original guide line is translated and rotated according to the movement distance increment and the rotation angle increment, and a first frame of transition guide line image is generated.
And S250, controlling the original guide line to be switched to the target guide line through the transition guide line image.
According to the technical scheme of the embodiment of the application, the increment of the moving distance and the increment of the rotating angle are determined according to the distance between the starting points, the direction angle difference and the set number of the images of the transition guide lines; and translating and rotating the previous frame of transition guide line image according to the movement distance increment and the rotation angle increment to generate a current frame of transition guide line image, so that the generation of the transition guide line image is realized.
Third embodiment
Fig. 4 is a flowchart of a guideline switching method according to a third embodiment of the present application. The present embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 4, the guideline switching method provided in this embodiment includes:
and S310, responding to the guide line switching event, and determining the starting point distance and the direction angle difference between the target guide line and the original guide line.
S320, determining a target moving distance according to the starting point distance, and determining a target rotating angle according to the direction angle difference.
Specifically, the determining the target moving distance according to the starting point distance includes:
calculating the ratio of the distance between the starting points to the set number of the transition guide line images, and taking the ratio as the increment of the moving distance;
and taking the product of the number of the drawn transition guide line images and the movement distance increment as the target movement distance.
Specifically, the determining the target rotation angle according to the direction angle difference includes:
calculating the ratio of the direction angle difference to the set number of the transition leading line images, and taking the ratio as the increment of the rotation angle;
and taking the product of the number of drawn transition guide line images and the increment of the rotation angle as the target rotation angle.
And S330, moving the target moving distance of the target guide line from the starting point and the direction angle of the original guide line to the direction close to the starting point and the direction angle of the target guide line, and rotating the target guide line by the target rotating angle.
Further, after the moving and/or rotating the target guide wire, the method further comprises:
drawing the moved and/or rotated target guide line on the transition guide line image, and accumulating the drawn transition guide line image;
and if the accumulated result is less than the set number of the transition guide line images, returning to determine the target moving distance and the target rotating angle, and moving and/or rotating the target guide line according to the target moving distance and the target rotating angle.
Referring to fig. 5, in practical application, the guideline switching method provided by the present embodiment is described as follows:
judging whether the generation method of the guide line is switched or not;
if yes, calculating the distance between the starting points and the direction angle difference between the original guide line and the target guide line;
calculating the ratio of the distance between the starting points to the set number of the transition guide line images, and taking the ratio as the increment of the moving distance; calculating the ratio of the direction angle difference to the set number of the transition leading line images, and taking the ratio as the increment of the rotation angle;
judging whether the number of drawn transition guide line images is less than the set number of the transition guide line images;
if so, taking the product of the number of the drawn transition guide line images and the increment of the moving distance as the target moving distance; taking the product of the number of drawn transition guide line images and the rotation angle increment as the target rotation angle;
the target guide line is moved and/or rotated from the start point and the direction angle of the original guide line toward a direction close to the start point and the direction angle of the target guide line.
According to the technical scheme of the embodiment of the application, the technical effect that when the generation method of the guide line is switched, the original guide line is smoothly transited to the target guide line based on the display of the transition guide line image is achieved. The problem that in the AR navigation, when the generation method of the guide line is switched, the drawn navigation map layer jumps is solved.
Fourth embodiment
Fig. 6 is a schematic structural diagram of a guide wire switching device according to a fourth embodiment of the present application. The present embodiment provides a guide wire switching device 600 including: an information determination module 601, an image generation module 602, and a guideline switching module 603.
The information determining module 601 is configured to determine, in response to a guideline switching event, position information of a target guideline and an original guideline;
an image generating module 602, configured to generate a transition guideline image according to the orientation information;
a guideline switching module 603, configured to control the original guideline to be switched to the target guideline through the transition guideline image.
According to the technical scheme of the embodiment of the application, the original guide line is controlled to be switched to the target guide line through at least one frame of transition guide line image according to the position information of the target guide line and the original guide line. Therefore, the technical effect of uniformly transiting from the original guide line to the target guide line when the logic switching of the guide line generation is realized.
Further, the image generation module includes:
an increment determining unit, configured to determine a movement azimuth increment according to the azimuth information and the set number of the transition guide line images;
and the image generating unit is used for generating the transition guide line image according to the original guide line and the motion azimuth increment.
Further, the image generation unit is specifically configured to:
generating a current frame transition guide line image according to the previous frame transition guide line image and the motion azimuth increment;
wherein a first frame transition guideline image is generated from the original guideline and the motion orientation increment.
Further, the position information of the target guideline and the original guideline includes: a starting point spacing and/or a direction angle difference between the target guideline and the original guideline.
Further, the image generation module includes:
a distance increment determining unit configured to calculate a ratio of the starting point pitch to the set number of the transition guideline images, the ratio being a movement distance increment;
an angle increment determining unit configured to calculate a ratio of the directional angle difference to the set number of the transition guideline images, the ratio being used as a rotation angle increment;
and the image generating unit is used for translating and rotating the previous frame of transition guide line image according to the movement distance increment and the rotation angle increment so as to generate the current frame of transition guide line image.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 7, it is a block diagram of an electronic device according to the guideline switching method of the embodiment of the application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 7, the electronic apparatus includes: one or more processors 701, a memory 702, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 7, one processor 701 is taken as an example.
The memory 702 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by at least one processor to cause the at least one processor to perform the guideline switching method provided herein. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to perform the guideline switching method provided herein.
The memory 702, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the guideline switching method in the embodiments of the application (for example, the information determination module 601, the image generation module 602, and the guideline switching module 603 shown in fig. 6). The processor 701 executes various functional applications of the server and data processing by running non-transitory software programs, instructions, and modules stored in the memory 702, that is, implements the guideline switching method in the above-described method embodiment.
The memory 702 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the guideline switching electronic device, and the like. Further, the memory 702 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 702 optionally includes memory remotely located from processor 701, which may be connected to the guideline switching electronics via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the guide line switching method may further include: an input device 703 and an output device 704. The processor 701, the memory 702, the input device 703 and the output device 704 may be connected by a bus or other means, and fig. 7 illustrates an example of a connection by a bus.
The input device 703 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the guide-line switching electronic apparatus, such as a touch screen, keypad, mouse, track pad, touch pad, pointing stick, one or more mouse buttons, track ball, joystick, or other input device. The output devices 704 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. A guide wire switching method, comprising:
determining positional information of the target guideline and the original guideline in response to the guideline switching event;
generating a transition guideline image according to the orientation information;
and controlling the original guide line to be switched to the target guide line through the transition guide line image.
2. The method of claim 1, wherein generating a transition guideline image from the orientation information comprises:
determining a movement azimuth increment according to the azimuth information and the set number of the transition guide line images;
and generating the transition guide line image according to the original guide line and the motion azimuth increment.
3. The method of claim 2, wherein generating the transitional guidewire image from the original guidewire and the motion orientation increment comprises:
generating a current frame transition guide line image according to the previous frame transition guide line image and the motion azimuth increment;
wherein a first frame transition guideline image is generated from the original guideline and the motion orientation increment.
4. The method of claim 1, wherein the positional information of the target guideline and the original guideline comprises: a starting point spacing and/or a direction angle difference between the target guideline and the original guideline.
5. The method of claim 4, wherein generating a transition guideline image from the orientation information comprises:
calculating the ratio of the starting point distance to the set number of the transition guideline images, and taking the ratio as the increment of the moving distance;
calculating the ratio of the direction angle difference to the set number of the transition guideline images, and taking the ratio as a rotation angle increment;
and translating and rotating the previous frame of transition guide line image according to the movement distance increment and the rotation angle increment to generate a current frame of transition guide line image.
6. A guidewire switching device, comprising:
the information determining module is used for responding to the guide line switching event and determining the position information of the target guide line and the original guide line;
the image generation module is used for generating a transition guide line image according to the azimuth information;
and the guide line switching module is used for controlling the original guide line to be switched to the target guide line through the transition guide line image.
7. The apparatus of claim 6, wherein the image generation module comprises:
an increment determining unit, configured to determine a movement azimuth increment according to the azimuth information and the set number of the transition guide line images;
and the image generating unit is used for generating the transition guide line image according to the original guide line and the motion azimuth increment.
8. The apparatus according to claim 7, wherein the image generation unit is specifically configured to:
generating a current frame transition guide line image according to the previous frame transition guide line image and the motion azimuth increment;
wherein a first frame transition guideline image is generated from the original guideline and the motion orientation increment.
9. The device of claim 6, wherein the positional information of the target guideline and the original guideline comprises: a starting point spacing and/or a direction angle difference between the target guideline and the original guideline.
10. The apparatus of claim 9, wherein the image generation module comprises:
a distance increment determining unit configured to calculate a ratio of the starting point pitch to the set number of the transition guideline images, the ratio being a movement distance increment;
an angle increment determining unit configured to calculate a ratio of the directional angle difference to the set number of the transition guideline images, the ratio being used as a rotation angle increment;
and the image generating unit is used for translating and rotating the previous frame of transition guide line image according to the movement distance increment and the rotation angle increment so as to generate the current frame of transition guide line image.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
CN201910936353.5A 2019-09-29 2019-09-29 Guide wire switching method, device, apparatus, and medium Active CN110672112B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910936353.5A CN110672112B (en) 2019-09-29 2019-09-29 Guide wire switching method, device, apparatus, and medium
CN202111332033.2A CN114046799B (en) 2019-09-29 2019-09-29 Guide wire switching method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910936353.5A CN110672112B (en) 2019-09-29 2019-09-29 Guide wire switching method, device, apparatus, and medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202111332033.2A Division CN114046799B (en) 2019-09-29 2019-09-29 Guide wire switching method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN110672112A true CN110672112A (en) 2020-01-10
CN110672112B CN110672112B (en) 2021-11-12

Family

ID=69080146

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910936353.5A Active CN110672112B (en) 2019-09-29 2019-09-29 Guide wire switching method, device, apparatus, and medium
CN202111332033.2A Active CN114046799B (en) 2019-09-29 2019-09-29 Guide wire switching method, device, equipment and medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202111332033.2A Active CN114046799B (en) 2019-09-29 2019-09-29 Guide wire switching method, device, equipment and medium

Country Status (1)

Country Link
CN (2) CN110672112B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103842775A (en) * 2011-11-08 2014-06-04 爱信艾达株式会社 Lane guidance display system, method, and program
US20140297181A1 (en) * 2011-11-02 2014-10-02 Aisin Aw Co., Ltd. Lane guidance display system, lane guidance display method, and lane guidance display program
CN104880194A (en) * 2014-02-27 2015-09-02 高德软件有限公司 Navigation method, navigation apparatus and navigation equipment
CN105654030A (en) * 2014-12-01 2016-06-08 星克跃尔株式会社 Electronic apparatus, control method thereof, computer program, and computer-readable recording medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4899826B2 (en) * 2006-11-28 2012-03-21 アイシン・エィ・ダブリュ株式会社 Parking support method and parking support device
US9677898B2 (en) * 2014-06-17 2017-06-13 Think Ware Corporation Electronic apparatus and control method thereof
DE102018124798A1 (en) * 2017-10-09 2019-04-11 GM Global Technology Operations LLC METHOD AND DEVICE FOR PRODUCING AND DISPLAYING GUIDELINES
CN110031010A (en) * 2019-04-09 2019-07-19 百度在线网络技术(北京)有限公司 Vehicle guiding route method for drafting, device and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140297181A1 (en) * 2011-11-02 2014-10-02 Aisin Aw Co., Ltd. Lane guidance display system, lane guidance display method, and lane guidance display program
CN103842775A (en) * 2011-11-08 2014-06-04 爱信艾达株式会社 Lane guidance display system, method, and program
CN104880194A (en) * 2014-02-27 2015-09-02 高德软件有限公司 Navigation method, navigation apparatus and navigation equipment
CN105654030A (en) * 2014-12-01 2016-06-08 星克跃尔株式会社 Electronic apparatus, control method thereof, computer program, and computer-readable recording medium

Also Published As

Publication number Publication date
CN114046799A (en) 2022-02-15
CN110672112B (en) 2021-11-12
CN114046799B (en) 2023-09-26

Similar Documents

Publication Publication Date Title
CN111216738B (en) Control method and device for vehicle in automatic driving, electronic equipment and vehicle
CN110617825B (en) Vehicle positioning method and device, electronic equipment and medium
CN111645521B (en) Control method and device for intelligent rearview mirror, electronic equipment and storage medium
CN107408011B (en) Dynamically merging multiple screens into one viewport
US11120617B2 (en) Method and apparatus for switching panoramic scene
CN110986980B (en) Automatic driving planning route detection method and device and electronic equipment
CN111413968B (en) Vehicle control method and device and electronic equipment
CN112802325A (en) Vehicle queuing length detection method and device
CN112793570A (en) Control method, device, equipment and storage medium for automatic driving vehicle
CN111121814A (en) Navigation method, navigation device, electronic equipment and computer readable storage medium
CN113844463B (en) Vehicle control method and device based on automatic driving system and vehicle
CN111652112A (en) Lane flow direction identification method and device, electronic equipment and storage medium
KR20210071884A (en) Roundabout navigation method, device and equipment and storage medium
CN111767507A (en) Backing track tracking method and device, electronic equipment and storage medium
CN110796191B (en) Trajectory classification method and device
CN112578788A (en) Vehicle obstacle avoidance quadratic programming method, device, equipment and readable storage medium
CN111966471B (en) Access method, device, electronic equipment and computer storage medium
CN111275803B (en) 3D model rendering method, device, equipment and storage medium
CN110672112B (en) Guide wire switching method, device, apparatus, and medium
CN111814651A (en) Method, device and equipment for generating lane line
CN111707286A (en) Method and device for planning route
CN111696134A (en) Target detection method and device and electronic equipment
CN111252069B (en) Method and device for changing lane of vehicle
US20210180975A1 (en) Method, apparatus, electronic device and storage medium for displaying ar navigation
CN110728721B (en) Method, device and equipment for acquiring external parameters

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211019

Address after: 100176 101, floor 1, building 1, yard 7, Ruihe West 2nd Road, Beijing Economic and Technological Development Zone, Daxing District, Beijing

Applicant after: Apollo Zhilian (Beijing) Technology Co.,Ltd.

Address before: 100085 Baidu Building, 10 Shangdi Tenth Street, Haidian District, Beijing

Applicant before: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant