# Case 01: Move Forward at Full Speed and Lateral Driving ## Purpose --- - Programme to make Wonder Rugged Kit move forward at full speed or drive laterally. ## Products Link [Wonder Rugged Car Kit](https://shop.elecfreaks.com/products/elecfreaks-micro-bit-wonder-rugged-car-kit-without-micro-bit-board) ## Background Knowledge --- ## Software --- [MicroSoft makecode](https://makecode.microbit.org/#) ## Program --- ### Step 1 Click "Advanced" in the drawer of MakeCode to see more choices. ![](./images/Mecanum_wheel_car_kit_case_01_01.png) For programming, we need to add a package. Click "Extensions" at the bottom of the drawer and then search "Wukong" in the dialogue box to download it. ![](./images/Mecanum_wheel_car_kit_case_01_02.png) ***Note:*** If you get a warning indicating some packages will be removed because of incompatibility issues, you can follow the prompts or create a new project in the menu. ### Step 2 Click `Wukong` to choose `mecanum ` block. ![](./images/Mecanum_wheel_car_kit_case_01_03.png) ### Step 3 Drag `mecanum` into `on start` block and set the connection for servos accordingly. ![](./images/Mecanum_wheel_car_kit_case_01_04.png) ### Step 4 Set the car moving left while pressing button`A` , right while pressing button `B` , forward while pressing `A+B` and stopping while `on logo down`. ![](./images/Mecanum_wheel_car_kit_case_01_05.png) ### Program Links: [https://makecode.microbit.org/_hmd77raCzXTd](https://makecode.microbit.org/_hmd77raCzXTd) You can also download it directly:
### Result The car moves left while pressing button`A` , right while pressing button `B` , forward while pressing `A+B` and stops while `on logo down`. ## Exploration --- ## FAQ --- ## Relevant Files ---