![]() ![]() ![]() The steering trim is on the right thumbstick. If you are using the SPIKE Prime steering wheel, you can accelerate with the right flappy paddle, and reverse with the left one. They hog the USB port and prevent each other from working. Note that if you are using both MINDSTORMS and SPIKE, you can’t run both programs at the same time. You know when it has connected if the vehicle starts responding and if the transmitter shows the vehicle’s logo. If your vehicle program is still running, the remote control will connect right away. It’s a good idea to name your code something like ‘RC transmitter’ to remember what it does. Create another new Python project in the LEGO software on Mac/PC. ![]() There is another version that acts like a regular car RC transmitter with a trigger and a steer on the side. There is a version that uses the gyro in the hub to act as a steering wheel. Head over to GitHub again to copy the code for your remote control.The vehicle will now show a radar-like animation, waiting for remote control. After downloading and running, you can disconnect the USB cable. I prefer to download the code over a USB connection. Paste the code and run it on the vehicle.Name the project something like ‘rc vehicle’ to remember what it does. It can be the MINDSTORMS or SPIKE Prime app, dependent on your hub. Create a new Python project in the LEGO software on desktop.The car code is for robots with pivoting front wheels and rear-wheel propulsion. The tank is for robots with a motor on each side. Head over to GitHub to copy the code for your vehicle.Ĭhoose from either the tank code or the car code.Of course, you can invent your own robot too, but then you’ll have to adapt the code. If you download the Hot Rod, make sure to build the version with the geared-down steering. Just slap two motors and a caster wheel on a hub, or build this Hot Rod with differential gear. I have a Robot Inventor remote control and Spike Prime Steering Wheel for which you can copy-paste the code. If you don’t like to code, I advise you to use one of my models. This tutorial shows how to connect SPIKE Prime or MINDSTORMS Robot Inventor LEGO hubs for remote controlling a vehicle or robot. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |