TRANSCRIPTEnglish

KEIRO 107 - First Program, Object Avoidance

4m 6s401 words62 segmentsEnglish

FULL TRANSCRIPT

0:01

[Music]

0:04

hero 1:07 first program object avoidance

0:12

hello and welcome to another karo

0:15

tutorial video in this tutorial we will

0:18

create our first program objective

0:22

create a program that avoids obstacles

0:25

to achieve this we need to I our senses

0:28

one left and one right and two motors to

0:31

move the vehicle each sensor will send

0:34

our signal notifying the robot that an

0:36

obstacle has been detected on the

0:38

corresponding direction the robot will

0:41

then decide to change direction in order

0:43

to avoid it set up robot configuration

0:48

let's start by assigning the two motors

0:51

and two senses on ports through the

0:53

simulator the same ports should be used

0:56

with your riddle robot alternatively you

1:00

can load a robot from env row which will

1:02

configure the port's accordingly to the

1:04

selected robot but make sure your riddle

1:07

robot uses the same ports select a robot

1:11

and a map that matches your program

1:13

needs create the program let's start

1:17

programming the program should work by

1:20

applying four rules

1:28

one while none of the senses detect any

1:31

obstacle the robot should keep moving

1:39

forward - while only the left sensor

1:46

detects an obstacle then the robot

1:57

should be turning right three while only

2:06

the right sensor detects an obstacle

2:11

then the robot should be turning left

2:14

[Music]

2:23

for while both of the senses detect an

2:27

obstacle then the robot should be

2:30

turning to any direction let's say left

2:33

for this example test in env ro we can

2:41

test our program to make sure the

2:42

program works as required given that you

2:46

have already selected and loaded your

2:48

robot all you have to do is click play

2:50

and observe the results you can enable

2:56

visual and text feedback in order to get

2:59

live information from the simulation

3:01

[Music]

3:14

send program to device now that we are

3:18

happy with the results we are ready to

3:20

send it to the real robot connect the

3:23

engineer controller with your computer

3:25

using a USB cable and click connect when

3:29

it is connected click send and wait

3:31

until it is finished after it is

3:34

finished press play and observe the

3:36

results if you keep your robot connected

3:40

to the computer while playing live

3:42

readings from each component will be

3:44

displayed in the lower screen of the

3:45

simulator hope you found this tutorial

3:55

useful let us know what you think in the

3:58

comments section below bye bye for now

4:01

[Music]

UNLOCK MORE

Sign up free to access premium features

INTERACTIVE VIEWER

Watch the video with synced subtitles, adjustable overlay, and full playback control.

SIGN UP FREE TO UNLOCK

AI SUMMARY

Get an instant AI-generated summary of the video content, key points, and takeaways.

SIGN UP FREE TO UNLOCK

TRANSLATE

Translate the transcript to 100+ languages with one click. Download in any format.

SIGN UP FREE TO UNLOCK

MIND MAP

Visualize the transcript as an interactive mind map. Understand structure at a glance.

SIGN UP FREE TO UNLOCK

CHAT WITH TRANSCRIPT

Ask questions about the video content. Get answers powered by AI directly from the transcript.

SIGN UP FREE TO UNLOCK

GET MORE FROM YOUR TRANSCRIPTS

Sign up for free and unlock interactive viewer, AI summaries, translations, mind maps, and more. No credit card required.