Sumários

Architectures and Behaviours

8 Abril 2022, 13:00 Luis Manuel Ferreira Fernandes Moniz

Decision trees; Finite state machines; Behavior Trees; Goal-oriented behaviors; Rules-based behaviors; Fuzzy architectures; Modeling with scripting languages; Tactical Analysis and Group Behaviors


Decision trees and driving

1 Abril 2022, 16:30 Luis Manuel Ferreira Fernandes Moniz

Objective: Use Decision Trees to control the car behaviour on the track.

  1. Run the Decision Trees examples (DecisionTrees.zip)
  2. Remake the car example and incorporate the DT in the decision process of your car. 

Note:

  • Replace your AbstractCar class with this.
  • Add draw_sensors(win) to your car draw(self,win) function.
  • Use the information in the list self.sensors to check collisions (the order is  [front,left,right,back] with the track colour)


Decision trees and driving

1 Abril 2022, 15:00 Luis Manuel Ferreira Fernandes Moniz

Objective: Use Decision Trees to control the car behaviour on the track.

  1. Run the Decision Trees examples (DecisionTrees.zip)
  2. Remake the car example and incorporate the DT in the decision process of your car. 

Note:

  • Replace your AbstractCar class with this.
  • Add draw_sensors(win) to your car draw(self,win) function.
  • Use the information in the list self.sensors to check collisions (the order is  [front,left,right,back] with the track colour)


Architectures and Behaviours

1 Abril 2022, 13:00 Luis Manuel Ferreira Fernandes Moniz

Decision trees; Finite state machines; Behavior Trees; Goal-oriented behaviors; Rules-based behaviors; Fuzzy architectures; Modeling with scripting languages; Tactical Analysis and Group Behaviors


Driving a race car

25 Março 2022, 16:30 Luis Manuel Ferreira Fernandes Moniz

The objective of this project is to develop the behavior that make the car to complete the track, avoiding obstacles whenever possible.

Although long, the code is relatively simple, the file race.py controls the movement of the vehicle, and you should simply redo the move methods in the AICar classs.
Many of the original funcionalities of the program have been removed and some new ones added (values ​​in the upper left-hand display).

To launch the program just execute the race.py file.