... | @@ -12,7 +12,7 @@ |
... | @@ -12,7 +12,7 @@ |
|
|
|
|
|
## BumperCar - Initial Research
|
|
## BumperCar - Initial Research
|
|
|
|
|
|
###Task 1
|
|
### Task 1
|
|
As an example of a behavior-based control program the leJOS NXJ distribution contains a BumperCar program. It consists of two behaviors DriveForward and DetectWall both implementing the interface Behavior and a main program BumperCar that uses an instance of the class Arbitrator to control the activation of the two behaviors.
|
|
As an example of a behavior-based control program the leJOS NXJ distribution contains a BumperCar program. It consists of two behaviors DriveForward and DetectWall both implementing the interface Behavior and a main program BumperCar that uses an instance of the class Arbitrator to control the activation of the two behaviors.
|
|
|
|
|
|
First, make BumperCar run the base sumo wrestler driving base mounted with a bumper and an ultrasonic sensor.
|
|
First, make BumperCar run the base sumo wrestler driving base mounted with a bumper and an ultrasonic sensor.
|
... | | ... | |