본문 바로가기

LEGO Technic : 레고 공학

Wheel Teleoperation

HUB Tilt Sensor

The basic principle of the program is to measure the movement of the HUB as the momentum for the direction and use it as the input value of the motor.

Tilt Sensor Interface

(4) and (5) connect the Gyro Tilt angle value to the motor. If you want to increase the sensitivity according to the movement of the HUB, you can modify the multiplier to a higher number. The wheel will move faster.

 

Sensor Calibration

If there is no motion in the HUB but the wheels move, there is a sensor error. Or in the opposite case, execute.

Calibration Block Program

When the HUB button turns red, do not move it and wait until it turns green. can then be used. Red indicates that calibration is required and is performed for approximately 3 seconds.
(2) If the sensor is not calibrated, the angle value is output as 0. That is, the wheels do not move.
(7) Calibration proceeds automatically for 3 seconds when the angular velocity becomes 0. At this time, the HUB must not be moved.