[{"id":3699,"name":"6.3 Mecanum wheel movement","moduletypeid":634,"content":"<p style=\"white-space: normal; text-align: center;\"><span style=\"font-size: 24px;\"><strong><span style=\"font-family: Arial;\">5.1 Mecanum wheel movement principle<\/span><\/strong><\/span><\/p><p style=\"white-space: normal;\"><strong><span style=\"font-family: Arial; letter-spacing: 0px; background: rgb(255, 255, 255);\">1. Installlatio<\/span><\/strong><span style=\"font-family: Arial; letter-spacing: 0px; background: rgb(255, 255, 255);\">n of <\/span><span style=\"font-family: Arial;\">Mecanum wheel on Omniduino Robot car<\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">The only correct Mecanum wheel installation on the trolley should be [ABBA].<\/span><\/p><p style=\"white-space: normal;\"><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704017566599.png\" title=\"1573704017566599.png\" alt=\"image.png\" width=\"372\" height=\"345\"\/><span style=\"font-family: Arial;\"> <\/span><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704027657009.png\" title=\"1573704027657009.png\" alt=\"image.png\" width=\"375\" height=\"329\"\/><\/p><p style=\"white-space: normal; text-align: left;\"><img src=\"\/public\/ueditor\/php\/upload\/image\/20200519\/1589892526604166.png\" title=\"1589892526604166.png\" alt=\"image.png\"\/><span style=\"font-family: Arial;\"> <\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial; letter-spacing: 0px; font-weight: bold; background: rgb(255, 255, 255);\">2. <\/span><strong><span style=\"font-family: Arial; letter-spacing: 0px; background: rgb(255, 255, 255);\">Introduction<\/span><\/strong><strong><span style=\"font-family: Arial; letter-spacing: 0px; background: rgb(255, 255, 255);\"> of <\/span><\/strong><strong><span style=\"font-family: Arial;\">Mecanum wheel<\/span><\/strong><strong><span style=\"font-family: Arial; letter-spacing: 0px; background: rgb(255, 255, 255);\">:<\/span><\/strong><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">The Mecanum wheel is composed of a hub and a roller that surrounds the hub. The roller is a non-powered driven small roller. The angle between the Mecanum wheel roller axis and the hub axis is 45°. The Mecanum wheel contains two rounds of A and B that are mirror images of each other.<\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\"><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704087104266.png\" title=\"1573704087104266.png\" alt=\"image.png\" width=\"433\" height=\"475\"\/> <\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial; font-weight: bold;\">3. <\/span><strong><span style=\"font-family: Arial;\">Mecanum Wheel Motion Analysis:<\/span><\/strong><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">Mecanum wheel is divided into two types. When the A wheel moves forward, it also moves to the right, that is, obliquely to the right front. When the A wheel moves backwards, it also moves to the left, that is, obliquely to the left and rear. Similarly, the B wheel can be moved obliquely to the left front and the right rear.<\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">In all the courses, we take the front of the car as the positive direction, and the direction in which the wheel advances is the forward rotation of the motor, and the direction in which the wheel retreats is the motor reversal.<\/span><\/p><p style=\"white-space: normal;\"><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704102157539.png\" title=\"1573704102157539.png\" alt=\"image.png\" width=\"335\" height=\"305\"\/><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704114400152.png\" title=\"1573704114400152.png\" alt=\"image.png\" width=\"355\" height=\"305\"\/><span style=\"font-family: Arial;\"> <\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">For the A wheel, the roller does not provide the forward force due to rolling in the moving direction, and the roller cannot roll in the direction of the roller axis and rubs against the ground to generate friction in the axial direction of the roller, that is, obliquely to the right front or left rear direction, thus A The speed direction of the wheel is obliquely right front or left rear. <\/span><\/p><p style=\"white-space: normal;\"><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704129117360.png\" title=\"1573704129117360.png\" alt=\"image.png\" width=\"325\" height=\"331\"\/><span style=\"font-family: Arial;\">  <\/span><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704141121246.png\" title=\"1573704141121246.png\" alt=\"image.png\" width=\"330\" height=\"366\"\/><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">According to the physics knowledge, we can know that the direction of the car body movement depends on the speed direction of the four Mecanum wheels.<\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">Then the A wheel can be decomposed into axially rightward and vertical axial forward velocity components, or axially leftward and vertical axially backwards.<\/span><\/p><p style=\"white-space: normal;\"><strong><span style=\"font-family: Arial;\">About A wheel:<\/span><\/strong><\/p><p style=\"white-space: normal;\"><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704176474640.png\" title=\"1573704176474640.png\" alt=\"image.png\" width=\"305\" height=\"327\"\/><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704185139371.png\" title=\"1573704185139371.png\" alt=\"image.png\" width=\"325\" height=\"332\"\/><span style=\"font-family: Arial;\"> <\/span><\/p><p style=\"white-space: normal;\"><strong><span style=\"font-family: Arial;\">About B wheel:<\/span><\/strong><\/p><p style=\"white-space: normal;\"><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704208233662.png\" title=\"1573704208233662.png\" alt=\"image.png\" width=\"339\" height=\"340\"\/><span style=\"font-family: Arial;\"> <img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704229300706.png\" title=\"1573704229300706.png\" alt=\"image.png\" width=\"348\" height=\"343\"\/><\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial; font-weight: bold;\">4. <\/span><strong><span style=\"font-family: Arial;\">M<\/span><\/strong><strong><span style=\"font-family: Arial;\">otion analysis of the <\/span><\/strong><strong><span style=\"font-family: Arial;\">4 <\/span><\/strong><strong><span style=\"font-family: Arial;\">Mecanum wheel<\/span><\/strong><strong><span style=\"font-family: Arial;\">s<\/span><\/strong><strong><span style=\"font-family: Arial;\">:<\/span><\/strong><\/p><p style=\"white-space: normal;\"><strong><span style=\"font-family: Arial;\">Case 1--Forward\/Back<\/span><\/strong><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">When all four wheels are turned forward, the A wheel and B wheel can cancel each other's axial speed, leaving only the forward speed, so that the car will advance. back are the same principle.<\/span><\/p><p style=\"white-space: normal;\"><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704304108655.png\" title=\"1573704304108655.png\" alt=\"image.png\" width=\"399\" height=\"385\"\/><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704313139836.png\" title=\"1573704313139836.png\" alt=\"image.png\" width=\"365\" height=\"385\"\/><span style=\"font-family: Arial;\"> <\/span><\/p><p style=\"white-space: normal;\"><strong><span style=\"font-family: Arial;\">Case 2--Right translation<\/span><\/strong><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">When the A wheel forward and the B wheel reverse, the forward and backward speeds will be offset, leaving only the speed to the right, then the car will translate to the right.<\/span><\/p><p style=\"white-space: normal;\"><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704332168942.png\" title=\"1573704332168942.png\" alt=\"image.png\" width=\"425\" height=\"390\"\/><span style=\"font-family: Arial;\"> <\/span><\/p><p style=\"white-space: normal;\"><strong><span style=\"font-family: Arial;\">Case 3--Left translation<\/span><\/strong><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">When the A wheel reverse and the B wheel is forward, the forward and backward speeds will be offset, leaving only the speed to the left, then the car will translate to the left.<\/span><\/p><p style=\"white-space: normal;\"><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704344316886.png\" title=\"1573704344316886.png\" alt=\"image.png\" width=\"420\" height=\"399\"\/><span style=\"font-family: Arial;\"> <\/span><\/p><p style=\"white-space: normal;\"><strong><span style=\"font-family: Arial;\">Case 4--Spin Left\/Spin right<\/span><\/strong><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">When left wheel of the chassis rotates forward and the right wheel reverse, so that car can be rotated to the right;<\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">otherwise, the chassis will spin left.<\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">When left wheel of the chassis rotates reverse and the right wheel reverse forward, so that car can be rotated to the left. <\/span><\/p><p style=\"white-space: normal;\"><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704363788256.png\" title=\"1573704363788256.png\" alt=\"image.png\" width=\"362\" height=\"385\"\/><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704381179270.png\" title=\"1573704381179270.png\" alt=\"image.png\" width=\"383\" height=\"381\"\/><span style=\"font-family: Arial;\"> <\/span><\/p><p style=\"white-space: normal;\"><strong><span style=\"font-family: Arial;\">Case 5--Move to Right front\/Left rear<\/span><\/strong><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">When A wheel forward, B wheel stop, car will move to right front.<\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">When B wheel reserve, B wheel stop, car will move to left rear.<\/span><\/p><p style=\"white-space: normal;\"><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704403104877.png\" title=\"1573704403104877.png\" alt=\"image.png\" width=\"345\" height=\"365\"\/><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704519558337.png\" title=\"1573704519558337.png\" alt=\"image.png\" width=\"358\" height=\"365\"\/><span style=\"font-family: Arial;\"> <\/span><\/p><p style=\"white-space: normal;\"><strong><span style=\"font-family: Arial;\">Case 6--Move to Right front\/Left rear<\/span><\/strong><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">When A wheel stop, B wheel forward, car will move to left front.<\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">When B wheel stop, A wheel reserve, car will move to right rear.<\/span><\/p><p style=\"white-space: normal;\"><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704539532432.png\" title=\"1573704539532432.png\" alt=\"image.png\" width=\"362\" height=\"373\"\/><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704552125093.png\" title=\"1573704552125093.png\" alt=\"image.png\" width=\"363\" height=\"375\"\/><span style=\"font-family: Arial;\"> <\/span><\/p><p style=\"white-space: normal;\"><strong><span style=\"font-family: Arial;\">Case 7--Rotation around the midpoint of the axis<\/span><\/strong><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\"> <img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704617137499.png\" title=\"1573704617137499.png\" alt=\"image.png\" width=\"706\" height=\"386\"\/><\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\"><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704641865842.png\" title=\"1573704641865842.png\" alt=\"image.png\" width=\"710\" height=\"365\"\/><\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial; font-weight: bold;\">5. <\/span><strong><span style=\"font-family: Arial;\">The installation position of the Mecanum wheel<\/span><\/strong><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">In the previous section, we explained the installation combination of the wheat wheel. After the installation, the four wheels and the ground contact points are mainly square and rectangular.<\/span><\/p><p style=\"white-space: normal;\"><strong><span style=\"font-family: Arial;\">5<\/span><\/strong><strong><span style=\"font-family: Arial;\">.1 Square:<\/span><\/strong><span style=\"font-family: Arial;\"> Four wheels are located at the four vertices of the square, which can make translation and rotation can be done very well.<\/span><\/p><p style=\"white-space: normal;\"><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704663110742.png\" title=\"1573704663110742.png\" alt=\"image.png\" width=\"353\" height=\"326\"\/><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704672866229.png\" title=\"1573704672866229.png\" alt=\"image.png\" width=\"375\" height=\"326\"\/><span style=\"font-family: Arial;\"> <\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">The chassis of the Omniduino is designed for the installation of the Mecanum wheel and is the ideal chassis for the McDonald.<\/span><\/p><p style=\"white-space: normal;\"><strong><span style=\"font-family: Arial;\">5<\/span><\/strong><strong><span style=\"font-family: Arial;\">.2 Rectang<\/span><\/strong><strong><span style=\"font-family: Arial;\">le<\/span><\/strong><strong><span style=\"font-family: Arial;\">: <\/span><\/strong><span style=\"font-family: Arial;\">The rotation of the wheel can produce the Yaw axis rotation torque, and the torque arm of the rotation torque is also relatively long. It is the most common way to install.<\/span><\/p><p style=\"white-space: normal;\"><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704689243990.png\" title=\"1573704689243990.png\" alt=\"image.png\" width=\"344\" height=\"320\"\/><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704700231898.png\" title=\"1573704700231898.png\" alt=\"image.png\" width=\"438\" height=\"318\"\/><span style=\"font-family: Arial;\"> <\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\"> <\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">In the 3D system, assuming that the viewpoint is the origin, the viewpoint coordinate system is as shown in the following figure.<\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">The pitch is rotated about the X axis, also called the pitch angle;<\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">Yaw is rotated around the Y axis, also called yaw angle;<\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\">The roll is rotated around the Z axis, also called the roll angle.<\/span><\/p><p style=\"white-space: normal;\"><img src=\"http:\/\/www.yahboom.net\/public\/ueditor\/php\/upload\/image\/20191114\/1573704739771947.png\" title=\"1573704739771947.png\" alt=\"image.png\"\/><span style=\"font-family: Arial;\"> <\/span><\/p><p style=\"white-space: normal;\"><span style=\"font-family: Arial;\"><br\/><\/span><\/p><p style=\"white-space: normal; line-height: 1.75em;\"><font color=\"#333333\" face=\"宋体\"><span style=\"letter-spacing: 0.128px; background-color: rgb(255, 255, 255); font-family: arial, helvetica, sans-serif; font-size: 16px;\">Raspblock drive wheel movement API function:<\/span><\/font><\/p><p style=\"white-space: normal; line-height: 1.75em;\"><span style=\"color: rgb(255, 192, 0);\"><strong><span style=\"letter-spacing: 0.128px; background-color: rgb(255, 255, 255); font-family: arial, helvetica, sans-serif; font-size: 16px;\">Speed_Wheel_control(Speed_WheelA, Speed_WheelB, Speed_WheelC, Speed_WheelD)<\/span><\/strong><\/span><\/p><p style=\"white-space: normal; line-height: 1.75em;\"><span style=\"color: rgb(51, 51, 51); letter-spacing: 0.128px; background-color: rgb(255, 255, 255); font-family: arial, helvetica, sans-serif; font-size: 16px;\">Code path:<\/span><strong><span style=\"color: rgb(0, 176, 240);\"><em><span style=\"letter-spacing: 0.128px; background-color: rgb(255, 255, 255); font-family: arial, helvetica, sans-serif; font-size: 16px; text-decoration: underline;\"><span style=\"text-decoration: underline; font-size: 16px; letter-spacing: 0.128px; background-color: rgb(255, 255, 255); font-family: arial, helvetica, sans-serif; padding: 0px; margin: 0px; box-sizing: border-box;\">\/home\/pi\/<\/span>Yahboom_Project\/2.Hardware_Control_course\/3_Drive_Mecanum wheel.ipynb<\/span><\/em><\/span><\/strong><span style=\"color: rgb(51, 51, 51); font-family: 宋体; letter-spacing: 0.128px; background-color: rgb(255, 255, 255);\"><em style=\"padding: 0px; margin: 0px; box-sizing: border-box; color: rgb(51, 51, 51); font-family: \"Helvetica Neue\", NotoSansHans-Regular, AvenirNext-Regular, arial, \"Hiragino Sans GB\", \"Microsoft Yahei\", \"WenQuanYi Micro Hei\", serif; letter-spacing: 0.128px; white-space: normal; background-color: rgb(255, 255, 255);\"><span style=\"padding: 0px; margin: 0px; box-sizing: border-box; text-decoration-line: underline;\"><\/span><\/em><\/span><\/p><p><br\/><\/p>","videotype":2,"videoname_1":"``","videoname_2":"``","videoname_3":"``","videoname_4":"``","videoname_5":"``","videoname_6":"``","newimg":0,"dataurl":"","customurl":"","documentation_switch":"","classificationid":0,"paixu":3,"adddate":"1588988415"},[]]