Hi this is the instructions and programming for the lego car.
Compare how the rover vehicle drives steers when you use the generator steering (Steer_Power program) vs. the program-controlled steering (Steer Motor program). Can you tell the difference? Hint: Try turning the steering wheel both slowly and quickly. What do you think causes this difference? Hint: An electric generator is not 100% efficient, and some electricity is lost.
When you steer sharply to one side, you will notice that the vehicle doesn't turn very well, and the front wheels might start to slide sideways. Why do you think this is? Imagine drawing circular paths that all four wheels are trying to follow to make a sharp turn. What is preventing them from following the ideal circular paths? If you remove the blue peg in the front steering lever, which is designed to limit the steering angle, you can make the vehicle try to steer even sharper, which will make the problem even more visible. There are actually two problems causing this, as explained in the next two challenges.
One problem with the design that makes sharp turns not work well is that the rear wheels are both forced to go the same speed due to the solid axle connecting them. When making a turn, the outside wheel needs to rotate faster than the inside wheel to prevent slipping, but the solid axle prevents this, and the back wheels going the same rate makes the vehicle resist turning. Real cars use a differential to solve this problem. There is actually a LEGO Technic part designed for this, shown below with the gears and axles in place that make it work for this solution. If you have this part, you can try modifying the vehicle to add it. The rear wheel drive motor will want to drive one of the two gears integrated into the gray differential housing instead of either axle.
It is also possible but tricky to make your own differential out of other Technic parts. If you search the internet you may find pictures of various designs that people have used.
The second problem affecting the steering is with the front wheels. Although the front wheels are free to turn at different rates, the parallel arm steering mechanism on this vehicle makes both wheels turn at the same angle, but this is not what you want for a sharp turn. If you steer at a sharp angle and look at the front wheels, you will see that they are not pointing at the correct angles to track around the proper circular paths needed. The inside wheel needs to turn at a greater angle so that it can lead the inside wheel around a circle of a smaller radius than the outside wheel. A solution to this is called Ackermann steering, which is also used in various forms in real cars. Achieving this with lego is very tricky, but if you search for lego Ackermann steering you will find some ideas.Using the steering mechanism for this vehicle, can you design your own autonomous (not remote controlled) vehicle complete with the NXT brick that steers with program control?
NXT project programming.
Click here for info.
Participated in the