Autopysta
Loading...
Searching...
No Matches
vehicle.h File Reference

Defines the road_object, vehicle, and fixed_object classes used to represent objects on the road. More...

#include "point.h"
#include "trajectory.h"
#include "model.h"
#include "example_car.h"
#include "Exception.h"
#include <queue>

Go to the source code of this file.

Classes

class  road_object
 Abstract base class representing any object on the road. More...
 
class  vehicle
 Class representing a moving vehicle on the road. More...
 
class  fixed_object
 Class representing a fixed object on the road. More...
 

Detailed Description

Defines the road_object, vehicle, and fixed_object classes used to represent objects on the road.

Author
Rafael Delpiano.
Date
11 Dec 2019

This file contains the definitions for the road_object class and its derived classes, vehicle and fixed_object. These classes are used to model moving vehicles and static objects on a road, along with their trajectories. The vehicle class provides multiple constructors for defining vehicles based on different types of input such as position history or models.