Download presentation
Presentation is loading. Please wait.
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
13
Jungle Kuben
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.
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.