Skip to main content

Posts

Showing posts with the label behaviour

Robots behaving...

Reblogged from:  http://scott-ltattempts.blogspot.co.uk/2011/05/robot-behaviours.html Behaviour based robots was used in the teaching as way of getting the students to think out AI a little deeper and in particular  Do we need Human Level intelligence ? or rather  Do we  always  need to aim for Human Level Intelligence? Lego Mindstorms robot are a good vehicle for students to start trying out idea around behaviour-based robotics. They are inexpensive, programmable and with the  LeJOS  software installed on them; have behaviours built into the programming which is done in Java. A good example to use comes from Bagnall's book (B Bagnall (2002) Core Lego Mindstorms:  Programming the RCX in Java , ISBN:  978-0130093646) code 1: HitWall //Taken from Bagnall (2002) import josx.robotics.*; import josx.platform.rcx.*; public class HitWall implements Behavior { public boolean takeControl() { return Sensor.S2.readBooleanVal...