Sumários

Driving a race car

25 Março 2022, 15:00 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.


Movement and Navigation

25 Março 2022, 13:00 Luis Manuel Ferreira Fernandes Moniz

Path  planning algorithms; Path optimization; Hierarchical and continuous  planning of journeys; Simple movement; Steering Behaviors; Moving avoiding collisions; Prediction of physical effects; Movement in formation; Driving a Vehicle


Moving characters

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

Using the  flock  example (you can use another example), implement the steering behaviours to control the flock movement.

Development:

Let's do this in phases, in a first step:

  1. The Guy behaviour should implement the rules of flocking
    1. complete the ###TODO in Guy class (cohesion, separation, go to objective (self.parent.goal))
  2. The pack follows a path given by the user
    1. successive clicks with the mouse define a list of points = path.
  3. The cohesion / separation of the flock depends on the distance to the target.
    1. Dynamic distances 
  4. Develop behaviour arrive;
    1. reduce speed according to the goal distance
  5. Identify a leader, remaining flock just follows the leader.
    1. the leader is the closest one to the objective
  6. Develop the alignbehaviour.


Moving characters

18 Março 2022, 15:00 Luis Manuel Ferreira Fernandes Moniz

Using the  flock  example (you can use another example), implement the steering behaviours to control the flock movement.

Development:

Let's do this in phases, in a first step:

  1. The Guy behaviour should implement the rules of flocking
    1. complete the ###TODO in Guy class (cohesion, separation, go to objective (self.parent.goal))
  2. The pack follows a path given by the user
    1. successive clicks with the mouse define a list of points = path.
  3. The cohesion / separation of the flock depends on the distance to the target.
    1. Dynamic distances 
  4. Develop behaviour arrive;
    1. reduce speed according to the goal distance
  5. Identify a leader, remaining flock just follows the leader.
    1. the leader is the closest one to the objective
  6. Develop the alignbehaviour.


Movement and Navigation

18 Março 2022, 13:00 Luis Manuel Ferreira Fernandes Moniz

Path  planning algorithms; Path optimization; Hierarchical and continuous  planning of journeys; Simple movement; Steering Behaviors; Moving avoiding collisions; Prediction of physical effects; Movement in formation; Driving a Vehicle