Presentation is loading. Please wait.

Presentation is loading. Please wait.

Real time operating system

Similar presentations


Presentation on theme: "Real time operating system"— Presentation transcript:

1

2 Real time operating system
Processes/threads sensors actuators Real time operating system

3 Real time operating system
Arbitration Touch Turn Wander actuators Real time operating system

4 PlaySound S AvoidFront S RandomDrive Motors LCD

5 Ghost control program StayOnWhite Avoid black/white sensors touch

6

7

8

9

10

11

12

13 Jungle Kuben

14

15

16

17

18

19 Antennas Two bend sensors connected to the same port. Raw value interpreted as NoBend or Bend

20 A bumper activates a touch sensor.
There are four touch sensors connected to one port. The touch sensors are modified to have different resistance when pressed so that it is possible to Identify the bumper that is activated.

21 A magnetic speaker is connected to an output port. Carefully timed sequences of on/off commands produce square waves with different periods and duty cycles. This is used to make musical/signal sounds through the speaker.

22

23

24 locomotion behavior control main sound real time scheduler

25 Level triggered Edge triggered Priority triggered ! cond cond ! cond
! cond & ! active cond ! cond & active Priority triggered ! cond & ! active cond ! cond & active

26 Lesson 9 leJOS Behavior API

27

28

29

30

31

32

33

34


Download ppt "Real time operating system"

Similar presentations


Ads by Google