Presentation is loading. Please wait.

Presentation is loading. Please wait.

Response actuatorcontrol program analog quantity, e.g. pulse train digital quantity, e.g. power % interface stimuli sensorcontrol program analog quantity,

Similar presentations


Presentation on theme: "Response actuatorcontrol program analog quantity, e.g. pulse train digital quantity, e.g. power % interface stimuli sensorcontrol program analog quantity,"— Presentation transcript:

1 response actuatorcontrol program analog quantity, e.g. pulse train digital quantity, e.g. power % interface stimuli sensorcontrol program analog quantity, e.g. light digital quantity, e.g. light % interface Sequential and Reactive Strategies sensor spaceactuator space

2

3

4 Sequential Strategy

5

6

7

8

9

10

11

12

13 Reactive Strategy

14

15

16 sensors actuators Real time operating system Processes/threads

17 actuators Real time operating system Arbitration Touch Turn Wander

18 Embedded Java The leJOS API classes provide real time events, sensor events and threads: TimerListener SensorListener Thread Timer

19

20

21

22

23

24

25

26

27 a simple round robin 2ms time slice for threads of equal priority...

28 RunnableNon-Runnable suspend() resume() yield() Running dispatch suspend() start() stop(), or run() returns sleep() Alive

29

30

31 Line following

32

33 A PID Controller For Lego Mindstorms Robots

34


Download ppt "Response actuatorcontrol program analog quantity, e.g. pulse train digital quantity, e.g. power % interface stimuli sensorcontrol program analog quantity,"

Similar presentations


Ads by Google