Newer
Older
//
// Created by philipp on 12.02.18.
//
#ifndef CAR_PLATOONCONTROLLER_H
#define CAR_PLATOONCONTROLLER_H
#include "PlatoonProtocolLib/VehicleFacade.h"
#include "PC2CarLib/CommandReceiver.h"
#include "EgoMotion.h"
// these value need to be stored and atomic, since they will be pulled from other modules
PlatoonState curState = PlatoonState::ACC;
platoonProtocol::PlatoonConfig platoonConfig; // TODO needs to be removed, once C2C returns TimedValues
// void updateC2cConfig(); // once C2C returns TimedValues
networking::time::TimedValue<platoonProtocol::PlatoonSpeed> PS{0.0f};
networking::time::TimedValue<platoonProtocol::InnerPlatoonDistance> IPD{0.0f};