EasyManua.ls Logo

Makeblock RGB Line Follower - Page 4

Makeblock RGB Line Follower
5 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
(1) The meanings of the coding blocks in mBlock are as shown in Figure 4.
statement blocks
Description
Parameter 1: the port of the main
board connected to the RGB Line
Follower;
Parameter 2: channel, any one can
be chosen when using one RGB
Line Follower.
Parameter 3: Line following
sensitivity Kp, the sensitivity is
used to adjust the response speed
in line following. The greater the
value, the more sensitive turning.
Value blocks: The value blocks
are used to assess deviations of the
sensor from the racetrack, with a
range of -512~512. A value above
0 indicates the sensor leans
forward the left side while a value
below 0 indicates the sensor leans
forward the right side.
Parameter 1: the port of the main
board connected to the RGB Line
Follower;
Parameter 2: channel, any one can
be chosen when using one RGB
Line Follower.
Parameter 1: the port of the main
board connected to the RGB Line
Follower;
Parameter 2: channel, any one can
be chosen when using one RGB
Line Follower.
Parameter 3: The feedback status
of the four receiving tubes on the
Line Follower. 0 indicates that the
current receiving tube is on the
track, 1 indicates that the current
receiving tube is on the
background color. There are a
total of 16 free combined states
for the four receiving tubes.
Obtain the learning status of RGB