car.throttle_gain is the throttle gain, which can indicate the maximum speed at which the car can move.car.throttle is the throttle size, the range is, 0 means stop, 1 means forward at maximum speed, -1 means backward at maximum speed, after modifying the secondary value and running the program, the rear wheel will turn.When car.steering = 0, when the car does not run in a straight line, you can adjust the length of the steering rod or modify the value of the initial steering displacement to make the car go straight. The initial steering displacement car.steering_offset can represent the initial offset of the wheels.The steering gain car.steering_gain can represent the maximum angle the wheel can turn.After running this program, the steering gain car.steering_gain and the steering initial displacement car.steering_offset will be output.Change the wheel to different directions to different values, the value range is 0 means forward, 1 means the wheel goes to the far left, -1 means the wheel goes to the far right. When running the statement car.steering = 0, the car steering will turn.Read the notes carefully to understand the program functions. There are detailed program notes in the text. You can run a single-segment program by clicking Run->Run Select Cells or clicking the Run shortcut icon ▶. Files with lpynb suffix are lpython Notebook files, including comment text and python programs.Enter in the browser address bar to connect to the car, open /jetracer/notebooks/ on the left side.You need to launch a new Terminal and enter following commands to select 5W power mode. ![]() To ensure that the Jetson Nano doesn't draw more current than the battery pack can supply, place the Jetson Nano in 5W mode by calling the following command
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |