This application claims priority to Chinese Patent Application No. CN 202311072253.5, filed Aug. 23, 2023, which is hereby incorporated by reference herein as if set forth in its entirety.
The present disclosure generally relates to legged robots, and in particular relates to a control device and method for trajectory planning of the turning motion of a legged robot and computer-readable storage medium.
With the continuous development of science and technology, robotics has garnered widespread attention across various industries due to its significant research and application value. Quadruped robots, in particular, are increasingly valued for their agility, fast movement, and greater stability compared to biped robots. As a result, the development and motion planning control methods for quadruped robots have become increasingly important. Among these, the low-cost spider-type quadruped robot is currently a key research focus in the field of quadruped robots. A crucial technical challenge in controlling quadruped robots is maintaining the stability of the robot's body posture during high-dynamic movements.
Therefore, for a low-cost spider-type quadruped robot, how to ensure that the spider-type quadruped robot maintains a stable body posture during rapid turning movements is an important issue that needs to be urgently addressed in today's quadruped robot control technology.
Therefore, there is a need to provide a method and control device for trajectory planning of the turning motion of a spider-type quadruped robot to overcome the above-mentioned problems.
Many aspects of the present embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present embodiments. Moreover, in the drawings, all the views are schematic, and like reference numerals designate corresponding parts throughout the several views.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings, in which like reference numerals indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references can mean “at least one” embodiment.
Although the features and elements of the present disclosure are described as embodiments in particular combinations, each feature or element can be used alone or in other various combinations within the principles of the present disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Through extensive research, the inventors of the present disclosure have discovered that for low-cost spider-type quadruped robots, due to the limited degrees of freedom in each leg's joints, it is often challenging for the control scheme to simultaneously manage the stride length control in the forward direction, the offset motion control in the lateral direction, and the leg-lifting height control in the vertical direction. This necessitates trade-offs among the control functions of the spider-type quadruped robot. Currently, the motion planning approach for spider-type quadruped robots involves selecting stride length and leg-lifting height as control variables, and planning the foot-end trajectory within the coronal plane (i.e., the XOZ plane) in the world coordinate system to drive the robot to move in the forward direction. The effect of the robot's turning motion relies on setting the difference in the step length of the left and right legs in the aforementioned foot-end trajectory in the support phase (i.e., when the left front leg and right hind leg are in contact with the surface where the robot is located, or when the right front leg and left hind leg are in contact with the surface). This can easily cause the spider-type quadruped robot to experience slippage along the line passing through the foot-ends of the support legs when there is a large difference in step length. As a result, the robot cannot effectively maintain a stable body posture while achieving smooth and rapid turning motion. Additionally, this turning motion scheme is not well-suited for leg structures with non-parallel rotational joints, leading to poor generalization in turning motion planning.
In this context, to address the aforementioned issues, the present disclosure provides a method and device for planning robot turning trajectories suitable for various styles of spider-type quadruped robots, along with robot control device and computer-readable storage media. This approach aims to enhance the generality of turning motion planning while ensuring that the corresponding spider-type quadruped robot can achieve smooth and rapid turning motion while maintaining stable body posture.
The following detailed description of some embodiments of the present disclosure is provided with reference to the accompanying drawings. Where there is no conflict, the embodiments and features described below can be combined with one another.
In one embodiment, the robot control device 10 can be a computer device independent of the spider-type quadruped robot. This computer device can be a personal computer, cloud server, laptop computer, or tablet computer. Alternatively, the robot control device 10 can be a hardware module integrated with the spider-type quadruped robot. The spider-type quadruped robot can be position-controlled, force-controlled, or controlled using a hybrid of position and force control. Viewed along the forward direction of the spider-type quadruped robot, the four legs of the spider-type quadruped robot can be divided into a left front leg, a right front leg, a left hind leg and a right hind leg. The degrees of freedom of the joint(s) of each leg of the spider-type quadruped robot can be 3, 4, or 2. Taking the spider-type quadruped robot shown in
In one embodiment, the robot control device 10 may include a storage 11, a processor 12, a communication unit 13, and a trajectory planning module 100. The storage 11, the processor 12, and the communication unit 13 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, the storage 11, the processor 12, and the communication unit 13 can be electrically connected to each other through one or more communication buses or signal lines.
In one embodiment, the storage 11 may be, but not limited to, a random-access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electric erasable programmable read-only memory (EEPROM) and the like. The storage 11 is to store computer programs, and the processor 12 may execute one or more of the computer programs accordingly after receiving an execution instruction.
In one embodiment, the processor 12 may be an integrated circuit chip with signal processing capability. The processor 12 may be a general-purpose processor, including a central processing unit (CPU), a graphics processing unit (GPU), a network processor (NP), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or at least one of other programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, which may implement or execute the methods, steps, and logic diagrams disclosed in the embodiments of the present disclosure.
In one embodiment, the communication unit 13 is to establish a communication connection between the robot control device 10 and other electronic devices through a network, and to send and receive data through the network. The network may include a wired communication network and a wireless communication network. For example, the robot control device 10 can obtain a turning angle for the spider-type quadruped robot through the communication unit 13. The turning angle indicates the actual angle at which the spider-type quadruped robot needs to turn within the current gait cycle, representing the desired turning requirement during the robot's actual motion.
In one embodiment, the trajectory planning device 100 includes at least one software function module that can be stored in the storage 11 in the form of software or firmware or embedded in the operating system of the robot control device 10. The processor 12 can execute the executable modules stored in the storage 11, such as the software function module and computer programs included in the trajectory planning module 100. The robot control device 10 can use the trajectory planning module 100 to plan an appropriate turning motion trajectory for each support leg in real-time in a floating base coordinate system that adapts to the body posture according to the steering requirements during the movement of different styles of spider-type quadruped robots. This ensures that the corresponding spider-type quadruped robots can achieve smooth and fast body turning motion effect while maintaining the stability of the body posture through the planned motion trajectories, which can effectively enhance the general applicability of the turning trajectory planning method across different types of spider-type quadruped robots.
The floating base coordinate system (such as the coordinate system F in
It should be noted that the block diagram shown in
For the spider-type quadruped robot, during walking, the legs can be divided diagonally. The left front leg and right hind leg are grouped as one diagonal pair, while the right front leg and left hind leg are grouped as the other diagonal pair. During walking, the two diagonal pairs will be controlled to be alternately in contact with the surface (e.g., floor) where the robot is located. That is, when one diagonal pair is in a support state, the other diagonal pair will be in a swinging state, thereby ensuring that the spider-type quadruped robot can walk normally.
For a complete walking motion of the spider-type quadruped robot, its corresponding gait cycle can be composed of two consecutive diagonal leg support periods. The first diagonal leg support period indicates that the left front leg and the right hind leg of the spider-type quadruped robot are in a support state (i.e., the left front leg and the right hind leg are in contact with the surface where the robot is located), and at this time, the right front leg and the left hind leg of the spider-type quadruped robot are in a swinging state. Similarly, the second diagonal leg support period indicates that the right front leg and the left hind leg of the spider-type quadruped robot are in the support state, and at this time, the left front leg and the right hind leg of the spider-type quadruped robot are in a swinging state
For a single diagonal leg support period, this period refers to the time period from when the corresponding diagonal legs make contact with the surface (e.g., floor) where the robot is located until they lift off. The position where the sole of the left front leg of the spider-type quadruped robot contacts the surface can be selected as the origin of the world coordinate system. A Cartesian right-handed coordinate system is established such that the positive direction of the X-axis in the world coordinate system is the robot's forward direction, the positive direction of the Z-axis points upward perpendicular to the ground, and the positive direction of the Y-axis represents the robot's lateral direction. This world coordinate system is to describe the actual movement of the spider-type quadruped robot within the entire global space.
In this disclosure, in order to ensure that the robot control device 10 can provide a highly universal turning motion planning method for different styles of spider-type quadruped robots, and use the turning motion planning method to enable the spider-type quadruped robots to achieve a smooth and fast body turning motion effect while maintaining the body posture stability, the present disclosure provides a method for trajectory planning of a turning motion of a spider-type quadruped robot to achieve the above-mentioned purpose, which will be described in detail below.
Step S210: Acquire a desired turning angle of the spider-type quadruped robot in a floating base coordinate system during a current gait cycle.
In one embodiment, to achieve turning control during actual movement of the robot, the motion control operation of the spider-type quadruped robot can be decoupled into two control components. The two control components can include the motion component (1) of the spider-type quadruped robot moving forward along the positive direction of the axis XF of the floating base coordinate system, and the motion component (2) of the spider-type quadruped robot rotating around the axis ZF of the floating base coordinate system. The motion component (1) is to drive the spider-type quadruped robot forward or backward, and the motion component (2) is to drive the spider-type quadruped robot to generate self-rotation motion, such that the spider-type quadruped robot can achieve the turning motion effect. Therefore, the desired turning angle can be represented by the angle γ in the plane XFOFYF in
Step S220: Calculate a desired displacement for each support leg of the spider-type quadruped robot in the floating base coordinate system during the current gait cycle based on the desired turning angle.
In one embodiment, since the spider-type quadruped robot can only effectively adjust the body posture by driving the diagonal legs in the support state, it needs to plan an appropriate turning motion trajectory for each support leg in the plane XFOFYF of the floating base coordinate system to achieve the self-rotation gait adjustment effect shown in
Taking the robot turning diagram shown in
For each leg of the spider-type quadruped robot, if wPfoot represents the position coordinates of the foot end of the leg in the world coordinate system, wPhip represents the position coordinates of the hip joint of the leg in the world coordinate system, and wPO
where wXO
On this basis, within a gait cycle of the spider-type quadruped robot, the position vector change relationship in the world coordinate system concerning the changes in the motion of a single leg and the changes in the motion of the origin of the floating base coordinate system can be expressed by the following equations:
where wΔXO
In this process, it should be noted that the hip joint of each leg of the spider-type quadruped robot will not move relative to the body of the robot, which means that wΔXO
At this time, for a single support leg of the spider-type quadruped robot, the change in the foot-end position of the support leg in a gait cycle in the floating base coordinate system can be expressed by the following equation: FΔPfoot=FΔXO
In summary, after obtaining the desired turning angle of the spider-type quadruped robot in the current gait cycle in the floating base coordinate system, the robot control device 10 will first calculate, for each support leg of the spider-type quadruped robot in the current gait cycle, the turning displacement of the hip joint of each support leg in the world coordinate system for achieving the desired turning angle. Then, based on the equation for calculating the change in the foot-end position of each support leg, data conversion will be performed on the turning displacement of the hip joint of each support leg to obtain the desired displacement of each support leg in the floating base coordinate system during the current gait cycle of the spider-type quadruped robot. Here, the desired displacement of each support leg represents the foot-end position displacement required for the corresponding support leg to achieve the desired turning motion effect in the current gait cycle in the floating base coordinate system. The desired turning motion effect corresponds to the desired turning angle.
Referring to
Step S221: Determine a target diagonal leg support period to which a current diagonal leg support state of the spider-type quadruped robot belongs in the current gait cycle.
In one embodiment, the robot control device can obtain the foot-end position information of each of the four legs of the spider-type quadruped robot at the current motion moment to determine the actual diagonal legs in the support state at the current movement moment from the four legs of the spider-type quadruped robot. Then, the robot control device can determine whether the current motion moment actually belongs to the first diagonal leg support period or the second diagonal leg support period in the current gait cycle, and then directly use the diagonal leg support period to which the current motion moment belongs as the current target diagonal leg support period of the spider-type quadruped robot.
Step S222: Based on a hip joint turning displacement calculation strategy that matches the target diagonal leg support period, calculate a target hip joint turning displacement corresponding to the desired turning angle in a world coordinate system of the spider-type quadruped robot.
In one embodiment, when the target diagonal leg support period is the first diagonal leg support period, the hip joint turning displacement calculation strategy matching the target diagonal leg support period can be expressed by the following equations:
When the target diagonal leg support period is the second diagonal leg support period, the hip joint turning displacement calculation strategy matching the target diagonal leg support period can be expressed by the following equations:
In the equations above, Δx(LF,RH) represents components of turning displacements in a forward direction in the world coordinate system for hip joints corresponding to the left front leg and right hind leg of the spider-type quadruped robot when the left front leg and right hind leg are in the support state, Δy(LF,RH) represents components of turning displacements in a lateral direction in the world coordinate system for hip joints corresponding to the left front leg and right hind leg of the spider-type quadruped robot when the left front leg and right hind leg are in the support state, Δx(RF,LH) represents components of turning displacements in a forward direction in the world coordinate system for hip joints corresponding to the right front leg and left hind leg of the spider-type quadruped robot when the right front leg and left hind leg are in the support state, Δy(RF,LH) represents components of turning displacements in a lateral direction in the world coordinate system for hip joints corresponding to the right front leg and left hind leg of the spider-type quadruped robot when the right front leg and left hind leg are in the support state, γ represents the desired turning angle of the spider-type quadruped robot in the floating base coordinate system during the current gait cycle, Len represents a distance between the hip joints corresponding to the left front leg and the left hind leg of the spider-type quadruped robot, or a distance between the hip joints corresponding to the right front leg and the right hind leg of the spider-type quadruped robot, Wid represents a distance between the hip joints corresponding to the left front leg and the right front leg of the spider-type quadruped robot, or a distance between the hip joints corresponding to the left hind leg and the right hind leg of the spider-type quadruped robot.
Therefore, when the robot control device 10 determines the current target diagonal leg support period of the spider-type quadruped robot, it will use the hip joint turning displacement calculation strategy that matches the target diagonal leg support period, and for each support leg corresponding to the target diagonal leg support period, calculate the desired turning displacement of the hip joint of the support leg in the current gait cycle in the world coordinate system, which includes the component of the turning displacement of the corresponding hip joint in the lateral direction of the world coordinate system, and the component of the turning displacement of the corresponding hip joint in the forward direction of the world coordinate system. Then, matrix construction processing is performed on the desired turning displacement of the hip joints of the two support legs in the current gait cycle in the world coordinate system to obtain the target hip joint turning displacement corresponding to the desired turning angle in the current gait cycle of the spider-type quadruped robot in the world coordinate system.
Step S223: Acquire a target rotation matrix of the floating base coordinate system of the spider-type quadruped robot relative to the world coordinate system when the desired turning angle is achieved.
In one embodiment, the robot control device 10 may pre-store coordinate system rotation matrixes of the floating base coordinate system of the spider-type quadruped robot relative to the world coordinate system at different turning angles, so that the robot control device 10 can directly extract the coordinate system rotation matrix that matches the desired turning angle from the multiple coordinate system rotation matrices stored in itself, and use the extracted coordinate system rotation matrix as the target rotation matrix.
Step S224: Perform coordinate system conversion on the target hip joint turning displacement according to the target rotation matrix to acquire the desired displacement.
In one embodiment, the coordinate system conversion relationship between the desired displacement for each support leg and the target hip joint turning displacement is expressed by the following equation: FΔPfoot=−R(γ)·wΔPhip, where FΔPfoot represents the desired displacement for each support leg of the spider-type quadruped robot in the floating base coordinate system during the current gait cycle, wΔPhip represents the target hip joint turning displacement corresponding to the desired turning angle in the world coordinate system of the spider-type quadruped robot, R(γ) represents the target rotation matrix of the floating base coordinate system of the spider-type quadruped robot relative to the world coordinate system when the desired turning angle is achieved.
When the target diagonal leg support period is the first diagonal leg support period, wΔPhip=[Δx(LF,RH) Δy(LF,RH)]T and FΔPfoot=[Δx′(LF,RH) Δy′(LF,RH)]T, where Δx(LF,RH) represents components of turning displacements in a forward direction in the world coordinate system for hip joints corresponding to the left front leg and right hind leg of the spider-type quadruped robot when the left front leg and right hind leg are in the support state, Δy(LF,RH) represents components of turning displacements in a lateral direction in the world coordinate system for hip joints corresponding to the left front leg and right hind leg of the spider-type quadruped robot when the left front leg and right hind leg are in the support state, Δx(LF,RH) represents components of desired support leg displacements of the left front leg and the right hind leg of the spider-type quadruped robot in the forward direction in the floating base coordinate system when the left front leg and the right hind leg are in the support state, and Δy(LF,RH) represents components of desired support leg displacements of the left front leg and the right hind leg of the spider-type quadruped robot in the lateral direction in the floating base coordinate system when the left front leg and the right hind leg are in the support state.
When the target diagonal leg support period is the second diagonal leg support period, wΔPhip=[Δx(RF,LH) Δy(RF,LH)]T and FΔPfoot=[Δx(RF,LH) Δy(RF,LH)]T, where Δx(RF,LH) represents components of turning displacements in a forward direction in the world coordinate system for hip joints corresponding to the right front leg and left hind leg of the spider-type quadruped robot when the right front leg and left hind leg are in the support state, Δy(RF,LH) represents components of turning displacements in a lateral direction in the world coordinate system for hip joints corresponding to the right front leg and left hind leg of the spider-type quadruped robot when the right front leg and left hind leg are in the support state, Δx′(RF,LH) represents components of desired support leg displacements of the right front leg and the left hind leg of the spider-type quadruped robot in the forward direction in the floating base coordinate system when the right front leg and the left hind leg are in the support state, Δy′(RF,LH) represents components of desired support leg displacements of the right front leg and the left hind leg of the spider-type quadruped robot in the lateral direction in the floating base coordinate system when the right front leg and the left hind leg are in the support state.
By executing the above-mentioned steps S221 to S224, the desired displacement of each support leg required to achieve the desired turning motion effect in the current gait cycle can be determined in the floating base coordinate system of the spider-type quadruped robot.
Step S230: Perform discrete trajectory planning in the floating base coordinate system based on the desired displacements of the support legs, to obtain a desired turning motion trajectory for each of the support legs of the spider-type quadruped robot in the floating base coordinate system during the current gait cycle.
In one embodiment, after the robot control device 10 determines the desired displacement for each support leg of the two diagonally distributed support legs of the spider-type quadruped robot required for achieving the desired turning motion effect in the current gait cycle in the floating base coordinate system, the robot control device 10 will perform discrete trajectory planning processing on the desired displacement for each support leg in the plane XFOFYF of the floating base coordinate system according to the time distribution of the supporting phase in the current gait cycle, to obtain the desired turning motion trajectory for each support leg of the diagonal support legs of the spider-type quadruped robot in the current gait cycle in the floating base coordinate system. Here, the desired turning motion trajectory for each support leg represents the foot-end motion trajectory required for the current support leg of the spider-type quadruped robot to achieve the desired turning motion effect in the floating base coordinate system.
In one embodiment, the desired turning motion trajectories for the support legs of the spider-type quadruped robot include desired turning motion trajectories of two current support legs of the spider-type quadruped robot in the current gait cycle in the floating base coordinate system. Step S230 may include: determine a target diagonal leg support period to which a current diagonal leg support state of the spider-type quadruped robot belongs in the current gait cycle; constrain the desired displacements for the support legs to the target diagonal leg support period for displacement discretization to obtain a corresponding displacement discretization result; and according to a relative position relationship and a relative motion relationship between the two current support legs of the spider-type quadruped robot, perform trajectory planning on the two support legs based on the displacement discretization result to acquire the desired turning motion trajectories of the two support legs in the current gait cycle in the floating base coordinate system.
In one embodiment, the relative position relationship between the two diagonal support legs in the support state can be expressed by the relative distribution of the actual positions of the foot ends of the two support legs in the floating base coordinate system. The relative motion relationship between the two diagonal support legs in the support state can be expressed by the relative relationship between the moving directions of the hip joints of the two support legs in the plane XFOFYF. The moving directions of the hip joints of the two diagonal support legs in the support state in the plane XFOFYF are parallel and opposite.
By executing the steps S210 to S230, an appropriate turning motion trajectory for each support leg can be planned in real-time within a floating base coordinate system that adapts to the body posture during the motion of the spider-type quadruped robot, based on turning requirements. The planned turning trajectories for support legs ensure that the corresponding spider-type quadruped robot achieves smooth and rapid turning motion while maintaining body posture stability. Additionally, the turning motion planning approach described above can be applied to different types of spider-type quadruped robots, thereby enhancing the general applicability of the turning trajectory planning method for the spider-type quadruped robot.
Step S240: Perform coordinate system transformation on the desired turning motion trajectory for each of the support legs of the spider-type quadruped robot in the floating base coordinate system during the current gait cycle, to obtain target turning motion trajectories of the support legs of the spider-type quadruped robot in the current gait cycle in the world coordinate system.
In one embodiment, after obtaining the desired turning motion trajectory for each support leg of the spider-type quadruped robot in the current gait cycle in the floating base coordinate system, the robot control device 10 can perform a coordinate system transformation on the desired turning motion trajectory for each support leg based on the target rotation matrix of the floating base coordinate system of the spider-type quadruped robot relative to the world coordinate system when the desired turning angle is met, so as to obtain the target turning motion trajectory for each support leg of the spider-type quadruped robot in the current gait cycle in the world coordinate system.
Step S250: Perform linear trajectory superposition based on a forward motion trajectory and the target turning motion trajectories of the support legs of the spider-type quadruped robot in the current gait cycle in the world coordinate system, to obtain a desired composite motion trajectory of the spider-type quadruped robot in the current gait cycle in the world coordinate system.
In one embodiment, the robot control device 10 can linearly superimpose the forward motion trajectory and the target turning motion trajectory for each support leg within the same world coordinate system during the current gait cycle. This ensures that the final desired composite motion trajectory effectively combines the desired forward motion effect of the forward motion trajectory with the desired turning motion effect of the target turning motion trajectories for the support legs. When the spider-type quadruped robot moves along the desired composite motion trajectory in the world coordinate system, it can achieve stable, smooth, and rapid orbital motion around the instantaneous center of rotation, thereby preventing any instability in the body posture during the robot's turning process.
By executing the aforementioned steps S240 and S250, it is ensured that the planned robot turning motion trajectory can be superimposed onto the original forward motion trajectory of the spider-type quadruped robot. This allows the robot to achieve stable, smooth, and rapid orbital motion around the instantaneous center of rotation in the world coordinate system, preventing any instability in the body posture during the robot's turning process.
In order to ensure that the robot control device 10 can execute the above-mentioned trajectory planning method through the trajectory planning module 100, the present disclosure implements the above-mentioned functions by dividing the trajectory planning module 100 into functional modules, which will be described in detail below.
Referring to
The turning angle acquisition module 110 is to acquire a desired turning angle of the spider-type quadruped robot in a floating base coordinate system during a current gait cycle. The desired displacement calculation module 120 is to calculate a desired displacement for each support leg of the spider-type quadruped robot in the floating base coordinate system during the current gait cycle based on the desired turning angle. The turning trajectory planning module 130 is to perform discrete trajectory planning in the floating base coordinate system based on the desired displacements of the support legs, to obtain a desired turning motion trajectory for each of the support legs of the spider-type quadruped robot in the floating base coordinate system during the current gait cycle.
Referring to
It should be noted that the trajectory planning module 100 shares the same basic principles and technical effects as the previously described trajectory planning method. For the sake of brief description, for the aspects not mentioned in this embodiment, reference can be made to the description of the aforementioned trajectory planning method.
It should be noted that the trajectory planning module 100 can be divided into functional modules to varying degrees based on various process embodiments of the above-mentioned trajectory planning method. For example, each step's function can be an individual functional module, or two or more step functions can be integrated into a single functional module. The above-mentioned functional modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the functional module division shown in
For example, the above-mentioned turning trajectory planning module 130, turning trajectory transformation module 140 and/or motion trajectory superposition module 150 can be divided into more modules. Alternatively, the turning trajectory planning module 130, turning trajectory transformation module 140 and motion trajectory superposition module 150 can be integrated into a single module. The present disclosure does not specifically limit the detailed implementation methods of the turning trajectory planning module 130, the turning trajectory transformation module 140, and the motion trajectory superimposition module 150. It should be that the specific implementation methods of the turning angle acquisition module 110 and/or the desired displacement calculation module 120 can refer to the implementation methods of the turning trajectory planning module 130, the turning trajectory transformation module 140, or the motion trajectory superimposition module 150 mentioned above, which will not be repeated here.
Another aspect of the present disclosure is directed to a non-transitory computer-readable medium. The non-transitory computer storage medium stores a computer program, which, when executed by the processor 12 of the robot control device 10, causes the processor 12 to perform the method for trajectory planning of the turning motion of the spider-type quadruped robot as discussed in the foregoing embodiments.
The computer-readable medium may include volatile or non-volatile, magnetic, semiconductor, tape, optical, removable, non-removable, or other types of computer-readable medium or computer-readable storage devices. For example, the computer-readable medium may be the storage device or the memory module having the computer instructions stored thereon, as disclosed. In some embodiments, the computer-readable medium may be, but is not limited to: a USB flash drive, a portable hard disk, a read-only memory (ROM), a random-access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
In summary, after the desired turning angle of the spider-type quadruped robot in the current gait cycle in the floating base coordinate system is obtained, the desired displacement of each support leg of the spider-type quadruped robot in the current gait cycle in the floating base coordinate system adapted to the body posture is calculated according to the desired turning angle. Then, discrete trajectory planning is performed in the floating base coordinate system according to the obtained desired displacement of each support leg, and the desired turning motion trajectory for each support leg of the spider-type quadruped robot in the current gait cycle in the floating base coordinate system is finally obtained. Thus, an appropriate turning motion trajectory for each support leg can be planned in real-time within a floating base coordinate system that adapts to the body posture during the motion of the spider-type quadruped robot, based on turning requirements. The planned turning trajectories for support legs ensure that the spider-type quadruped robot achieves smooth and rapid turning motion while maintaining body posture stability.
The foregoing description, for purpose of explanation, has been described with reference to specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated.
Number | Date | Country | Kind |
---|---|---|---|
202311072253.5 | Aug 2023 | CN | national |